v1

latestOpenAPI 3.0.02026-07-2471143147.5 KB
Markets

[Deprecated] Get trading view data by product name

[DEPRECATED - use /v1/markets/id/{market_id}/trading-view-data] Get trading view OHLCV data for charting

get/v1/trading-view-data

Query parameters

product_idstring

[DEPRECATED - use market_id] Product ID, e.g. BTC-PERP, ETH-PERP

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()

market_idstring int64

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

Response

A successful response.