API Reference / Coins
Markets
Every pair and venue where the asset trades, with measured volume, share, spread and depth.
GEThttps://api.coinmico.com/v1/coins/{id}/marketsupdates every 30 s
Lists each market we track for the asset: venue, pair, quote, last price, 24h volume, share of the asset's total, contract type (spot or perpetual), ±2% depth, spread and whether the market is excluded from the index and why.
Example request
curl "https://api.coinmico.com/v1/coins/bitcoin/markets" \ -H "x-api-key: $COINMICO_API_KEY"
{
"markets": [
{
"venueId": "binance",
"venue": "Binance",
"pair": "BTCUSDT-PERP",
"quote": "USDT",
"price": 83008.9,
"volume24h": 1718091688.99,
"share": 0.197752,
"contract": "perpetual",
"excluded": false,
"excludeReason": null,
"updatedAt": 1791675180000,
"spreadBps": null,
"depthBid": null,
"depthAsk": null,
"depthBid1": null,
"depthAsk1": null,
"costBuy": null,
"costSell": null,
"liquidityScore": null
},
{
"venueId": "bitrue",
"venue": "Bitrue",
"pair": "BTCUSDT",
"quote": "USDT",
"price": 83063.62,
"volume24h": 1091296888.43,
"share": 0.105188,
"contract": "spot",
"excluded": false,
"excludeReason": null,
"updatedAt": 1791675180000,
"spreadBps": 0.001204,
"depthBid": 2284559.38,
"depthAsk": 1523729.1,
"depthBid1": 2284452.78,
"depthAsk1": 1523712.3,
"costBuy": {
"1000": 0,
"10000": 0,
"100000": 0,
"1000000": 0.32
},
"costSell": {
"1000": 0,
"10000": 0,
"100000": 0,
"1000000": 0
},
"liquidityScore": 9.4
}
],
"currency": "usd",
"at": 1791675241490
}Try itruns in your browser
Stored only in this browser. Get a free key
Path parameters
idstringrequiredAsset id.
Query parameters
vsstringQuote currency for price fields: usd (default), eur, gbp, idr, jpy and 25 more fiat, plus btc and eth.Default
usdResponse
markets[].venueId · venuestringExchange id and display name.
markets[].pair · quotestringMarket symbol and quote asset.
markets[].price · volume24h · sharenumberLast print, 24h volume, share of the asset's measured volume.
markets[].contractstringspot or perpetual.
markets[].spreadBps · depthBid · depthAsknumber | nullOrder-book liquidity when we poll the book.
markets[].excluded · excludeReasonboolean · string | nullWhether the market counts toward the index.
currency · atstring · integerQuote currency and snapshot time.
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.
404not_foundNo asset with that id.
All errors share one shape: { error: { code, message, status } }. See Errors.
