Fetch the CLOB order book for a market outcome.
Returns bids and asks with configurable depth. Requires a valid token_id in the cache (from the price enrichment data).
cURL
curl --request GET \ --url https://staging-api.polysimulator.com/v1/markets/{condition_id}/book \ --header 'X-API-Key: <x-api-key>'
{ "token_id": "<string>", "bids": [], "asks": [], "timestamp": "<string>", "spread": "<string>", "mid": "<string>" }
Your PolySimulator API key
Outcome to get book for
Number of levels
1 <= x <= 50
Successful Response
Show child attributes
Was this page helpful?