API Reference / Coins
OHLC candles
Open/high/low/close/volume candles aggregated from trades on the venues we track.
GEThttps://api.coinmico.com/v1/coins/{id}/ohlcupdates every 1 min
Candles are built in-house from the trade feed, so volume is the measured volume for the interval. The response names its source (coinmico) and the FX rate applied when vs is not usd.
Path parameters
idstringrequiredAsset id.
Query parameters
intervalstringCandle size.One of:
1m5m15m1h4h1d1wDefault 1hvsstringQuote currency for price fields: usd (default), eur, gbp, idr, jpy and 25 more fiat, plus btc and eth.Default
usdResponse
candles[]object[]Oldest first.
candles[].timestampintegerCandle open time, unix ms.
candles[].open · high · low · closenumberPrices in the quote currency.
candles[].volumenumberMeasured volume in the quote currency.
sourcestringcoinmico when measured, otherwise the reference provider.
rate · currencynumber · stringFX rate applied and the quote currency.
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_requestvs is not a supported currency.
404not_foundNo asset with that id.
All errors share one shape: { error: { code, message, status } }. See Errors.
