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
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Changes
No recorded changes to this operation across all 2 revisions of this API.