CoinmicoDOCS

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

idstringrequired
Asset id.

Query parameters

vsstring
Quote currency for price fields: usd (default), eur, gbp, idr, jpy and 25 more fiat, plus btc and eth.Default usd

Response

markets[].venueId · venuestring
Exchange id and display name.
markets[].pair · quotestring
Market symbol and quote asset.
markets[].price · volume24h · sharenumber
Last print, 24h volume, share of the asset's measured volume.
markets[].contractstring
spot or perpetual.
markets[].spreadBps · depthBid · depthAsknumber | null
Order-book liquidity when we poll the book.
markets[].excluded · excludeReasonboolean · string | null
Whether the market counts toward the index.
currency · atstring · integer
Quote 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_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.
404not_found
No asset with that id.

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

Markets — GET /v1/coins/{id}/markets · Coinmico API Docs