ohlcv

Retrieve OHLCV data corresponding to a baseToken and a quoteToken

Return all ticks in an array

get/ohlcv

Request

Query parameters

baseTokenstring required

Base token address

quoteTokenstring required

Quote token address

timeIntervalstring required

Time interval, candle size. Valid values: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 1w, 1mo (1 month)

fromstring required

the beginning timestamp (number of seconds from 1970/01/01) from which ohlcv data has to be queried

tostring required

the ending timestamp ((number of seconds from 1970/01/01)) until which ohlcv data has to be queried

Response

successful operation

openstring
highstring
lowinteger
closestring
volumestring
countstring
timestampstring

Changes

No recorded changes to this operation across all 15 revisions of this API.