Skip to main content
POST
OHLC candles

Body

application/json
pair
string
required

Trading pair as BASE-QUOTE, e.g. BTC-USD or FTSE-GBP

Pattern: ^[A-Z0-9]+-[A-Z0-9]+$
fromTimestampSeconds
integer
required

Range start as Unix seconds (not milliseconds)

toTimestampSeconds
integer
required

Range end as Unix seconds (not milliseconds)

resolution
string
required

Candle width in minutes (e.g. "1", "60"), or "1D" / "1W"

Required string length: 1 - 10

Response

Candles in ascending time order

data
object[]
required
lastRequestTimestamp
integer | null
required

Pagination cursor; null when not applicable