cURL
curl --request GET \ --url https://api.agg.market/orderbook/{marketId}/history \ --header 'x-app-id: <api-key>'
{ "marketId": "<string>", "points": [ { "timestamp": 123, "midpoint": 123, "bestBid": 123, "bestAsk": 123, "spread": 123, "volume": 123 } ] }
Returns aggregated price history bucketed by interval (minutes, default 5). Includes midpoint, spread, best bid/ask per bucket.
Your application ID. Required for all app-tier and user-tier routes.
x >= 1
200
Show child attributes