cURL
curl --request GET \ --url https://api.entityml.com/api/v1/market/data \ --header 'Authorization: <authorization>'
{ "market_condition_id": "<string>", "date": "<string>", "data_count": 123, "data": [ { "market": "<string>", "asset_id": "<string>", "timestamp": "<string>", "hash": "<string>", "event_type": "<string>", "bids": [ {} ], "asks": [ {} ], "changes": [ {} ], "received_at": 123 } ] }
Retrieve order book and price change data for a specific market condition on a given date.
Bearer YOUR_API_KEY
YYYY-MM-DD
2025-02-08
0x
Show Event fields
"book"
"price_change"
price
size
side
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.entityml.com/api/v1/market/data?condition_id=0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515&date=2025-09-03"
{ "market_condition_id": "0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515", "date": "2025-09-03", "data_count": 803, "data": [ { "market": "0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515", "asset_id": "97684905927345553455494278582909124912046930226695064344571162061840768197777", "timestamp": "1756876719390", "hash": "00dc3336e59feb0bd4974390e62287b3d1c59c3b", "bids": [ { "price": "0.01", "size": "1000" }, { "price": "0.02", "size": "5" } ], "asks": [ { "price": "0.99", "size": "310000" }, { "price": "0.98", "size": "60010.94" }, { "price": "0.97", "size": "10.41" } ], "event_type": "book", "received_at": 1756877357936 }, { "asset_id": "97684905927345553455494278582909124912046930226695064344571162061840768197777", "changes": [ { "price": "0.02", "side": "BUY", "size": "0" } ], "event_type": "price_change", "hash": "56bb09006ea4691106084133fc430d05c45304ce", "market": "0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515", "timestamp": "1756877439011", "received_at": 1756877439060 } ] }