데이터
GET/api/v1/cex/candle
지정된 exchange, symbol, interval, market의 과거 캔들 데이터를 조회합니다.
요청
쿼리 파라미터
exchange stringrequired
거래소
market stringrequired
Possible values: [spot, futures]
마켓
Default value:
spotsymbol stringrequired
심볼
currency string
Possible values: [USD, KRW]
통화
Default value:
USDinterval string
인터벌
Default value:
1dfrom string
시작 시각
to string
종료 시각
헤더 파라미터
X-DTMX-APIKEY stringrequired
DataMaxi+ API 키
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
currency string
data
object[]
c number
캔들 종가
Example:
60778.21d integer
캔들 시작 시각
h number
캔들 고가
Example:
60778.21l number
캔들 저가
Example:
60724.33o number
캔들 시가
Example:
60724.33v number
캔들의 거래량(base 토큰)
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는 에러 메시지를 나타냅니다
{
"error": "string"
}
인증 실패
- application/json
- Schema
- Example (from schema)
Schema
error string
error는 에러 메시지를 나타냅니다
{
"error": "string"
}
서버 오류
- application/json
- Schema
- Example (from schema)
Schema
error string
error는 에러 메시지를 나타냅니다
{
"error": "string"
}
Loading...