캔들
GET/api/v1/dex/candle
지정된 chain, exchange, pool, interval의 과거 캔들 데이터를 조회합니다.
요청
쿼리 파라미터
chain stringrequired
체인
exchange stringrequired
거래소
pool stringrequired
풀
interval string
인터벌
Default value:
1dfrom string
시작 시각
to string
종료 시각
page integer
페이지 번호
Default value:
1limit integer
페이지 크기
Default value:
1000sort string
Possible values: [asc, desc]
정렬
Default value:
asc헤더 파라미터
X-DTMX-APIKEY stringrequired
DataMaxi+ API 키
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
chain string
data
object[]
bv number
캔들의 거래량(base 토큰)
Example:
22.94612c number
캔들 종가
Example:
60778.21d integer
캔들 시작 시각
h number
캔들 고가
Example:
60778.21l number
캔들 저가
Example:
60724.33o number
캔들 시가
Example:
60724.33qv number
캔들의 거래량 (quote 토큰)
Example:
22.94612exchange string
from string
interval string
key string
limit integer
page integer
pool string
sort string
to string
total integer
{
"chain": "string",
"data": [
{
"bv": 22.94612,
"c": 60778.21,
"d": 0,
"h": 60778.21,
"l": 60724.33,
"o": 60724.33,
"qv": 22.94612
}
],
"exchange": "string",
"from": "string",
"interval": "string",
"key": "string",
"limit": 0,
"page": 0,
"pool": "string",
"sort": "string",
"to": "string",
"total": 0
}
잘못된 요청
- 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...