GET /api/v1/events/asset-timeframes/{symbol}
Get all available loop event timeframes for a crypto asset. Returns the list of active loop events grouped by interval duration for the given trading pair symbol.
Authentication​
None -- Public endpoint.
Request​
| Parameter | Type | In | Description |
|---|---|---|---|
symbol | string | path | Trading pair symbol (e.g. BTCUSDT, ETHUSDT, SOLUSDT) |
Example​
curl https://api.intotes.com/api/v1/events/asset-timeframes/BTCUSDT
Response​
200 OK​
[
{
"event_id": 1,
"loop_interval_minutes": 5,
"name": "BTC 5m",
"name_ru": "BTC 5 мин"
},
{
"event_id": 2,
"loop_interval_minutes": 60,
"name": "BTC 1h",
"name_ru": "BTC 1 ч"
},
{
"event_id": 3,
"loop_interval_minutes": 1440,
"name": "BTC 1d",
"name_ru": "BTC 1 д"
}
]
Returns an empty array [] if no loop events exist for the given symbol.
400 Bad Request​
{
"error": "invalid symbol"
}