MMTMMT Docs

Get available markets

Returns all available exchanges, symbols, streams, bucket groups, and your tier's access information.

GET
/api/v1/markets

Returns all available exchanges, symbols, streams, bucket groups, and your tier's access information.

Authorization

ApiKeyAuth
X-API-Key<token>

API key for authentication. Obtain from the MMT dashboard. Keep secret and use only from your backend; never expose in browser/mobile clients.

In: header

Query Parameters

format?string

Response format. Defaults to json. Set to cbor for binary CBOR encoding.

Value in"json" | "cbor"

Response Body

application/json

application/json

curl -X GET "https://eu-central-1.mmt.gg/api/v1/markets"
{
  "exchanges": [
    {
      "id": "binancef",
      "name": "binancef",
      "symbols": [
        {
          "symbol": "btc/usd",
          "exchange_ticker": "BTCUSDT",
          "base": "BTC",
          "quote": "USDT",
          "normalised_base": "btc",
          "normalised_quote": "usd",
          "tick_size": 0.1,
          "step_size": 0.001
        }
      ]
    }
  ],
  "streams": [
    {
      "id": "candles",
      "name": "OHLCVT Candles",
      "max_points": 100000,
      "cost_multiplier": 1,
      "available": true
    }
  ],
  "tier": {
    "name": "pro",
    "max_history_days": 365,
    "weight_per_min": 0,
    "max_ws_connections": 15,
    "max_subs_per_connection": 100,
    "allowed_buckets": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11
    ]
  },
  "bucket_groups": [
    {
      "id": 1,
      "name": "all",
      "description": "All trades"
    }
  ]
}
{
  "error": {
    "code": "INVALID_PARAMS",
    "message": "Invalid request parameters",
    "details": {}
  }
}