http api:https://api.coinmarketcap.com/v2/ticker/1765/
{
"data": {
"id": 1765,
"name": "EOS",
"symbol": "EOS",
"website_slug": "eos",
"rank": 5,
"circulating_supply": 906245118,
"total_supply": 1006245120,
"max_supply": 1000000000,
"quotes": {
"USD": {
"price": 7.1827637594,
"volume_24h": 636473463.658721,
"market_cap": 6509344588,
"percent_change_1h": -0.09,
"percent_change_24h": -1.29,
"percent_change_7d": -16.8
}
},
"last_updated": 1533193294
},
"metadata": {
"timestamp": 1533192860,
"error": null
}
}
https://api.coinmarketcap.com/v1/ticker/${symbol}/?convert=${convert_symbol}
price字段即为当前的EOS USD价格 (具体准确度,自己衡量)
数据来自:github erp
版权属于:区块链中文技术社区 / 转载原创者
本文链接:https://bcskill.com/index.php/archives/352.html
相关技术文章仅限于相关区块链底层技术研究,禁止用于非法用途,后果自负!本站严格遵守一切相关法律政策!