GET
/
sapi
/
v1
/
klines
curl --request GET \
  --url https://openapi.odyssey.trade/sapi/v1/klines
[
  {
    "idx": 123,
    "open": "<string>",
    "close": "<string>",
    "high": "<string>",
    "low": "<string>",
    "vol": "<string>"
  }
]

Query Parameters

symbol
string
required

The uppercase symbol name, e.g., BTCUSDT.

interval
string
required

Interval of the Kline. Possible values include: 1min, 5min, 15min, 30min, 60min, 1day, 1week, 1month.

limit
integer
required

The maximum number of items that can be returned in the query result. The value must be a positive integer. The default value is 100, maximum value is 300.

Response

200
application/json
Successful Response
idx
integer
required
open
string
required
close
string
required
high
string
required
low
string
required
vol
string
required