API Reference / Coins
Price chart
Price or market-cap series for a window from 1 hour to the full history.
GEThttps://api.coinmico.com/v1/coins/{id}/chartupdates every 1 min
A lightweight line-chart series. Point density adapts to the window. When the window is longer than our own history the response is marked with the coverage we do hold rather than padded with third-party data.
Path parameters
idstringrequiredAsset id.
Query parameters
rangestringWindow.One of:
1h24h7d30d90d1ymaxDefault 24hmetricstringSeries to return.One of:
pricemarket_capDefault pricevsstringQuote currency for price fields: usd (default), eur, gbp, idr, jpy and 25 more fiat, plus btc and eth.Default
usdResponse
points[][time, value][]Unix ms and value pairs, oldest first.
range · metric · currencystringEcho of the window served.
coveragestringfull, or partial when our history is shorter than the window.
Every response also carries x-ratelimit-limit, x-ratelimit-remaining, x-ratelimit-reset and x-request-id. See Rate limits.
Errors
401missing_keyNo x-api-key header or bearer token on the request.
401invalid_keyThe key is unknown or has been revoked.
429quota_exceededMore than 600 requests this hour. Wait for x-ratelimit-reset seconds.
400bad_requestrange is not one of the supported windows.
404not_foundNo asset with that id.
All errors share one shape: { error: { code, message, status } }. See Errors.
