获取单个虚拟币单个产品行情信息
请求地址:https://blackcatw.com/api
请求方式:GET
参数 说明
name TICKER
instId 产品ID (产品ID可以在此页查看:https://www.blackcatw.com/virtualb)
例如:https://www.blackcatw.com/api/?name=TICKER&instId=ETC-ETH
返回参数
参数名 | 描述 |
---|---|
instType | 产品类型 |
instId | 产品ID |
last | 最新成交价 |
lastSz | 最新成交的数量 |
askPx | 卖一价 |
askSz | 卖一价的挂单数数量 |
bidPx | 买一价 |
bidSz | 买一价的挂单数量 |
open24h | 24小时开盘价 |
high24h | 24小时最高价 |
low24h | 24小时最低价 |
volCcy24h | 24小时成交量,以币 为单位 |
vol24h | 24小时成交量,以张 为单位 |
sodUtc0 | UTC 0 时开盘价 |
sodUtc8 | UTC+8 时开盘价 |
ts | ticker数据产生时间,Unix时间戳的毫秒数格式,如 1597026383085 |
返回:
{"code":"0","msg":"","data":[{"instType":"SPOT","instId":"ETC-ETH","last":"0.01537","lastSz":"1.01955","askPx":"0.01539","askSz":"8.54838","bidPx":"0.01535","bidSz":"19.21768","open24h":"0.01522","high24h":"0.01575","low24h":"0.01512","volCcy24h":"27.24946","vol24h":"1770.78558","ts":"1670271183005","sodUtc0":"0.01523","sodUtc8":"0.01548"}]}