RESTза успешный вызов$0.002 / вызов
GET /api/v1/open-interest/history-aggregated
Open Interest history (aggregated) — Historical Open Interest time series for a single token, broken down per exchange and aggregated to a fixed bucket (avg within bucket). The default lookback depends on the requested interval — 7 days for 1h, 30 days for 4h, 1 year for 1d — so callers don't have to hand-tune from/to for typical queries. The response also includes token metadata (icon, symbol, name) so a single call paints the whole header strip.
Открытый интересУровень «Агрегаты»4 параметра
curl "https://api.datamaxiplus.com/api/v1/open-interest/history-aggregated?token_id=bitcoin&interval=1h&from=1776000000000&to=1776900000000" \ -H "X-DTMX-APIKEY: $DATAMAXI_API_KEY"
РезультатПример
| Строка | oi |
|---|---|
| #1 | 3 728 |
| #2 | 1 473 |