TradePortfolio

Outcome Metadata

Dev

GET /hip4-analytics/outcome-meta


Merged metadata for all HIP-4 outcome markets — live outcomes from Hyperliquid's API combined with archived markets stored in the Loris database. Returns market labels, descriptions, and state. Use it to populate outcome market selectors, build a market directory, or resolve outcome IDs to human-readable names.

Authentication

Requires Dev tier or higher. Free tier does not have access (returns 403). The Loris website calls this endpoint server-side for trade page and HIP-4 UI population.

Parameters

This endpoint takes no parameters.

Example request

bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  https://api.loris.tools/hip4-analytics/outcome-meta

Example response

json
{
  "outcomes": [
    {
      "outcome_id": 1,
      "title": "BTC above $100k by end of 2026?",
      "description": "Resolves YES if BTC closes above $100,000 on December 31, 2026.",
      "status": "active",
      "created_at": "2026-01-01T00:00:00Z"
    },
    {
      "outcome_id": 2,
      "title": "ETH above $10k by end of 2026?",
      "description": "Resolves YES if ETH closes above $10,000 on December 31, 2026.",
      "status": "active",
      "created_at": "2026-01-01T00:00:00Z"
    }
  ],
  "total": 24
}

Errors

  • 403 Free tier does not have access. Upgrade to Dev.

For authentication errors (401) and rate limit responses (429), see Errors.

Related