Request parameters.
Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Get trades for a specific account and symbol.
Weight(IP): 5
Security Type: USER_DATA
Notes:
startTime and endTime are both not sent, then the last 7 days' data will be returned.startTime and endTime cannot be longer than 7 days.fromId cannot be sent with startTime or endTime.Request parameters.
Query the symbol-level ADL risk rating.
The ADL risk rating measures the likelihood of ADL during liquidation, and the rating takes into account the insurance fund balance, position concentration on the symbol, order book depth, price volatility, average leverage, unrealized PnL, and margin utilization at the symbol level.
The rating can be high, medium and low, and is updated every 30 minutes.
Weight(IP): 1
Request parameters.
Get all account orders; active, canceled, or filled.
CANCELED or EXPIRED AND order has NO filled trade AND created time + 3 days < current timeWeight(IP): 5
Security Type: USER_DATA
Notes:
orderId is set, it will get orders >= that orderId. Otherwise most recent orders are returned.Request parameters.
Asset index price.
CM-UM Integration (Effective 2026-06-30): Renamed from Multi-Assets Mode Asset Index. The response now additionally pushes COIN-M settlement-asset price index entries (e.g.,
BTCUSD,ETHUSD,BNBUSD). The endpoint path/fapi/v1/assetIndexis unchanged.
Weight: 1 for a single symbol; 10 when the symbol parameter is omitted
Request parameters.
Cancel all open orders of the specified symbol at the end of the specified countdown.
The endpoint should be called repeatedly as heartbeats so that the existing countdown time can be canceled and replaced by a new one.
Example usage:
Call this endpoint at 30s intervals with an countdownTime of 120000 (120s). If this endpoint is not called within 120 seconds, all your orders of the specified symbol will be automatically canceled. If this endpoint is called with an countdownTime of 0, the countdown timer will be stopped.
The system will check all countdowns approximately every 10 milliseconds, so please note that sufficient redundancy should be considered when using this function. We do not recommend setting the countdown time to be too precise or too small.
Weight(IP): 10
Security Type: TRADE
Request parameters.
Query future basis
Weight(IP): 0
Notes:
Request parameters.
Cancel an active algo (conditional) order, including TP/SL (Take Profit / Stop Loss) and trailing stop orders on USD-M Futures.
Weight(IP): 1
Security Type: TRADE
Notes:
algoId or clientAlgoId must be sent.Request parameters.
Cancel all open algo (conditional) orders on a symbol, including TP/SL (Take Profit / Stop Loss) and trailing stop orders on USD-M Futures.
Weight(IP): 1
Security Type: TRADE
Request parameters.
Cancel All Open Orders
Weight(IP): 1
Security Type: TRADE
Request parameters.
Cancel Multiple Orders
Weight(IP): 1
Security Type: TRADE
Notes:
orderIdList or origClientOrderIdList must be sent.Request parameters.
Cancel an active order.
Weight(IP): 1
Security Type: TRADE
Notes:
orderId or origClientOrderId must be sent.Request parameters.
Change user's initial leverage of specific symbol market.
Weight(IP): 1
Security Type: TRADE
Request parameters.
Change symbol level margin type
Weight(IP): 1
Security Type: TRADE
Request parameters.
Change user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on Every symbol
Weight(IP): 1
Security Type: TRADE
Request parameters.
Change user's position mode (Hedge Mode or One-way Mode ) on EVERY symbol.
After CM migration*, UM and CM share the same dualSidePosition setting. Calling this endpoint flips both UM and CM at once. If either side has any open order or open position, the change is rejected:
-4067 (open orders exist)-4068 (open position exists)Weight(IP): 1
Security Type: TRADE
Request parameters.
Test connectivity to the Rest API and get the current server time.
Weight(IP): 1
Get Classic Portfolio Margin current account information.
Weight(IP): 5
Security Type: USER_DATA
Notes:
Request parameters.
Close out a user data stream.
Weight(IP): 1
Security Type: USER_STREAM
Query composite index symbol information
Weight(IP): 1
Notes:
Request parameters.
Get compressed, aggregate market trades. Market trades that fill in 100ms with the same price and the same taking side will have the quantity aggregated.
Retail Price Improvement(RPI) orders are aggregated and without special tags to be distinguished.
Weight(IP): 20
Notes:
startTime and endTime are sent, time between startTime and endTime must be less than 1 hour.fromId, startTime, and endTime are not sent, the most recent aggregate trades will be returned.startTime/endTime and fromId might cause response timeout, please send either fromId or startTime/endTimeRequest parameters.
Kline/candlestick bars for a specific contract type. Klines are uniquely identified by their open time.
Weight: based on parameter LIMIT
| LIMIT | weight |
|---|---|
| [1,100) | 1 |
| [100, 500) | 2 |
| [500, 1000] | 5 |
| > 1000 | 10 |
Notes:
Request parameters.
Get all open algo (conditional) orders on a symbol, including TP/SL (Take Profit / Stop Loss) and trailing stop orders on USD-M Futures.
Weight: 1 for a single symbol; 40 when the symbol parameter is omitted
Careful* when accessing this with no symbol.
Security Type: USER_DATA
Notes:
Request parameters.
Get all open orders on a symbol.
Weight: 1 for a single symbol; 40 when the symbol parameter is omitted
Careful* when accessing this with no symbol.
Security Type: USER_DATA
Notes:
Request parameters.
Current exchange trading rules and symbol information
Weight(IP): 1
Query account balance information.
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Query account balance information.
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Query account configuration
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Sign TradFi-Perps agreement contract
Weight(IP): 50
Security Type: USER_DATA
Request parameters.
Futures trading quantitative rules indicators, for more information on this, please refer to the Futures Trading Quantitative Rules
Weight: - 1 for a single symbol
Security Type: USER_DATA
Request parameters.
Get user's BNB Fee Discount (Fee Discount On or Fee Discount Off )
Weight(IP): 30
Security Type: USER_DATA
Request parameters.
Get user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on Every symbol
Weight(IP): 30
Security Type: USER_DATA
Request parameters.
Get user's position mode (Hedge Mode or One-way Mode ) on EVERY symbol
Weight(IP): 30
Security Type: USER_DATA
Request parameters.
Get Download Id For Futures Order History
Weight(IP): 1000
Security Type: USER_DATA
Notes:
startTime and endTime can not be longer than 1 yearRequest parameters.
Get download id for futures trade history
Weight(IP): 1000
Security Type: USER_DATA
Notes:
startTime and endTime can not be longer than 1 yearRequest parameters.
Get download id for futures transaction history
Weight(IP): 1000
Security Type: USER_DATA
Notes:
startTime and endTime can not be longer than 1 yearRequest parameters.
Get Funding Rate History
Weight: share 500/5min/IP rate limit with GET /fapi/v1/fundingInfo
Notes:
startTime and endTime are not sent, the most recent 200 records are returned.startTime and endTime is larger than limit, return as startTime + limit.Request parameters.
Query funding rate info for symbols that had FundingRateCap/FundingRateFloor / fundingIntervalHours adjustment
Weight: 0
share 500/5min/IP rate limit with GET /fapi/v1/fundingRate
Get futures order history download link by Id
Weight(IP): 10
Security Type: USER_DATA
Notes:
Request parameters.
Get futures trade download link by Id
Weight(IP): 10
Security Type: USER_DATA
Notes:
Request parameters.
Get futures transaction history download link by Id
Weight(IP): 10
Security Type: USER_DATA
Notes:
Request parameters.
Query income history
Weight(IP): 30
Security Type: USER_DATA
Notes:
incomeType is not sent, all kinds of flow will be returnedstartTime and endTime are not sent, the recent 7-day data will be returned.trandId is unique in the same incomeType for a user.Request parameters.
Get order modification history
Weight(IP): 1
Security Type: USER_DATA
Notes:
Either orderId or origClientOrderId must be sent, and the
orderId will prevail if both are sent.
Order modify history longer than 3 month is not avaliable
Request parameters.
Get Position Margin Change History
Weight(IP): 1
Security Type: TRADE
Notes:
startTime and endTimecan't be more than 30 daysRequest parameters.
Kline/candlestick bars for the index price of a pair. Klines are uniquely identified by their open time.
Weight: based on parameter LIMIT
| LIMIT | weight |
|---|---|
| [1,100) | 1 |
| [100, 500) | 2 |
| [500, 1000] | 5 |
| > 1000 | 10 |
Notes:
Request parameters.
Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
Weight(IP): 1
Security Type: USER_STREAM
Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time.
Weight: based on parameter LIMIT
| LIMIT | weight |
|---|---|
| [1,100) | 1 |
| [100, 500) | 2 |
| [500, 1000] | 5 |
| > 1000 | 10 |
Notes:
Request parameters.
Query for all convertible token pairs and the tokens’ respective upper/lower limits
Weight(IP): 20
Notes:
Request parameters.
Query symbol Long/Short Ratio
Weight(IP): 0
Notes:
Request parameters.
Mark Price and Funding Rate
Weight: 1 with symbol, 10 without symbol
Request parameters.
Kline/candlestick bars for the mark price of a symbol. Klines are uniquely identified by their open time.
Weight: based on parameter LIMIT
| LIMIT | weight |
|---|---|
| [1,100) | 1 |
| [100, 500) | 2 |
| [500, 1000] | 5 |
| > 1000 | 10 |
Notes:
Request parameters.
Modify Isolated Position Margin
Weight(IP): 1
Security Type: TRADE
Notes:
Request parameters.
Modify Multiple Orders (TRADE)
Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S); 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M); 5 on IP rate limit(x-mbx-used-weight-1m);
Security Type: TRADE
Notes:
Modify OrderRequest parameters.
Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S); 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M); 0 on IP rate limit(x-mbx-used-weight-1m)
Security Type: TRADE
Notes:
orderId or origClientOrderId must be sent, and the orderId will prevail if both are sent.quantity and price must be sent, which is different from dapi modify order endpoint.quantity or price doesn't satisfy PRICE_FILTER / PERCENT_FILTER / LOT_SIZE, amendment will be rejected and the order will stay as it is.quantity <= executedQtyGTX and the new price will cause it to be executed immediatelyRequest parameters.
Send in a new algo (conditional) order. Use this endpoint to place TP/SL (Take Profit / Stop Loss) and trailing stop orders on USD-M Futures. Supported order types under algoType=CONDITIONAL are STOP_MARKET, TAKE_PROFIT_MARKET, STOP, TAKE_PROFIT, and TRAILING_STOP_MARKET.
Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S); 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M); 0 on IP rate limit(x-mbx-used-weight-1m)
Security Type: TRADE
Notes:
STOP, parameter timeInForce can be sent (default GTC).TAKE_PROFIT, parameter timeInForce can be sent ( default GTC).priceProtectis sent as true:triggerPrice ,the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbolGET /fapi/v1/exchangeInfoSTOP, STOP_MARKET:triggerPriceTAKE_PROFIT, TAKE_PROFIT_MARKET:triggerPriceTRAILING_STOP_MARKET:callbackRate)activatePrice, and the latest priceTRAILING_STOP_MARKET, if you got such error code. > {"code": -2021, "msg": "Order would immediately trigger."} > means that the parameters you send do not meet the following requirements:activatePrice should be smaller than latest price.activatePrice should be larger than latest price.STOP_MARKET, TAKE_PROFIT_MARKET with closePosition=true:SELL) or current short position( if BUY).quantity paremeterreduceOnly parameterBUY orders in LONG position side. and cannot be used with SELL orders in SHORT position sideselfTradePreventionMode is only effective when timeInForce set to IOC or GTC or GTD.Request parameters.
Send in a new order.
Weight: 1 on 10s order rate limit(X-MBX-ORDER-COUNT-10S); 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M); 0 on IP rate limit(x-mbx-used-weight-1m)
Security Type: TRADE
Notes:
Additional mandatory parameters based on type:
| Type | Additional mandatory parameters |
|---|---|
LIMIT |
timeInForce, quantity, price |
MARKET |
quantity |
newOrderRespType is sent as RESULT:MARKET order: the final FILLED result of the order will be returned directly.LIMIT order with special timeInForce: the final status result of the order (FILLED or EXPIRED) will be returned directly.selfTradePreventionMode is only effective when timeInForce is set to IOC, GTC, or GTD.timeInForce GTD order auto-cancel time might be delayed compared to goodTillDate.Request parameters.
Query user notional and leverage bracket on speicfic symbol
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get older market historical trades.
Weight(IP): 20
Security Type: MARKET_DATA
Notes:
Request parameters.
Get present open interest of a specific symbol.
Weight(IP): 1
Request parameters.
Open Interest Statistics
Weight(IP): 0
Notes:
Request parameters.
Query symbol orderbook
Retail Price Improvement(RPI) orders are not visible and excluded in the response message.
Weight: Adjusted based on the limit:
| Limit | Weight |
|---|---|
| 5, 10, 20, 50 | 2 |
| 100 | 5 |
| 500 | 10 |
| 1000 | 20 |
Request parameters.
Query order status by order ID.
Weight(IP): 50
Security Type: USER_DATA
Request parameters.
Place Multiple Orders
Weight: 5 on 10s order rate limit(X-MBX-ORDER-COUNT-10S); 1 on 1min order rate limit(X-MBX-ORDER-COUNT-1M); 5 on IP rate limit(x-mbx-used-weight-1m);
Security Type: TRADE
Notes:
New OrderRequest parameters.
Position ADL Quantile Estimation
Values update every 30s. Values 0, 1, 2, 3, 4 shows the queue position and possibility of ADL from low to high. For positions of the symbol are in One-way Mode or isolated margined in Hedge Mode, "LONG", "SHORT", and "BOTH" will be returned to show the positions' adl quantiles of different position sides. If the positions of the symbol are crossed margined in Hedge Mode: "HEDGE" as a sign will be returned instead of "BOTH"; A same value caculated on unrealized pnls on long and short sides' positions will be shown for "LONG" and "SHORT" when there are positions in both of long and short sides.
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Get current position information.
Weight(IP): 5
Security Type: USER_DATA
Notes:
ACCOUNT_UPDATE to meet your timeliness and accuracy needs.Request parameters.
Get current position information(only symbol that has position or open orders will be returned).
Weight(IP): 5
Security Type: USER_DATA
Notes:
ACCOUNT_UPDATE to meet your timeliness and accuracy needs.Request parameters.
Premium index kline bars of a symbol. Klines are uniquely identified by their open time.
Weight: based on parameter LIMIT
| LIMIT | weight |
|---|---|
| [1,100) | 1 |
| [100, 500) | 2 |
| [500, 1000] | 5 |
| > 1000 | 10 |
Notes:
Request parameters.
Latest price for a symbol or symbols.
Weight(IP): 0
Request parameters.
Check the status of an algo (conditional) order, such as TP/SL (Take Profit / Stop Loss) or trailing stop orders on USD-M Futures.
These orders will not be found:
order status is CANCELED or EXPIRED AND order has NO filled trade AND created time + 3 days < current time
order create time + 90 days < current time
Weight(IP): 1
Security Type: USER_DATA
Notes:
algoId or clientAlgoId must be sent.algoId is self-increment for each specific symbolRequest parameters.
Get all algo (conditional) orders — active, CANCELED, TRIGGERED, or FINISHED — including TP/SL (Take Profit / Stop Loss) and trailing stop orders on USD-M Futures.
These orders will not be found:
order status is CANCELED or EXPIRED AND order has NO filled trade AND created time + 3 days < current time
order create time + 90 days < current time
Weight(IP): 5
Security Type: USER_DATA
Notes:
algoId is set, it will get orders >= that algoId. Otherwise most recent orders are returned.Request parameters.
Query open order
Weight(IP): 1
Security Type: USER_DATA
Notes:
orderId or origClientOrderId must be sentRequest parameters.
Query index price constituents
Note*: Prices from constituents of TradFi perps will be hiden and displayed as -1.
Weight(IP): 2
Request parameters.
Query Insurance Fund Balance Snapshot
Weight(IP): 1
Request parameters.
Check an order's status.
These orders will not be found:
order status is CANCELED or EXPIRED AND order has NO filled trade AND created time + 3 days < current time
order create time + 90 days < current time
Weight(IP): 1
Security Type: USER_DATA
Notes:
orderId or origClientOrderId must be sent.orderId is self-increment for each specific symbolRequest parameters.
Query User Rate Limit
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get recent market trades
Weight(IP): 5
Notes:
Request parameters.
Query symbol orderbook with RPI orders
RPI(Retail Price Improvement) orders are included and aggreated in the response message. Crossed price levels are hidden and invisible.
Weight: Adjusted based on the limit:
| Limit | Weight |
|---|---|
| 1000 | 20 |
Request parameters.
Request a quote for the requested token pairs
Weight: 50(IP) 360/hour, 500/day
Security Type: USER_DATA
Notes:
quoteId will be returned only if you have enough funds to convertRequest parameters.
Generic function to send a request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
Body parameters for the request.
A promise resolving to the response data object.
Generic function to send a signed request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
Body parameters for the request.
A promise resolving to the response data object.
Start a new user data stream. The stream will close after 60 minutes
unless a keepalive is sent. If the account has an active listenKey,
that listenKey will be returned and its validity will be extended for
60 minutes.
Weight(IP): 1
Security Type: USER_STREAM
Get current account symbol configuration.
Weight(IP): 5
Security Type: USER_DATA
Request parameters.
Best price/qty on the order book for a symbol or symbols.
Retail Price Improvement(RPI) orders are not visible and excluded in the response message.
Weight: 2 for a single symbol; 5* when the symbol parameter is omitted
Notes:
X-MBX-USED-WEIGHT-1M in response header is not accurate from this endpoint, please ignore.Request parameters.
Latest price for a symbol or symbols.
Weight: 1 for a single symbol; 2 when the symbol parameter is omitted
Notes:
Request parameters.
Latest price for a symbol or symbols.
Weight: 1 for a single symbol; 2 when the symbol parameter is omitted
Notes:
X-MBX-USED-WEIGHT-1M in response header is not accurate from this endpoint, please ignore.Request parameters.
Taker Buy/Sell Volume
Weight(IP): 0
Notes:
Request parameters.
Test connectivity to the Rest API.
Weight(IP): 1
Testing order request, this order will not be submitted to matching engine
Security Type: TRADE
Notes:
Additional mandatory parameters based on type:
| Type | Additional mandatory parameters |
|---|---|
LIMIT |
timeInForce, quantity, price |
MARKET |
quantity |
STOP/TAKE_PROFIT |
quantity, price, stopPrice |
STOP_MARKET/TAKE_PROFIT_MARKET |
stopPrice |
TRAILING_STOP_MARKET |
callbackRate |
STOP, parameter timeInForce can be sent ( default GTC).TAKE_PROFIT, parameter timeInForce can be sent (default GTC).priceProtectis sent as true:stopPrice ,the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the "triggerProtect" of the symbolGET /fapi/v1/exchangeInfoSTOP, STOP_MARKET:stopPriceTAKE_PROFIT, TAKE_PROFIT_MARKET:stopPriceTRAILING_STOP_MARKET:callbackRate)activationPrice, and the latest priceTRAILING_STOP_MARKET, if you got such error code. > {"code": -2021, "msg": "Order would immediately trigger."} > means that the parameters you send do not meet the following requirements:activationPrice should be smaller than latest price.activationPrice should be larger than latest price.newOrderRespType is sent as RESULT :MARKET order: the final FILLED result of the order will be return directly.LIMIT order with special timeInForce: the final status result of the order(FILLED or EXPIRED) will be returned directly.STOP_MARKET, TAKE_PROFIT_MARKET with closePosition=true:SELL) or current short position( if BUY).quantity paremeterreduceOnly parameterBUY orders in LONG position side. and cannot be used with SELL orders in SHORT position sideselfTradePreventionMode is only effective when timeInForce set to IOC or GTC or GTD.GTD order auto cancel time might be delayed comparing to goodTillDateRequest parameters.
24 hour rolling window price change statistics. Careful* when accessing this with no symbol.
Weight: 1 for a single symbol; 40* when the symbol parameter is omitted
Notes:
Request parameters.
Change user's BNB Fee Discount (Fee Discount On or Fee Discount Off ) on EVERY symbol
Weight(IP): 1
Security Type: TRADE
Request parameters.
The proportion of net long and net short accounts to total accounts of the top 20% users with the highest margin balance. Each account is counted once only.
Long Account % = Accounts of top traders with net long positions / Total accounts of top traders with open positions
Short Account % = Accounts of top traders with net short positions / Total accounts of top traders with open positions
Long/Short Ratio (Accounts) = Long Account % / Short Account %
Security Type: MARKET_DATA
Notes:
Request parameters.
The proportion of net long and net short positions to total open positions of the top 20% users with the highest margin balance.
Long Position % = Long positions of top traders / Total open positions of top traders
Short Position % = Short positions of top traders / Total open positions of top traders
Long/Short Ratio (Positions) = Long Position % / Short Position %
Weight(IP): 0
Security Type: MARKET_DATA
Notes:
Request parameters.
Trading session schedules for the underlying assets of TradFi Perps are provided for a one-week period forward and one-week period backward starting from the day prior to the query time, covering the U.S. equity market, Korean equity market, Hong Kong equity market, and the commodity market.
Session types per market:
Weight(IP): 5
Get User Commission Rate
Weight(IP): 20
Security Type: USER_DATA
Request parameters.
Query user's Force Orders
Weight: 20 with symbol, 50 without symbol
Security Type: USER_DATA
Notes:
Request parameters.
Accept the offered quote by quote ID.
Weight(IP): 200
Security Type: USER_DATA