outcomes[].token_id through Discover Markets or Market Details, then use the Token ID to query price and liquidity data.
All endpoints on this page are public market-data endpoints and do not require authentication. Production Base URL:
Order Book
cURL
depth is optional and defaults to at most 20 levels per side. You can request 1–100 levels; the actual levels are in bids and asks.
Example
The API does not fill
timestamp or hash with response time or estimated values. When depth truncates the book, a returned hash still identifies the source’s full snapshot.
The current API does not provide a batch Order Book endpoint. If you need order books for multiple Tokens, request them separately.
Latest Token Price
cURL
price is this Outcome Token’s latest trade price, not its best bid or ask. When no usable trade is available, price and side are "", and timestamp is null.
Token Ticker
cURL
last_price, best_bid, and best_ask are the latest trade price, best bid, and best ask. An unavailable component is null. timestamp is the latest reliable source time among the returned prices; it is null when no such time exists and is not the response time.
Batch Token Prices
Query comma-separated Token IDs. A single request supports up to 100 distinct Tokens:cURL
price is "" and timestamp is null.
Price History
cURL
interval, from, and to are required. The maximum time range for one query is 14 days. In the response, t is Unix milliseconds and p is a decimal price string.