question and Outcomes, Unix-second Market times, and trading parameters. Neither endpoint requires authentication.
Production Base URL:
Query a Market
By Market ID:cURL
cURL
Market detail response
ID and slug lookups both return MarketDetail. This example shows common fields; useoutcomes[].token_id for Token price and order-book requests.
Example
See Get Market for ID lookups and Get Market by Slug for slug lookups.
Using Outcome Tokens
After obtaining a Token ID fromoutcomes[].token_id, you can call the price, Ticker, and order-book endpoints:
cURL
outcomes array, so no additional parsing of JSON-string Token lists is required.
Query the Parent Event
Use the returnedevent_id to query the parent Event:
cURL