Get orderbook snapshot
Returns a real-time orderbook snapshot for a single exchange and symbol. Does not support aggregated exchanges. Returns bid and ask levels as `[price, size]` pairs.
Returns a real-time orderbook snapshot for a single exchange and symbol. Does not support aggregated exchanges. Returns bid and ask levels as [price, size] pairs.
Authorization
ApiKeyAuth 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
Single exchange identifier. Aggregated exchanges are not supported.
Trading pair in base/quote format.
Number of price levels to return per side. Defaults to 100.
"100""100" | "1000" | "5000" | "full"Response format. Defaults to json. Set to cbor for binary CBOR encoding.
"json" | "cbor"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://eu-central-1.mmt.gg/api/v1/orderbook?exchange=binancef&symbol=btc%2Fusd"{
"t": 0,
"exchange": "string",
"symbol": "string",
"a": [
[
0,
0
]
],
"b": [
[
0,
0
]
],
"lp": 0,
"snapshot": true,
"seq": 0,
"levels": 0
}{
"error": {
"code": "INVALID_PARAMS",
"message": "Invalid request parameters",
"details": {}
}
}{
"error": {
"code": "INVALID_PARAMS",
"message": "Invalid request parameters",
"details": {}
}
}{
"error": {
"code": "INVALID_PARAMS",
"message": "Invalid request parameters",
"details": {}
}
}{
"error": {
"code": "INVALID_PARAMS",
"message": "Invalid request parameters",
"details": {}
}
}Get open interest GET
Returns open interest OHLC candles. Supports aggregated exchanges (colon-separated, requires tier permission). Max 100,000 data points per request.
Get market statistics GET
Returns market statistics including mark price, funding rate, liquidations, volume, trade counts, orderbook skews, and TPS metrics. Single exchange only. Max 100,000 data points per request.