价格API

API地址

https://www.hib8.com/api/ticker?symbol={coinname}


参数说明:{coinname} 币名:如:star-eth;


返回结果为JSON对象,形式如下:

{"date":1500689054,"ticker":{"high":0.415,"low":0.2235,"buy":"0.2700","sell":"0.2800","last":0.2783,"vol":"2274158.2345"}}


返回值说明:
date:当前服务端时间;
high:24小时最高价;
low:24小时最低价;
buy:买一价;
sell:卖一价;
last:最新成交价;
vol:24小时成交量;


币列表

API地址

https://www.hib8.com/api/coinlist


返回结果为JSON对象,形式如下:

[{"name":"star-eth","display":"STAR"},{"name":"ppp-eth","display":"PayPie"}]


返回值说明:
name:交易对;
display:显示名;