MMTMMT Docs

Get volume delta

Returns volume delta OHLC candles segmented by trade size bucket. Supports aggregated exchanges (requires tier permission). Requires a `bucket` parameter. Max 100,000 data points per request.

GET
/api/v1/vd

Returns volume delta OHLC candles segmented by trade size bucket. Supports aggregated exchanges (requires tier permission). Requires a bucket parameter. Max 100,000 data points per request.

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

exchange*string

Exchange identifier (e.g. binancef, bybitf, okx). Some endpoints support aggregation via colon-separated values (e.g. binancef:bybitf).

symbol*string

Trading pair in base/quote format.

tf*string

Timeframe string for REST requests. Examples: 1m, 5m, 1h, 1d, 1W, 1M. Allowed range: minimum 1m, maximum 1M (1 month).

from*integer

Start of time range as a Unix timestamp (seconds).

Formatint64
to*integer

End of time range as a Unix timestamp (seconds). Must be greater than from.

Formatint64
bucket*integer

Trade size bucket group. 1 = all, 2 = $1-1K, 3 = $1K-10K, 4 = $10K-25K, 5 = $25K-50K, 6 = $50K-100K, 7 = $100K-250K, 8 = $250K-500K, 9 = $500K-1M, 10 = $1M-5M, 11 = $5M+.

Value in1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11
format?string

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

Value in"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/vd?exchange=binancef&symbol=btc%2Fusd&tf=1m&from=1738368000&to=1738382400&bucket=1"
{
  "data": [
    {
      "t": 0,
      "o": 0,
      "h": 0,
      "l": 0,
      "c": 0,
      "n": 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": {}
  }
}