Get market statistics
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.
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.
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.
Timeframe string for REST requests. Examples: 1m, 5m, 1h, 1d, 1W, 1M. Allowed range: minimum 1m, maximum 1M (1 month).
Start of time range as a Unix timestamp (seconds).
int64End of time range as a Unix timestamp (seconds). Must be greater than from.
int64Response 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
application/json
curl -X GET "https://eu-central-1.mmt.gg/api/v1/stats?exchange=binancef&symbol=btc%2Fusd&tf=1m&from=1738368000&to=1738382400"{
"data": [
{
"t": 0,
"mp": 0,
"lp": 0,
"fr": 0,
"lb": 0,
"ls": 0,
"tlb": 0,
"tls": 0,
"vb": 0,
"vs": 0,
"tb": 0,
"ts": 0,
"sk": [
0
],
"as": [
0
],
"bs": [
0
],
"mxt": 0,
"mnt": 0,
"avt": 0,
"it": 0
}
],
"exchange": "string",
"symbol": "string",
"tf": "string",
"from": 0,
"to": 0,
"points": 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": {}
}
}{
"error": {
"code": "INVALID_PARAMS",
"message": "Invalid request parameters",
"details": {}
}
}Get orderbook snapshot GET
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.
Get stop heatmap GET
Returns stop heatmap data in flat format. Available only for hyperliquid and hyperliquid-xyz. Single exchange only (aggregated exchanges are not supported). Cost multiplier: 5x. Max 5,000 data points per request.