Skip to main content

User Commission Rate

See also

For the full 6-tier VIP ladder, 14-day rolling volume rules, and the native GET /account/fee-info endpoint, read VIP Tier Fee Schedule. This page documents only the Binance-compatible /fapi/v1/commissionRate endpoint.

Description

Query the user's commission rate for a specific trading pair. Returns the effective maker/taker rates (base VIP rate × discount_multiplier).

HTTP Request

GET /fapi/v1/commissionRate (HMAC SHA256)

Weight

20

Request Parameters

NameTypeRequiredDescription
symbolSTRINGYESTrading pair
timestampLONGYESTimestamp

Response Example

{
"symbol": "BTCUSDT",
"makerCommissionRate": "0.000000", // Effective maker rate (VIP × discount)
"takerCommissionRate": "0.000252" // Effective taker rate (VIP × discount)
}

Rates correspond to the user's current VIP level and already include the active discount_multiplier (referral + token-staking). See VIP Tier Fee Schedule for the full schedule and discount formula.

Code Examples

curl

API_KEY="your_api_key"
API_SECRET="your_api_secret"
TIMESTAMP=$(date +%s%3N)
QUERY_STRING="symbol=BTCUSDT&timestamp=${TIMESTAMP}"
SIGNATURE=$(echo -n "${QUERY_STRING}" | openssl dgst -sha256 -hmac "${API_SECRET}" | awk '{print $2}')
curl -s -H "X-MBX-APIKEY: ${API_KEY}" \
"https://api-sepolia.ztdx.io/fapi/v1/commissionRate?${QUERY_STRING}&signature=${SIGNATURE}"

Python

import time, hmac, hashlib, requests

API_KEY = "your_api_key"
API_SECRET = "your_api_secret"
BASE_URL = "https://api.ztdx.io"

timestamp = int(time.time() * 1000)
qs = f"symbol=BTCUSDT&timestamp={timestamp}"
sig = hmac.new(API_SECRET.encode(), qs.encode(), hashlib.sha256).hexdigest()
response = requests.get(
f"{BASE_URL}/fapi/v1/commissionRate",
params={"symbol": "BTCUSDT", "timestamp": timestamp, "signature": sig},
headers={"X-MBX-APIKEY": API_KEY}
)
data = response.json()
print(f"Maker: {data['makerCommissionRate']}, Taker: {data['takerCommissionRate']}")