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

idstringrequired
Asset id.

Query parameters

intervalstring
Candle size.One of: 1m5m15m1h4h1d1wDefault 1h
vsstring
Quote currency for price fields: usd (default), eur, gbp, idr, jpy and 25 more fiat, plus btc and eth.Default usd

Response

candles[]object[]
Oldest first.
candles[].timestampinteger
Candle open time, unix ms.
candles[].open · high · low · closenumber
Prices in the quote currency.
candles[].volumenumber
Measured volume in the quote currency.
sourcestring
coinmico when measured, otherwise the reference provider.
rate · currencynumber · string
FX 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_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
vs is not a supported currency.
404not_found
No asset with that id.

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

OHLC candles — GET /v1/coins/{id}/ohlc · Coinmico API Docs