v1

latestOpenAPI 3.0.02026-07-26100118773.0 KB
metrics/markets

Get markets

Retrieve a list of markets

get/metrics/v1/markets

Query parameters

limitinteger
Example:10

Number of items per page

pageSizeinteger

Number of items per page. Kept for backward compatibility

pageinteger
Example:1

Page number

exchangeIdstring
exchangeSlugstring
quoteAssetIdstring
quoteAssetSlugstring
baseAssetIdstring
baseAssetSlugstring
volume24hAbovenumber double
volume24hBelownumber double
livenessstring
Example:live,stale

Comma-separated list of liveness statuses to filter by. Possible values:

  • live: The market has had a trade in approximately the last 10 minutes.
  • stale: The market has had a trade in the last 24 hours, but not in the last ~10 minutes.
  • inactive: The market has not had any trades for more than 24 hours.
activitySincestring
Example:2024-01-15

Filter to markets that have had a trade since this date. Accepts RFC3339 (e.g. 2024-01-15T00:00:00Z), YYYY-MM-DD, or a unix timestamp.

Response

Default response

errorstring

Example response

{
  "error": null,
  "data": [
    {
      "id": "6057-649-44",
      "baseAsset": {
        "id": "1e31218a-e44e-4285-820c-8282ee222035",
        "name": "Bitcoin",
        "slug": "bitcoin",
        "symbol": "BTC"
      },
      "baseAssetSector": "Cryptocurrency",
      "quoteAsset": {
        "id": "60dcd17b-00f3-49f8-907c-f390c2521c59",
        "name": "United States Dollar",
        "slug": "fedcoin",
        "symbol": "USD"
      },
      "quoteAssetSector": "",
      "exchange": {
        "id": "181f44f6-f9b7-4c11-9e44-7c7f803d808e",
        "name": "Coinbase",
        "slug": "coinbase"
      },
      "network": null,
      "sectors": [
        "Cryptocurrency"
      ],
      "firstTradeAt": "2014-12-01T06:00:00Z",
      "lastTradeAt": "2026-03-04T23:34:00Z",
      "isNewMarket": false,
      "isRecentlyListed": false,
      "liveness": "live",
      "metrics": {
        "exchangeVolumePercentage24h": 44.03,
        "latestPrice24hOpen": 68435.06,
        "latestPrice24hHigh": 74100,
        "latestPrice24hLow": 67391.17,
        "latestPrice24hClose": 72432.08,
        "premiumDiscount": -0.015,
        "volume24h": 1496297599.8,
        "tradeCount24h": 1219331
      }
    }
  ],
  "metadata": {
    "pageSize": 1,
    "page": 1,
    "totalRows": 742,
    "totalPages": 742
  }
}