Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get current outcome token prices

GET /api/v1/market-data/prices

Get current outcome token prices

get

Returns current price data for one or more outcome tokens in a market. Supports single lookup (token ID or Outcome Index), batch lookup (token IDs or Outcome Indices, max 50), or all outcomes for a market when no token param is given. Use projection=midpoint for a lightweight midpoint-only response.

Query parameters
marketstringRequired

Market contract address

token_idstringOptional

Single outcome token ID (mutually exclusive with outcome_index and batch params)

outcome_indexintegerOptional

Single outcome index 0-based (mutually exclusive with token_id and batch params)

token_idsstringOptional

Comma-separated outcome token IDs for batch lookup (max 50)

outcome_indicesstringOptional

Comma-separated outcome indices 0-based for batch lookup (max 50)

projectionstringOptional

Response shape: full (default) or midpoint

Responses
200

OK

application/json
marketstringOptional
mintedQuantitynumberOptional
outcomestringOptional
outcomeCapnumberOptional
pricenumberOptional
tokenIdstringOptional
totalMarketCapnumberOptional
updatedAtstringOptional
get/api/v1/market-data/prices
GET /api/v1/market-data/prices?market=text HTTP/1.1
Host: rest.ft.42.space/
Accept: */*
[
  {
    "market": "text",
    "mintedQuantity": 1,
    "outcome": "text",
    "outcomeCap": 1,
    "price": 1,
    "tokenId": "text",
    "totalMarketCap": 1,
    "updatedAt": "text"
  }
]

Last updated