v1

latestOpenAPI 3.0.02026-07-2471143147.5 KB
Markets

Get trading view data by market ID

Get trading view OHLCV data for charting by numeric market ID

get/v1/markets/id/{market_id}/trading-view-data

Path parameters

market_idstring int64 required

Numeric market ID. Use GetMarkets to get the list of available market IDs.

Query parameters

intervalstring int64

Duration per tick in nanoseconds. If not set, defaults to 1 hour

fromstring int64

Start time in nanoseconds. If not set, defaults to now() - 1 hour

tostring int64

End time in nanoseconds. If not set, defaults to now()

Response

A successful response.