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

idstringrequired
Asset id.

Query parameters

rangestring
Window.One of: 1h24h7d30d90d1ymaxDefault 24h
metricstring
Series to return.One of: pricemarket_capDefault price
vsstring
Quote currency for price fields: usd (default), eur, gbp, idr, jpy and 25 more fiat, plus btc and eth.Default usd

Response

points[][time, value][]
Unix ms and value pairs, oldest first.
range · metric · currencystring
Echo of the window served.
coveragestring
full, 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_key
No x-api-key header or bearer token on the request.
401invalid_key
The key is unknown or has been revoked.
429quota_exceeded
More than 600 requests this hour. Wait for x-ratelimit-reset seconds.
400bad_request
range is not one of the supported windows.
404not_found
No asset with that id.

All errors share one shape: { error: { code, message, status } }. See Errors.

Price chart — GET /v1/coins/{id}/chart · Coinmico API Docs