公共行情接口
获取某个Ticker信息
限速规则:20次/1s
HTTP请求 获取某个ticker信息
GET /api/spot/v1/market/ticker
请求参数
symbol
String
是
交易对名称
返回数据:
返回值说明
symbol
币对名称
high24h
24小时最高价
close
最新成交价
low24h
24小时最低价
quoteVol
计价币成交额
baseVol
基础币成交额
usdtVol
usdt成交额
ts
时间戳
获取全部Ticker信息
限速规则:20次/1s
HTTP请求
获取全部ticker信息
GET /api/spot/v1/market/tickers
返回数据
返回值说明
symbol
币对名称
high24h
24小时最高价
close
最新成交价
low24h
24小时最低价
ts
系统时间戳
baseVol
基础币量
quoteVol
计价币量
usdtVol
usdt币量
获取成交数据
限速规则:20次/1s
HTTP请求
获取成交数据
GET /api/spot/v1/market/fills
请求参数
symbol
String
是
交易对ID
limit
String
否
默认100,最大2000
返回数据:
返回值说明
symbol
合约名称
tradeId
成交单id
side
交易方向
fillPrice
成交价格
fillQuantity
成交数量
fillTime
成交时间
获取K线数据
限速规则:20次/1s
HTTP请求 获取K线数据
GET /api/spot/v1/market/candles
请求参数
symbol
String
是
合约名称
period
String
是
K线的时间单位,粒度(取值参考如下列表)
after
String
否
时间之后的
before
String
否
时间之前的
limit
String
否
返回数据:
返回值说明
ts
系统时间戳
open
开盘价格
high
最高价格
low
最低价格
close
收盘价格
baseVol
交易币成交量
quoteVol
计价币成交量
usdtVol
usdt成交量
获取深度数据
限速规则:20次/1s
HTTP请求 获取K线数据
GET /api/spot/v1/market/depth
请求参数
symbol
String
是
合约名称
type
String
是
默认:step0: 不合并,取值:step0,step1,step2,step3,step4,step5
limit
String
否
查询条数 默认150
返回数据
Last updated