v1

latestOpenAPI 3.0.1Apache-2.02026-07-17105189262.9 KB
Default

Crypto Candles

Get candlestick data for crypto symbols.

get/crypto/candle

Query parameters

symbolstring required

Use symbol returned in <code>/crypto/symbol</code> endpoint for this field.

resolutionstring required

Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.

frominteger required

UNIX timestamp. Interval initial value.

tointeger required

UNIX timestamp. Interval end value.

Response

successful operation

onumber[]

List of open prices for returned candles.

hnumber[]

List of high prices for returned candles.

lnumber[]

List of low prices for returned candles.

cnumber[]

List of close prices for returned candles.

vnumber[]

List of volume data for returned candles.

tinteger[]

List of timestamp for returned candles.

sstring

Status of the response. This field can either be ok or no_data.

Example response

{
  "c": [
    5.962134,
    5.962134
  ],
  "s": "s",
  "t": [
    2,
    2
  ],
  "v": [
    5.637377,
    5.637377
  ],
  "h": [
    6.0274563,
    6.0274563
  ],
  "l": [
    1.4658129,
    1.4658129
  ],
  "o": [
    0.8008282,
    0.8008282
  ]
}