Read Historical Prices
GET /network/ticker
Get the historical price of a given asset.
Endpoint URL
https://api.mixin.one/network/ticker?asset=:asset&offset=:offset
Example request
curl -i -X GET -H "Content-Type: application/json" https://api.mixin.one/network/ticker?asset=f5ef6b5d-cc5a-3d90-b2c0-a2fd386e7a3c&offset=2020-09-21T13:53:29.38099Z
Response
{
"data": {
"type": "ticker",
"price_btc": "0.000135438312",
"price_usd": "2.582473"
}
}
info
If no ticker found, price_usd
and price_usd
will return 0.