Skip to main content

get_ohlc

get_ohlc

Path Parameters
base string REQUIRED

Base Asset

quote string REQUIRED

Quote Asset

timestamp int64 REQUIRED

The unix timestamp in seconds. This endpoint will return the first update whose timestamp is <= the provided value.

Example: 1717632000
interval string REQUIRED

Possible values: [1min, 15min, 1h, 2h]

routing boolean REQUIRED
aggregation string REQUIRED

Possible values: [median, mean, twap]

Responses
200

Get OHLC data successfuly

Schema OPTIONAL
object[]
data (circular)[]
pair_id string