get_ohlc
GET/node/v1/aggregation/candlestick/:base/:quote
get_ohlc
Request
Path Parameters
base stringrequired
Base Asset
quote stringrequired
Quote Asset
Query Parameters
timestamp any
The unix timestamp in seconds. This endpoint will return the first update whose timestamp is <= the provided value.
interval any
routing boolean
aggregation any
entry_type any
expiry string
Responses
- 200
Get OHLC data successfuly
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
data object[]required
close int64required
high int64required
low int64required
open int64required
time date-timerequired
pair_id stringrequired
[
{
"data": [
{
"close": 0,
"high": 0,
"low": 0,
"open": 0,
"time": "2024-08-27T14:42:24.879Z"
}
],
"pair_id": "string"
}
]
Loading...