get https://open-api-v4.coinglass.com/api/futures/orderbook/aggregated-ask-bids-history
This endpoint provides historical data of the aggregated order book for futures trading, including total bid/ask volumes within a specific price range.
This endpoint is available on the following API plans:
Plans | Hobbyist | Startup | Standard | Professional | Enterprise |
---|---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ | ✅ |
interval Limit | >=4h | >=30m | No Limit | No Limit | No Limit |
Response Data
{
"code": "0",
"msg": "success",
"data": [
{
"aggregated_bids_usd": 12679537.0806, // Aggregated long amount (USD)
"aggregated_bids_quantity": 197.99861, // Aggregated long quantity
"aggregated_asks_usd": 10985519.9268, // Aggregated short amount (USD)
"aggregated_asks_quantity": 170.382, // Aggregated short quantity
"time": 1714003200000 // Timestamp (milliseconds)
},
{
"aggregated_bids_usd": 18423845.1947,
"aggregated_bids_quantity": 265.483,
"aggregated_asks_usd": 17384271.5521,
"aggregated_asks_quantity": 240.785,
"time": 1714089600000
}
]
}