get https://api.upbit.com/v1/candles/years
Request Parameters
Field | Description | Type |
---|---|---|
market | Market ID (ex. KRW-BTC) | String |
to | End timestamp of the last candle (exclusive). Accepts ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss'Z' or yyyy-MM-dd HH:mm:ss .Defaults to UTC, but a timezone offset can be specified (e.g. 2023-01-01T00:00:00+09:00 for KST).If omitted, the latest available candle will be returned. | String |
count | Count of candles (LIMIT : 200) | Integer |
Response
Field | Desciption | Type |
---|---|---|
market | Market ID | String |
candle_date_time_utc | Timestamp representing the start of the candle (in UTC) Format: yyyy-MM-dd'T'HH:mm:ss | String |
candle_date_time_kst | Timestamp representing the start of the candle (in KST) Format: yyyy-MM-dd'T'HH:mm:ss | String |
opening_price | Open price | Double |
high_price | High price | Double |
low_price | Low price | Double |
trade_price | Close price | Double |
timestamp | Last trade timestamp | Long |
candle_acc_trade_price | Cumulative trade price | Double |
candle_acc_trade_volume | Cumulative trade volume | Double |
first_day_of_period | First day of the candle period | String |