Skip to main content
GET
Get pool OHLCV

Authorizations

Authorization
string
header
required

Session JWT (browsers receive it as an httpOnly cookie from POST /auth/verify; 15 min, silently renewed via POST /auth/refresh), or a long-lived API token (ss_…) minted at POST /api-tokens. API tokens work on data and trading endpoints and can request WebSocket tickets; token management and admin endpoints accept session JWTs only.

Path Parameters

key
string
required

Pool key

Query Parameters

granularity
enum<string>
required

Candle bucket

Available options:
1m,
5m,
15m,
30m,
1h,
6h,
12h,
1d
from
integer<int64>
required

Inclusive unix-second start

to
integer<int64>
required

Exclusive unix-second end

orientation
string

raw (default) keeps stored token1-per-token0 prices; display inverts candles when the pool's canonical display orientation is flipped

Response

OHLCV candles for the range

data
object[]
required