Skip to main content
GET
OHLCV candles

Authorizations

X-API-Key
string
header
required

Path Parameters

address
string
default:u8tnfCb1JSSghuNFquQ2beStYgAN1kmd1f1Lhxbaec4
required

Market address.

Query Parameters

resolution
enum<string>
required

Bar size in minutes, or D/W/M.

Available options:
1,
5,
15,
30,
60,
240,
D,
W,
M
from
integer<int64>
required

Window start, inclusive (unix seconds).

to
integer<int64>
required

Window end, exclusive (unix seconds).

limit
integer<int32>
default:500

Maximum bars. Clamped to 2000.

price_source
enum<string>
default:trade

Bar source. Note: snake_case.

Available options:
trade,
mid

Response

Candles, ascending by time.

TradingView-compatible candles.

bars
object[]
required

Ascending by time.

nextTime
integer<int64> | null

When no bars fall in the requested window, the time of the nearest earlier bar, so a client can jump its next request back instead of paging through empty ranges. Null otherwise.