데이터
GET/api/v1/cex/candle
지정된 exchange, symbol, interval, market의 과거 캔들 데이터를 조회합니다.
요청
쿼리 파라미터
exchange stringrequired
Specifes exchange
market stringrequired
Possible values: [spot, futures]
Specifies market
Default value:
spotsymbol stringrequired
Specifies symbol
currency string
Possible values: [USD, KRW]
Specifies currency
Default value:
USDinterval string
Specifies interval
Default value:
1dfrom string
Specifies from
to string
Specifies to
헤더 파라미터
X-DTMX-APIKEY stringrequired
Your DataMaxi+ API key
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
currency string
data
object[]
c number
specifies close price of the candle
Example:
60778.21d integer
specifies the opening date and time of candle
h number
specifies high price of the candle
Example:
60778.21l number
specifies low price of the candle
Example:
60724.33o number
specifies open price of the candle
Example:
60724.33v number
specifies trading volume (base token) of the candle
Example:
22.94612exchange string
interval string
market string
symbol string
{
"currency": "string",
"data": [
{
"c": 60778.21,
"d": 0,
"h": 60778.21,
"l": 60724.33,
"o": 60724.33,
"v": 22.94612
}
],
"exchange": "string",
"interval": "string",
"market": "string",
"symbol": "string"
}
잘못된 요청
- application/json
- Schema
- Example (from schema)
Schema
error string
error specifies the error message
{
"error": "string"
}
인증 실패
- application/json
- Schema
- Example (from schema)
Schema
error string
error specifies the error message
{
"error": "string"
}
서버 오류
- application/json
- Schema
- Example (from schema)
Schema
error string
error specifies the error message
{
"error": "string"
}
Loading...