binance-mcp-server
v1.0.4MCP server for Binance exchange - spot trading, staking, wallet, NFT, pay, mining, and more
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
BinanceDeleteOrder
Cancel an active order on Binance for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
orderId | string | The order ID to cancel |
origClientOrderId | string | Original client order ID |
BinanceAllOrders
Get all account orders for a specific symbol; active, canceled, or filled.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
endTime | number | End time in milliseconds |
limit | number | Maximum number of orders to return (default 500, max 1000) |
orderId | number | Order ID to start from |
startTime | number | Start time in milliseconds |
BinanceOpenOrderList
Query open OCO orders for a specific account or symbol.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceNewOrder
Create a new order on Binance for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
quantity * | number | Order quantity |
side * | string | Order side: BUY or SELL |
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
type * | string | Order type |
icebergQty | number | Iceberg quantity |
newClientOrderId | string | Client order ID |
newOrderRespType | string | Response type |
price | number | Order price |
quoteOrderQty | number | Quote order quantity |
stopPrice | number | Stop price |
timeInForce | string | Time in force |
BinanceGetOrder
Check an order's status on Binance for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
orderId | string | The order ID to query |
origClientOrderId | string | Original client order ID |
BinanceGetOpenOrders
Get all open orders on Binance for a specific symbol or all symbols.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceDeleteOpenOrders
Cancel all open orders on Binance for a specific symbol.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceOrderOco
Send a new OCO (One-Cancels-the-Other) order on Binance.
| Parameter | Type | Description |
|---|---|---|
price * | number | Order price |
quantity * | number | Order quantity |
side * | string | Order side: BUY or SELL |
stopPrice * | number | Stop price |
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
limitIcebergQty | number | Limit iceberg quantity |
newClientOrderId | string | Client order ID for the limit order |
stopClientOrderId | string | Client order ID for the stop order |
stopIcebergQty | number | Stop iceberg quantity |
stopLimitPrice | number | Stop limit price |
stopLimitTimeInForce | string | Stop limit time in force |
BinanceKlines
Get candlestick data (klines) for a specific trading pair and interval.
| Parameter | Type | Description |
|---|---|---|
interval * | string | Kline interval |
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
endTime | number | End time in milliseconds |
limit | number | Default 500; max 1000 |
startTime | number | Start time in milliseconds |
BinanceTicker24hr
Get 24-hour price change statistics for a symbol or all symbols.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceDepth
Get order book depth data for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
limit | number | Depth of the order book. Default 100; max 5000. |
BinanceAggTrades
Get compressed, aggregate trades for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
endTime | number | End time in milliseconds |
fromId | number | ID to get aggregate trades from |
limit | number | Default 500; max 1000 |
startTime | number | Start time in milliseconds |
BinanceTickerTradingDay
Get statistics for the current trading day for a symbol or all symbols.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceUiKlines
Get UI-optimized candlestick data for a specific trading pair and interval.
| Parameter | Type | Description |
|---|---|---|
interval * | string | Kline interval |
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
endTime | number | End time in milliseconds |
limit | number | Default 500; max 1000 |
startTime | number | Start time in milliseconds |
BinanceTickerBookTicker
Get best price/quantity on the order book for a symbol or all symbols.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceAvgPrice
Get current average price for a trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceTickerPrice
Get latest price for a symbol or all symbols.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
BinanceTicker
Get 24-hour rolling window price change statistics for a symbol or all symbols.
| Parameter | Type | Description |
|---|---|---|
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
windowSize | string | Defaults to 1d. Valid values: 1d, 2d, 3d, 4d, 5d, 6d, 7d |
BinanceHistoricalTrades
Get older historical trades for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
fromId | number | Trade ID to fetch from |
limit | number | Default 500; max 1000 |
BinanceGetTrades
Get recent trades for a specific trading pair.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
limit | number | Default 500; max 1000 |
BinanceMyPreventedMatches
Get prevented matches for Self-Trade Prevention.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
fromPreventedMatchId | number | Prevented match ID to fetch from |
limit | number | Default 500; max 1000 |
orderId | number | Order ID |
preventedMatchId | number | Prevented match ID |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGetAccount
Get current account information.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceMyAllocations
Get SOR allocations for Self-Trade Prevention.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
allocationId | number | Allocation ID |
fromAllocationId | number | Allocation ID to fetch from |
limit | number | Default 500; max 1000 |
orderId | number | Order ID |
recvWindow | number | The value cannot be greater than 60000 |
BinanceRateLimitOrder
Get current order count usage for each rate limit.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceAccountCommission
Get account commission rates for a specific symbol.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceMyTrades
Get trades for a specific account and symbol.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
endTime | number | End time in milliseconds |
fromId | number | Trade ID to fetch from |
limit | number | Default 500; max 1000 |
orderId | number | Order ID |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
BinanceNewUserDataStream
Create a new user data stream to receive account updates via WebSocket.
BinanceDeleteUserDataStream
Close a user data stream by invalidating the listen key.
| Parameter | Type | Description |
|---|---|---|
listenKey * | string | Listen key to close |
BinancePutUserDataStream
Extend the validity of a user data stream listen key.
| Parameter | Type | Description |
|---|---|---|
listenKey * | string | Listen key to keep alive |
BinancePing
Test connectivity to the Binance API.
BinanceTime
Get the current server time from Binance API.
BinanceExchangeInfo
Get exchange information including rate limits, symbol configs, etc.
| Parameter | Type | Description |
|---|---|---|
permissions | array | Array of permissions to filter by |
symbol | string | Symbol of the trading pair (e.g., BTCUSDT) |
symbols | array | Array of symbols to get info for |
BinanceVolumeParticipationNewTrade
The Volume Participation (VP) New Order API allows users to place a VP order on USDⓈ-M Contracts in Binance Futures.
| Parameter | Type | Description |
|---|---|---|
quantity * | number | Quantity of base asset; Notional must be between 10,000 and 1,000,000 USDT |
recvWindow * | integer | Time window for request validity |
side * | string | Trading side (BUY or SELL) |
symbol * | string | Symbol of the trading pair (e.g., BTCUSDT) |
urgency * | string | Execution speed: LOW, MEDIUM, HIGH |
clientAlgoId | string | A unique 32-character ID among Algo orders |
limitPrice | number | Limit price of the order; Defaults to market price if not sent |
positionSide | string | Default BOTH for One-way Mode; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode. |
reduceOnly | boolean | true or false. Default false; Cannot be sent in Hedge Mode or when opening a position |
BinanceTimeWeightedAveragePriceNewOrder
The Time-Weighted Average Price (TWAP) New Order API allows users to place a TWAP order on USDⓈ-M Contracts in Binance Futures. TWAP orders execute gradually over a specified duration to achieve a better average execution price while minimizing market impact.
| Parameter | Type | Description |
|---|---|---|
duration * | integer | Duration for TWAP orders in seconds. Must be between 300 and 86400 |
quantity * | number | Quantity of base asset; Notional must be between 1,000 and 1,000,000 USDT |
side * | string | Trading side (BUY or SELL) |
symbol * | string | Trading symbol (e.g., BTCUSDT) |
clientAlgoId | string | A unique 32-character ID among Algo orders |
limitPrice | number | Limit price of the order; Defaults to market price if not sent |
positionSide | string | Default BOTH for One-way Mode; LONG or SHORT for Hedge Mode. Must be sent in Hedge Mode. |
recvWindow | integer | Time window for request validity |
reduceOnly | boolean | true or false. Default false; Cannot be sent in Hedge Mode or when opening a position |
BinanceFutureCancelAlgoOrder
The Cancel Algo Order API allows users to cancel an active algorithmic order on USDⓈ-M Contracts in Binance Futures.
| Parameter | Type | Description |
|---|---|---|
algoId * | integer | Algo order ID (e.g., 14511) |
recvWindow | integer | Time window for request validity |
BinanceFutureSubOrders
The Sub Orders API retrieves sub-orders associated with a specified algoId for USDⓈ-M Contracts in Binance Futures.
| Parameter | Type | Description |
|---|---|---|
algoId * | integer | Algo order ID |
page | integer | Page number, default is 1 |
pageSize | integer | Number of results per page, MIN 1, MAX 100, default is 100 |
recvWindow | integer | Time window for request validity |
BinanceFutureCurrentAlgoOpenOrders
The Query Current Algo Open Orders API retrieves a list of currently active algorithmic orders for USDⓈ-M Contracts in Binance Futures.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
BinanceFutureHistoricalAlgoOrder
The Query Historical Algo Orders API retrieves a list of past algorithmic orders for USDⓈ-M Contracts in Binance Futures.
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds (e.g., 1641522526562) |
page | integer | Page number, default is 1 |
pageSize | integer | Number of results per page, MIN 1, MAX 100, default is 100 |
recvWindow | integer | Time window for request validity |
side | string | Trading side (BUY or SELL) |
startTime | integer | Start time in milliseconds (e.g., 1641522717552) |
symbol | string | Trading symbol (e.g., BTCUSDT) |
BinanceSpotTimeWeightedAveragePriceNewOrder
The TWAP (Time-Weighted Average Price) New Order API allows users to place TWAP algorithmic orders for USDⓈ-M Futures on Binance.
| Parameter | Type | Description |
|---|---|---|
duration * | integer | Duration for TWAP orders in seconds. Must be between 300 and 86400 |
quantity * | number | Quantity of base asset; Maximum notional per order is 200k, 2mm, or 10mm, depending on the symbol |
side * | string | Trading side (BUY or SELL) |
symbol * | string | Trading symbol (e.g., BTCUSDT) |
clientAlgoId | string | A unique 32-character ID among Algo orders. If not sent, a default value will be assigned |
limitPrice | number | Limit price of the order; Defaults to market price if not sent |
BinanceSpotCancelOpenTWAPOrder
The Cancel Algo Order API allows users to cancel an open TWAP algorithmic order for spot trading on Binance.
| Parameter | Type | Description |
|---|---|---|
algoId * | integer | Algo order ID (e.g., 14511) |
recvWindow | integer | Time window for request validity |
BinanceSpotSubOrders
The Query Sub Orders API retrieves details of sub-orders associated with a specific algorithmic (Algo) order for spot trading on Binance.
| Parameter | Type | Description |
|---|---|---|
algoId * | integer | Algo order ID |
page | integer | Page number, default is 1 |
pageSize | integer | Number of results per page, MIN 1, MAX 100, default is 100 |
recvWindow | integer | Time window for request validity |
BinanceSpotCurrentAlgoOpenOrders
This API retrieves all open SPOT TWAP (Time-Weighted Average Price) orders on Binance.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
BinanceSpotHistoricalAlgoOrders
This API retrieves all historical SPOT TWAP (Time-Weighted Average Price) orders from Binance.
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds (e.g., 1641522526562) |
page | integer | Page number, default is 1 |
pageSize | integer | Number of results per page, MIN 1, MAX 100, default is 100 |
recvWindow | integer | Time window for request validity |
side | string | Trading side (BUY or SELL) |
startTime | integer | Start time in milliseconds (e.g., 1641522717552) |
symbol | string | Trading symbol (e.g., BTCUSDT) |
BinanceSubscribeFlexibleProduct
Subscribe to a Simple Earn Flexible Product by specifying the product ID and amount. Optional parameters include auto-subscribe and source account.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to purchase |
productId * | string | Product ID |
autoSubscribe | boolean | true or false, default is true |
recvWindow | integer | Time window for request validity |
sourceAccount | string | Source account: SPOT, FUND, or ALL; default is SPOT |
BinanceRedeemFlexibleProduct
Allows users to redeem their funds from a Flexible Earn investment product using a programmatic HTTP POST request.
| Parameter | Type | Description |
|---|---|---|
productId * | string | Product ID |
amount | number | If redeemAll is false, amount is mandatory |
destAccount | string | Destination account: SPOT or FUND; default is SPOT |
recvWindow | integer | Time window for request validity |
redeemAll | boolean | true or false, default to false |
BinanceSimpleEarnFlexibleProductList
Retrieve a list of available Simple Earn Flexible Products, including details like APR, purchase status, and subscription limits.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol (optional) |
current | integer | Currently querying page. Starts from 1. Default: 1 |
recvWindow | integer | Time window for request validity |
size | integer | Page size. Default: 10, Max: 100 |
BinanceGetFlexibleProductPosition
Fetch your current holdings in Simple Earn Flexible Products, including total amount, reward rates, and redeem status.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol (optional) |
current | integer | Currently querying the page. Starts from 1. Default: 1 |
productId | string | Product ID (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Page size. Default: 10, Max: 100 |
BinanceSubscribeDualInvestmentProducts
Subscribe to Dual Investment products by providing product ID, order ID, deposit amount, and auto compound plan to initiate investment with specified terms.
| Parameter | Type | Description |
|---|---|---|
autoCompoundPlan * | string | Auto-compound plan: NONE (off), STANDARD, or ADVANCED |
depositAmount * | number | The amount for subscribing |
id * | string | Product ID from /sapi/v1/dci/product/list |
orderId * | string | Order ID from /sapi/v1/dci/product/list |
recvWindow | integer | Optional time window for request validity |
BinanceCheckDualInvestmentAccounts
Retrieve Dual Investment account balances, including total value in BTC and USDT equivalents.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Optional time window for request validity (max 60000) |
BinanceGetDualInvestmentPositions
Fetch Dual Investment positions in batch, including status, subscription details, APR, and settlement info. Filter by status or paginate results.
| Parameter | Type | Description |
|---|---|---|
pageIndex | integer | Page index, default 1 |
pageSize | integer | Number of items per page, default 10, max 100 |
recvWindow | integer | Optional time window for request validity (max 60000) |
status | string | Position status: PENDING (awaiting results), PURCHASE_SUCCESS, SETTLED, PURCHASE_FAIL, REFUNDING, REFUND_SUCCESS, or SETTLING. If not provided, returns all. |
registerBinanceChangeAutoCompoundStatus
Change the Auto-Compound plan for a Dual Investment position to NONE, STANDARD, or ADVANCED using the position ID.
| Parameter | Type | Description |
|---|---|---|
positionId * | string | Get positionId from /sapi/v1/dci/product/positions |
autoCompoundPlan | string | Auto compound plan: NONE, STANDARD, or ADVANCED |
recvWindow | integer | Optional time window for request validity (max 60000) |
BinanceGetDualInvestmentProductList
Retrieve available Dual Investment products (CALL or PUT options), specifying invest and exercised coins, to view details like APR, strike price, duration, and purchase availability.
| Parameter | Type | Description |
|---|---|---|
exercisedCoin * | string | Target exercised asset, e.g., USDT or BNB |
investCoin * | string | Asset used for subscribing, e.g., BNB or USDT |
optionType * | string | Input CALL or PUT |
pageIndex | integer | Page index, default is 1 |
pageSize | integer | Number of records per page, default 10, max 100 |
recvWindow | integer | Optional time window for request validity |
BinanceEthStakingAccount
ETH Staking Account API allows users to retrieve their current ETH staking holdings and 30-day profit details, including amounts from WBETH and BETH
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
BinanceGetCurrentEthStakingQuota
Get Current ETH Staking Quota API allows users to retrieve their available ETH staking and redemption quotas, reflecting personal and daily limits.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
BinanceGetEthRedemptionHistory
Get ETH Redemption History API allows users to retrieve their historical ETH staking redemption records, including details like asset type, amount, status, and time of redemption.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page, start from 1. Default is 1 |
endTime | integer | End time in milliseconds (e.g., 1641522526562) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page, Default is 10, Max is 100 |
startTime | integer | Start time in milliseconds (e.g., 1641522717552) |
registerBinanceGetEthStakingHistory
Get ETH Staking History API allows users to retrieve their historical ETH staking records, including details like asset type, amount, status, and time of staking
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default is 1 |
endTime | integer | End time in milliseconds (e.g., 1641522526562) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default is 10, Max is 100 |
startTime | integer | Start time in milliseconds (e.g., 1641522717552) |
BinanceGetWbethRateHistory
Get WBETH Rate History API allows users to retrieve historical WBETH exchange rates and BETH annual percentage rates (APR) within a specified time range.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Starts from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity (in milliseconds) |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
BinanceGetWbethRewardsHistory
Get WBETH Rewards History API allows users to retrieve historical reward data earned from WBETH holdings, including estimated rewards in ETH, holding amounts, and APR details.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (e.g., 1641522720000) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (e.g., 1641522717552) |
BinanceGetWbethUnwrapHistory
Get WBETH Unwrap History API allows users to retrieve historical records of WBETH unwrap operations, including asset conversion details, exchange rates, and transaction status.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity (in milliseconds) |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
BinanceGetWbethWrapHistory
Get WBETH Wrap History API allows users to retrieve historical records of WBETH wrap operations, including asset conversion details, exchange rates, and transaction status.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
BinanceRedeemEth
Redeem ETH API allows users to redeem WBETH or BETH for ETH, providing the amount, conversion ratio, and arrival time details.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in BETH, limit 8 decimals (mandatory) |
asset | string | Asset type, either WBETH or BETH. Default: BETH |
recvWindow | integer | Time window for request validity |
BinanceSubscribeEthStaking
Subscribe ETH Staking API allows users to stake ETH and receive WBETH, providing the staked amount and the conversion ratio for ETH to WBETH.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in BETH, limit 4 decimals (mandatory) |
recvWindow | integer | Time window for request validity |
BinanceWrapBeth
Wrap BETH API allows users to convert BETH into WBETH, providing the wrapped WBETH amount and the exchange rate from BETH to WBETH.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in BETH, limit 4 decimals (mandatory) |
recvWindow | integer | Time window for request validity |
BinanceClaimBoostRewards
Claim Boost Rewards API allows users to claim their Boost APR airdrop rewards for staking.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
registerBinanceGetBnsolRateHistory
Get BNSOL Rate History API allows users to retrieve the historical data of the BNSOL staking rate, including APR and exchange rates for SOL to BNSOL.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
BinanceGetBnsolRewardsHistory
Get Boost Rewards History API allows users to retrieve their historical boost rewards data for staking, including the amount of rewards, token type (e.g., SOL), and status of the rewards (e.g., CLAIM, DISTRIBUTE).
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
type | string | Type of action. Must be "CLAIM" or "DISTRIBUTE". Default: "CLAIM" |
BinanceGetBoostRewardsHistory
Get Boost Rewards History API allows users to retrieve their boost rewards history for staking activities. This includes the amount of rewards received, the token type (e.g., SOL), and the status of the rewards (e.g., CLAIM or DISTRIBUTE).
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
type | string | Type of action. Must be "CLAIM" or "DISTRIBUTE". Default: "CLAIM" |
BinanceGetSolRedemptionHistory
Get SOL Redemption History API allows users to retrieve their SOL redemption history, detailing the amount of BNSOL redeemed for SOL and the exchange rate.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
BinanceGetSolStakingHistory
Get SOL Staking History API allows users to retrieve their SOL staking history, including details about the amount of SOL staked, the equivalent BNSOL amount distributed, the exchange rate, and the status of each staking.
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1. Default: 1 |
endTime | integer | End time in milliseconds (optional) |
recvWindow | integer | Time window for request validity |
size | integer | Number of results per page. Default: 10, Max: 100 |
startTime | integer | Start time in milliseconds (optional) |
getSolStakingQuotaDetails
Get SOL Staking Quota API allows users to retrieve their current SOL staking quota, including information such as the remaining staking and redemption limits, minimum staking and redeem amounts, commission fees, and the status of staking and redemption availability.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
BinanceGetUnclaimedRewards
Get Unclaimed Rewards API allows users to retrieve information about unclaimed rewards from their SOL staking activities.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
registerBinanceRedeemSol
Redeem SOL API allows users to redeem BNSOL and receive SOL in exchange. It enables the conversion of BNSOL tokens into SOL based on the specified amount
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in BNSOL, limit to 8 decimals (mandatory) |
recvWindow | integer | Time window for request validity |
registerBinanceSolStakingAccount
SOL Staking Account API allows users to view their SOL staking account details, including their current BNSOL holdings, equivalent SOL balance, and the profit in SOL over the past 30 days.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Time window for request validity |
BinanceSubscribeSolStaking
Subscribe SOL Staking API allows users to stake SOL and receive BNSOL in return. This endpoint requires specifying the amount of SOL to stake, and the response includes the equivalent BNSOL amount and exchange rate for SOL to BNSOL.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in SOL (mandatory) |
recvWindow | integer | Time window for request validity |
BinanceGetC2CTradeHistory
Allows the user to retrieve their own past C2C trades, including details such as asset type, trade direction (BUY/SELL), fiat currency used, trade status, and more.
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds |
page | integer | Page number, default is 1 |
recvWindow | integer | Time window for request validity |
startTime | integer | Start time in milliseconds |
BinanceConvertGetListAllConvertPairs
Query available conversion pairs (like BTC to USDT), and shows the minimum and maximum allowed amounts for both the source and destination tokens.
| Parameter | Type | Description |
|---|---|---|
fromAsset | string | User spends coin |
toAsset | string | User receives coin |
BinanceConvertQueryOrderQuantityPrecisionPerAsset
Retrieve decimal precision (fraction) information for each supported asset in the Convert feature.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | The value cannot be greater than 60000 |
BinanceConvertAcceptQuote
The API confirms and executes a token conversion using a previously received quote ID.
| Parameter | Type | Description |
|---|---|---|
quoteId * | string | Quote ID |
recvWindow | integer | The value cannot be greater than 60000 |
BinanceConvertCancelLimitOrder
Cancels a previously placed limit order using the orderId and returns the cancellation status along with the orderId.
| Parameter | Type | Description |
|---|---|---|
orderId * | integer | The orderId from placeOrder API |
recvWindow | integer | Time window for request validity |
BinanceGetConvertTradeHistory
The API retrieves your token conversion trade history within a specified time range, with support for pagination using the limit parameter (up to 1000 records).
| Parameter | Type | Description |
|---|---|---|
endTime * | integer | End time in milliseconds |
startTime * | integer | Start time in milliseconds |
limit | integer | Default 100, Max 1000 |
recvWindow | integer | Time window for request validity |
BinanceConvertOrderStatus
The API checks the status of a token conversion order using either the orderId or quoteId, and returns details like conversion status, assets involved, amounts, exchange rate, and order creation time.
| Parameter | Type | Description |
|---|---|---|
orderId | string | Order ID (either this or quoteId is required) |
quoteId | string | Quote ID (either this or orderId is required) |
BinanceConvertPlaceLimitOrder
Places a limit order to convert between two tokens at a specified price, using either base or quote amount, with options for wallet type and order expiry.
| Parameter | Type | Description |
|---|---|---|
baseAsset * | string | Base asset (from `fromIsBase` in /exchangeInfo API) |
expiredType * | string | Expiration type: 1_D, 3_D, 7_D, or 30_D (D = days) |
limitPrice * | number | Symbol limit price (from baseAsset to quoteAsset) |
quoteAsset * | string | Quote asset |
side * | string | BUY or SELL |
baseAmount | number | Base asset amount (either this or quoteAmount is required) |
quoteAmount | number | Quote asset amount (either this or baseAmount is required) |
recvWindow | integer | Time window for request validity |
walletType | string | Type of assets used: SPOT, FUNDING, or SPOT_FUNDING. Default is SPOT |
BinanceConvertQueryLimitOpenOrders
Retrieves all your open limit orders for token conversions, showing details like assets, amounts, exchange rate, order status, and expiration time.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | This value must not exceed 60000 |
BinanceConvertSendQuoteRequest
Get a real-time quote to convert one token to another, including rate and amount, if you have enough funds.
| Parameter | Type | Description |
|---|---|---|
fromAsset * | string | Asset you will spend (required) |
toAsset * | string | Asset you will receive (required) |
fromAmount | number | Amount to be debited after conversion |
recvWindow | integer | The value cannot be greater than 60000 |
toAmount | number | Amount to be credited after conversion |
validTime | string | Quote validity duration: 10s, 30s, 1m; default is 10s |
walletType | string | SPOT or FUNDING. Default is SPOT |
BinanceGetFuturesLeadTraderStatus
Checks and returns whether the user is currently a Futures Lead Trader in Binance Copy Trading, along with the timestamp of the status check.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Optional time window for request validity |
BinanceGetFuturesLeadTradingSymbolWhitelist
Whitelist of trading pairs (symbols) that are allowed for Futures Lead Traders in copy trading, including base and quote assets.
| Parameter | Type | Description |
|---|---|---|
recvWindow | integer | Optional time window for request validity |
BinanceWalletDailyAccountSnapshot
Get daily account snapshot.
| Parameter | Type | Description |
|---|---|---|
type * | string | The account type (e.g., SPOT, MARGIN, FUTURES) |
endTime | number | End time in milliseconds |
limit | number | Default 7, max 30 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
BinanceWalletGetApiKeyPermission
Get API key permission.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletAccountInfo
Get Binance Wallet account information.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletAccountStatus
Get Binance Wallet account status.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletAccountApiTradingStatus
Get account API trading status.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletEnableFastWithdrawSwitch
Enable fast withdraw switch.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletDisableFastWithdrawSwitch
Disable fast withdraw switch.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletSystemStatus
Get Binance Wallet system status.
BinanceWalletGetSymbolsDelistScheduleForSpot
Get delist schedule for spot symbols.
BinanceWalletBrokerWithdraw
Initiate broker withdrawal with travel rule compliance.
| Parameter | Type | Description |
|---|---|---|
address * | string | Withdrawal address |
amount * | number | Withdrawal amount |
coin * | string | Coin symbol |
originatorPii * | string | Originator PII information |
questionnaire * | string | Travel rule questionnaire |
signature * | string | Signature |
subAccountId * | string | Sub-account ID |
withdrawOrderId * | string | Client order id |
addressTag | string | Secondary address identifier |
name | string | Address name |
network | string | Network |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletOnboardedVaspList
Get list of onboarded VASPs (Virtual Asset Service Providers).
BinanceWalletSubmitDepositQuestionnaire
Submit deposit questionnaire for broker deposit.
| Parameter | Type | Description |
|---|---|---|
beneficiaryPii * | string | Beneficiary PII information |
depositId * | string | Deposit ID |
questionnaire * | string | Travel rule questionnaire |
signature * | string | Signature |
subAccountId * | string | Sub-account ID |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletWithdrawHistoryV1
Get withdraw history (v1).
| Parameter | Type | Description |
|---|---|---|
coin | string | Coin symbol |
endTime | number | End time in milliseconds |
limit | number | Default 1000, max 1000 |
offset | number | Default 0 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
status | number | Withdraw status |
BinanceWalletDepositHistoryTravelRule
Get deposit history for travel rule.
| Parameter | Type | Description |
|---|---|---|
coin | string | Coin symbol |
endTime | number | End time in milliseconds |
limit | number | Default 1000, max 1000 |
offset | number | Default 0 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
status | number | Deposit status |
BinanceWalletWithdrawHistoryV2
Get withdraw history (v2).
| Parameter | Type | Description |
|---|---|---|
coin | string | Coin symbol |
endTime | number | End time in milliseconds |
limit | number | Default 1000, max 1000 |
offset | number | Default 0 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
status | number | Withdraw status |
BinanceWalletWithdrawTravelRule
Withdraw with travel rule compliance.
| Parameter | Type | Description |
|---|---|---|
address * | string | Withdrawal address |
amount * | number | Withdrawal amount |
coin * | string | Coin symbol |
questionnaire * | string | Travel rule questionnaire |
addressTag | string | Secondary address identifier |
name | string | Address name |
network | string | Network |
recvWindow | number | The value cannot be greater than 60000 |
withdrawOrderId | string | Client order id |
BinanceWalletSubmitDepositQuestionnaireTravelRule
Submit deposit questionnaire for travel rule.
| Parameter | Type | Description |
|---|---|---|
questionnaire * | string | Travel rule questionnaire |
tranId * | number | Transaction ID |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletUserAsset
Get user assets.
| Parameter | Type | Description |
|---|---|---|
needBtcValuation | boolean | Whether to include BTC valuation |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletFundingWallet
Get funding wallet balance.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol |
needBtcValuation | boolean | Whether to include BTC valuation |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletAssetDetail
Get asset details.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletTradeFee
Get trade fee.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
symbol | string | Trading pair symbol |
BinanceWalletUserUniversalTransfer
Make universal transfer between different accounts.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Transfer amount |
asset * | string | Asset symbol |
type * | string | Transfer type |
fromSymbol | string | Symbol for spot/margin trade pair |
recvWindow | number | The value cannot be greater than 60000 |
toSymbol | string | Symbol for spot/margin trade pair |
BinanceWalletQueryUserUniversalTransferHistory
Query universal transfer history.
| Parameter | Type | Description |
|---|---|---|
type * | string | Transfer type |
current | number | Current page |
endTime | number | End time in milliseconds |
fromSymbol | string | Symbol for spot/margin trade pair |
recvWindow | number | The value cannot be greater than 60000 |
size | number | Page size |
startTime | number | Start time in milliseconds |
toSymbol | string | Symbol for spot/margin trade pair |
BinanceWalletDustTransfer
Convert dust assets to BNB.
| Parameter | Type | Description |
|---|---|---|
asset * | array | Array of asset symbols to convert |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletDustlog
Get dust log (history of dust transfers).
| Parameter | Type | Description |
|---|---|---|
endTime | number | End time in milliseconds |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
BinanceWalletAssetDividendRecord
Get asset dividend record.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol |
endTime | number | End time in milliseconds |
limit | number | Default 20, max 500 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
BinanceWalletGetAssetsThatCanBeConvertedIntoBnb
Get assets that can be converted to BNB.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletToggleBnbBurnOnSpotTradeAndMarginInterest
Toggle BNB burn on spot trade and margin interest.
| Parameter | Type | Description |
|---|---|---|
interestBNBBurn | string | 'true' or 'false' for margin interest |
recvWindow | number | The value cannot be greater than 60000 |
spotBNBBurn | string | 'true' or 'false' for spot trade |
BinanceWalletGetCloudMiningPaymentAndRefundHistory
Get cloud mining payment and refund history.
| Parameter | Type | Description |
|---|---|---|
endTime * | number | End time in milliseconds |
startTime * | number | Start time in milliseconds |
page | number | Page number |
pageSize | number | Page size |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletQueryUserDelegationHistory
Query user delegation history.
| Parameter | Type | Description |
|---|---|---|
email * | string | Email address |
endTime * | number | End time in milliseconds |
startTime * | number | Start time in milliseconds |
limit | number | Results per page |
page | number | Page number |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletGetOpenSymbolList
Get open symbol list.
BinanceWalletQueryUserWalletBalance
Query user wallet balance.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletAllCoinsInformation
Get information for all coins.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletDepositAddress
Get deposit address for a specific coin.
| Parameter | Type | Description |
|---|---|---|
coin * | string | Coin symbol |
network | string | Network |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletDepositHistory
Get deposit history.
| Parameter | Type | Description |
|---|---|---|
coin | string | Coin symbol |
endTime | number | End time in milliseconds |
limit | number | Number of records to return |
offset | number | Pagination offset |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
status | number | Deposit status |
BinanceWalletWithdrawHistory
Get withdraw history.
| Parameter | Type | Description |
|---|---|---|
coin | string | Coin symbol |
endTime | number | End time in milliseconds |
limit | number | Number of records to return |
offset | number | Pagination offset |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
status | number | Withdraw status |
withdrawOrderId | string | Withdraw order ID |
BinanceWalletWithdraw
Submit a withdraw request.
| Parameter | Type | Description |
|---|---|---|
address * | string | Withdrawal address |
amount * | number | Withdrawal amount |
coin * | string | Coin symbol |
addressTag | string | Secondary address identifier (tag/memo) |
name | string | Address name |
network | string | Network |
recvWindow | number | The value cannot be greater than 60000 |
transactionFeeFlag | boolean | Pay fee with BNB |
walletType | number | Wallet type |
withdrawOrderId | string | Client order id |
BinanceWalletFetchDepositAddressListWithNetwork
Fetch deposit address with network.
| Parameter | Type | Description |
|---|---|---|
coin * | string | Coin symbol |
network | string | Network |
recvWindow | number | The value cannot be greater than 60000 |
BinanceWalletFetchWithdrawAddressList
Fetch withdraw address list.
BinanceWalletOneClickArrivalDepositApply
Apply for one-click arrival deposit.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
subAccountId | string | Sub-account ID |
BinanceGetFiatDepositWithdrawHistory
Fetches fiat deposit or withdrawal history, showing transaction details like amount, currency, method, status, and timestamps.
| Parameter | Type | Description |
|---|---|---|
transactionType * | string | Transaction type: 0 for deposit, 1 for withdraw |
beginTime | integer | Start time in milliseconds |
endTime | integer | End time in milliseconds |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
rows | integer | Number of records per page, default 100, max 500 |
BinanceGetFiatPaymentsHistory
Retrieves fiat buy/sell payment history, including trade amount, currency, crypto received, fees, status, payment method, and timestamps.
| Parameter | Type | Description |
|---|---|---|
transactionType * | string | Transaction type: 0 for buy, 1 for sell |
beginTime | integer | Start time in milliseconds |
endTime | integer | End time in milliseconds |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
rows | integer | Number of records per page, default 100, max 500 |
BinanceGetBorrowInterestRate
Retrieves the interest rates for borrowing assets. It provides both daily and yearly interest rates for multiple assets (e.g., BUSD, BTC). You can specify the assets by using a comma-separated list.
| Parameter | Type | Description |
|---|---|---|
loanCoin * | string | Max 10 assets, multiple split by ',' |
recvWindow | integer | Optional time window for request validity |
BinanceGetCollateralAssetData
Retrieves information about collateral assets, including collateral ratios and range values for different tiers of collateral. The ratios are used to determine the collateral requirement for various levels of borrowing.
| Parameter | Type | Description |
|---|---|---|
collateralCoin | string | Optional: Coin used as collateral |
recvWindow | integer | Optional time window for request validity |
BinanceGetLoanableAssetsData
Retrieves interest rates and borrowing limits for loanable assets. The borrow limit is expressed in USD. You can request information for specific assets or leave it empty to query all available assets.
| Parameter | Type | Description |
|---|---|---|
loanCoin | string | Optional: Coin for the loan |
recvWindow | integer | Optional time window for request validity |
vipLevel | integer | Optional: User's VIP level (default is user's vip level) |
BinanceVipLoanRenew
Allow VIP users to renew an existing VIP loan for a specified term, either 30 or 60 days.
| Parameter | Type | Description |
|---|---|---|
loanTerm * | number | Loan term in days, either 30 or 60 |
orderId * | integer | The order ID for the loan request |
recvWindow | integer | Optional: Time window for request validity |
BinanceVipLoanRepay
Allow VIP users to repay a specified amount of their active loan, partially or fully. It updates the remaining principal and interest, and provides the repayment status.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to be processed (decimal allowed) |
orderId * | integer | Order ID of the loan request |
recvWindow | integer | Optional time window for request validity |
BinanceVipLoanBorrow
Allow users (master account only) to apply for a loan by pledging collateral. Users specify the coin they want to borrow, the amount, and the collateral details.
| Parameter | Type | Description |
|---|---|---|
collateralAccountId * | string | Collateral account IDs, separated by commas |
collateralCoin * | string | Collateral coins, separated by commas |
isFlexibleRate * | boolean | TRUE: flexible rate, FALSE: fixed rate. Default: TRUE |
loanAccountId * | integer | Loan account ID |
loanAmount * | number | Loan amount as decimal |
loanCoin * | string | Loan coin (e.g., BTC, ETH) |
loanTerm | integer | Loan term (only required if fixed rate, e.g., 30/60 days) |
recvWindow | integer | Optional time window for request validity |
BinanceCheckVIPLoanCollateralAccount
Allow users to check their collateral accounts and the coins held as collateral. If the logged-in account is a loan account, it will return all associated collateral accounts. If it's a collateral account, it returns details of the current account only.
| Parameter | Type | Description |
|---|---|---|
collateralAccountId | integer | Optional collateral account ID |
orderId | integer | Optional order ID |
recvWindow | integer | Optional time window for request validity |
BinanceGetVIPLoanOngoingOrders
Allows VIP users to retrieve a list of their current active loan orders. Users can filter results by loan coin, collateral coin, order ID, or collateral account ID.
| Parameter | Type | Description |
|---|---|---|
collateralAccountId | integer | Optional collateral account ID |
collateralCoin | string | Optional collateral coin |
current | integer | Current page, start from 1, max 1000 |
limit | integer | Results per page, default 10, max 100 |
loanCoin | string | Optional loan coin |
orderId | integer | Optional order ID |
recvWindow | integer | Optional time window for request validity |
BinanceQueryApplicationStatus
Allows VIP users to check the status of their loan applications. It returns a list of loan requests with details such as loan coin, amount, term, collateral details, and current application status
| Parameter | Type | Description |
|---|---|---|
current | integer | Currently querying page. Start from 1, default 1, max 1000 |
limit | integer | Default: 10, Max: 100 |
recvWindow | integer | Optional time window for request validity |
BinancePortfolioMarginGetAccount
Get portfolio margin account information including account status, balances, and positions.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginGetAccountBalance
Query portfolio margin account balance.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol (e.g., BTC, USDT). If not provided, returns all assets |
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginGetCollateralRate
Query portfolio margin collateral rate for assets.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginGetAssetLeverage
Query portfolio margin asset leverage information.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginGetAssetIndexPrice
Query portfolio margin asset index price.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol (e.g., BTC, ETH). If not provided, returns all assets |
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginGetInterestHistory
Query portfolio margin interest history.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset symbol (e.g., BTC, USDT) |
endTime | number | End time in milliseconds |
recvWindow | number | The value cannot be greater than 60000 |
size | number | Number of results to return, default 10, max 100 |
startTime | number | Start time in milliseconds |
BinancePortfolioMarginGetBankruptcyLoanAmount
Query portfolio margin bankruptcy loan amount.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginRepayBankruptcyLoan
Repay portfolio margin bankruptcy loan.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginFundAutoCollection
Enable or configure fund auto-collection for portfolio margin account.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginFundCollection
Trigger fund collection by asset for portfolio margin account.
| Parameter | Type | Description |
|---|---|---|
asset * | string | Asset symbol to collect (e.g., BTC, USDT) |
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginBnbTransfer
Transfer BNB in/out of portfolio margin account.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of BNB to transfer |
transferSide * | string | Transfer direction: TO_UM (to UM account) or FROM_UM (from UM account) |
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginChangeAutoRepayFutures
Change the auto-repay-futures status for portfolio margin account.
| Parameter | Type | Description |
|---|---|---|
autoRepay * | boolean | Enable or disable auto-repay for futures |
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginGetAutoRepayFuturesStatus
Get the current auto-repay-futures status for portfolio margin account.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinancePortfolioMarginRepayFuturesNegativeBalance
Repay futures negative balance for portfolio margin account.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardCreateCode
Create a Binance Gift Card code. This allows you to generate a gift card with a specified token and amount.
| Parameter | Type | Description |
|---|---|---|
amount * | number | The amount of the token to include in the gift card |
token * | string | The token to include in the gift card (e.g., BNB, USDT) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardCreateDualTokenCode
Create a dual-token Binance Gift Card. This creates a gift card where the base token is exchanged to the face token for redemption.
| Parameter | Type | Description |
|---|---|---|
baseToken * | string | The token used as the base for the gift card (token you pay with) |
baseTokenAmount * | number | The amount of base token to convert |
faceToken * | string | The token the recipient will receive when redeeming |
discount | number | Discount percentage (if applicable) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardBuyCode
Buy a Binance Gift Card code using another token as payment. The base token is used to purchase a gift card of the face token.
| Parameter | Type | Description |
|---|---|---|
baseToken * | string | The token used to pay for the gift card (e.g., USDT) |
baseTokenAmount * | number | The amount of base token to spend |
faceToken * | string | The token the gift card will contain (e.g., BNB) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardRedeemCode
Redeem a Binance Gift Card code. The tokens will be credited to your account.
| Parameter | Type | Description |
|---|---|---|
code * | string | The gift card code to redeem |
externalUid | string | External unique identifier for the redemption |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardVerify
Verify a Binance Gift Card code to check its validity and status without redeeming it.
| Parameter | Type | Description |
|---|---|---|
referenceNo * | string | The reference number of the gift card to verify |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardRsaPublicKey
Fetch the RSA public key for encrypting gift card codes.
| Parameter | Type | Description |
|---|---|---|
recvWindow | number | The value cannot be greater than 60000 |
BinanceGiftCardGetTokenLimit
Fetch the token limits for buying gift cards, including minimum and maximum amounts.
| Parameter | Type | Description |
|---|---|---|
baseToken * | string | The base token to check limits for (e.g., USDT) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountCreateVirtual
Create a virtual sub-account under the master account. Requires master account API key.
| Parameter | Type | Description |
|---|---|---|
subAccountString * | string | The email address for the virtual sub-account |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetList
Query the list of sub-accounts under the master account.
| Parameter | Type | Description |
|---|---|---|
email | string | Sub-account email to filter |
isFreeze | string | Filter by freeze status: 'true' or 'false' |
limit | number | Results per page, default 1, max 200 |
page | number | Page number, default 1 |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetAssets
Query sub-account assets (balances).
| Parameter | Type | Description |
|---|---|---|
email * | string | Sub-account email |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetSpotSummary
Query sub-account spot assets summary for master account.
| Parameter | Type | Description |
|---|---|---|
email | string | Sub-account email (optional, returns all if not provided) |
page | number | Page number, default 1 |
recvWindow | number | The value cannot be greater than 60000 |
size | number | Results per page, default 10, max 20 |
BinanceSubAccountGetStatus
Get sub-account status including enable/disable status for margin and futures.
| Parameter | Type | Description |
|---|---|---|
email | string | Sub-account email (optional) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountEnableMargin
Enable margin trading for a sub-account.
| Parameter | Type | Description |
|---|---|---|
email * | string | Sub-account email |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetMarginSummary
Query sub-account margin account summary.
| Parameter | Type | Description |
|---|---|---|
email | string | Sub-account email (optional) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountEnableFutures
Enable futures trading for a sub-account.
| Parameter | Type | Description |
|---|---|---|
email * | string | Sub-account email |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetFuturesSummary
Query sub-account futures account summary.
| Parameter | Type | Description |
|---|---|---|
email | string | Sub-account email (optional) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetFuturesPositionRisk
Query sub-account futures position risk.
| Parameter | Type | Description |
|---|---|---|
email * | string | Sub-account email |
futuresType | number | 1: USDT Margined Futures, 2: COIN Margined Futures |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountTransferToSub
Transfer assets from master account to sub-account (SPOT).
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to transfer |
asset * | string | Asset to transfer (e.g., BTC, USDT) |
toEmail * | string | Sub-account email to transfer to |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountTransferToMaster
Transfer assets from sub-account to master account (SPOT). Must be called from sub-account API key.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to transfer |
asset * | string | Asset to transfer (e.g., BTC, USDT) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetTransferHistory
Query sub-account transfer history.
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset to filter by |
endTime | number | End time in milliseconds |
limit | number | Default 500, max 500 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
type | number | 1: transfer in, 2: transfer out |
BinanceSubAccountUniversalTransfer
Universal transfer between sub-accounts or between master and sub-accounts.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to transfer |
asset * | string | Asset to transfer |
fromAccountType * | string | Sender account type: SPOT, USDT_FUTURE, COIN_FUTURE, MARGIN, ISOLATED_MARGIN |
toAccountType * | string | Recipient account type: SPOT, USDT_FUTURE, COIN_FUTURE, MARGIN, ISOLATED_MARGIN |
fromEmail | string | Sender email (leave empty for master account) |
recvWindow | number | The value cannot be greater than 60000 |
symbol | string | Required when fromAccountType or toAccountType is ISOLATED_MARGIN |
toEmail | string | Recipient email (leave empty for master account) |
BinanceSubAccountGetUniversalTransferHistory
Query universal transfer history for sub-accounts.
| Parameter | Type | Description |
|---|---|---|
endTime | number | End time in milliseconds |
fromEmail | string | Sender email |
limit | number | Results per page, default 500, max 500 |
page | number | Page number, default 1 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
toEmail | string | Recipient email |
BinanceSubAccountGetDepositAddress
Get sub-account deposit address for a specific coin.
| Parameter | Type | Description |
|---|---|---|
coin * | string | Coin to get deposit address for (e.g., BTC, ETH) |
email * | string | Sub-account email |
network | string | Network to use (e.g., BTC, ETH, BSC) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetDepositHistory
Query sub-account deposit history.
| Parameter | Type | Description |
|---|---|---|
email * | string | Sub-account email |
coin | string | Coin to filter by |
endTime | number | End time in milliseconds |
limit | number | Default 500, max 500 |
offset | number | Default 0 |
recvWindow | number | The value cannot be greater than 60000 |
startTime | number | Start time in milliseconds |
status | number | 0: pending, 6: credited but cannot withdraw, 1: success |
BinanceSubAccountCreateApiKey
Create API key for a sub-account.
| Parameter | Type | Description |
|---|---|---|
canTrade * | boolean | Enable spot and margin trading |
subAccountId * | string | Sub-account ID |
futuresTrade | boolean | Enable futures trading |
marginTrade | boolean | Enable margin loan, repay and transfer |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountDeleteApiKey
Delete API key for a sub-account.
| Parameter | Type | Description |
|---|---|---|
subAccountApiKey * | string | API key to delete |
subAccountId * | string | Sub-account ID |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountUpdateIpRestriction
Update IP restriction for a sub-account API key.
| Parameter | Type | Description |
|---|---|---|
status * | string | IP restriction status: 1 - Restrict by IP, 2 - Unrestrict |
subAccountApiKey * | string | Sub-account API key |
subAccountId * | string | Sub-account ID |
ipAddress | string | IP address (comma-separated for multiple) |
recvWindow | number | The value cannot be greater than 60000 |
BinanceSubAccountGetApiKeyIpRestriction
Get IP restriction for a sub-account API key.
| Parameter | Type | Description |
|---|---|---|
subAccountApiKey * | string | Sub-account API key |
subAccountId * | string | Sub-account ID |
recvWindow | number | The value cannot be greater than 60000 |
BinanceGetNFTDepositHistory
Retrieves NFT deposit history, including network, contract address, token ID, transaction ID (if available), and timestamps.
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds |
limit | integer | Number of records to return, default 50, max 50 |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
startTime | integer | Start time in milliseconds |
BinanceGetNFTWithdrawHistory
Retrieves NFT withdraw history, including network, transaction ID, contract address, token ID, withdrawal fee, fee asset, and timestamps.
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds |
limit | integer | Number of records to return, default 50, max 50 |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
startTime | integer | Start time in milliseconds |
BinanceGetNFTTransactionHistory
Retrieves NFT transaction history, including purchase orders, sale orders, royalty income, primary market orders, and mint fees. It returns details about the NFT network, token IDs, contract addresses, transaction times, trade amounts, and the currencies used in the transactions.
| Parameter | Type | Description |
|---|---|---|
orderType * | number | Order type: 0 for purchase order, 1 for sell order, 2 for royalty income, 3 for primary market order, 4 for mint fee |
endTime | integer | End time in milliseconds |
limit | integer | Number of records to return, default 50, max 50 |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
startTime | integer | Start time in milliseconds |
BinanceGetNFTAsset
Retrieve NFT assets associated with a user's account. It returns details about the network, contract address, and token IDs for each NFT asset.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of records to return, default 50, max 50 |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
BinanceGetPayTradeHistory
Retrieve Binance Pay trade history using GET to fetch transaction records such as C2C transfers, merchant payments, crypto box activity, refunds, payouts, and remittance details.
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds |
limit | integer | Number of records to return, default 100, max 100 |
recvWindow | integer | Optional time window for request validity |
startTime | integer | Start time in milliseconds |
BinanceGetSpotRebateHistoryRecords
Retrieve the history of spot rebate records, including commission rebates and referral kickbacks, for the past 7 days or a custom date range (within 30 days).
| Parameter | Type | Description |
|---|---|---|
endTime | integer | End time in milliseconds |
page | integer | Page number, default is 1 |
recvWindow | integer | Optional time window for request validity |
startTime | integer | Start time in milliseconds |
BinanceAcquiringAlgorithm
Retrieve a list of available mining algorithms, including their name, ID, sequence, and unit.
BinanceAcquiringCoinName
Fetch supported mining coins with details like coin name, ID, algorithm name, and associated algorithm ID.
BinanceHashRateResaleList
Returns the list of hashRate resale configurations including transfer details such as algorithm, hashrate amount, sender and receiver pool usernames, start and end dates, and status of the transfer.
| Parameter | Type | Description |
|---|---|---|
pageIndex | integer | Page number, default is the first page starting from 1 |
pageSize | integer | Number of records per page, min 10, max 200 |
recvWindow | integer | Optional time window for request validity |
BinanceRequestForMinerList
Retrieves a list of miners (workers) associated with a mining account, including details such as miner name, status, real-time hashrate, 24H hashrate, rejection rate, and last submission time.
| Parameter | Type | Description |
|---|---|---|
algo * | string | Algorithm (e.g., sha256) |
userName * | string | Mining account username |
pageIndex | integer | Page number, default is first page, starting from 1 |
recvWindow | integer | Optional: cannot be greater than 60000 |
sort | integer | Sort sequence: 0 = ascending (default), 1 = descending |
sortColumn | integer | Sort by (default = 1): 1: miner name, 2: real-time computing power, 3: daily average computing power, 4: real-time rejection rate, 5: last submission time |
workerStatus | integer | Miner status (default = 0): 0 = all, 1 = valid, 2 = invalid, 3 = failure |
BinanceRequestForDetailMinerList
Retrieves detailed hashrate data for a specific miner, including both hourly (H_hashrate) and daily (D_hashrate) metrics such as time, hashrate, and rejection rate.
| Parameter | Type | Description |
|---|---|---|
algo * | string | Algorithm (e.g., sha256) |
userName * | string | Mining account username |
workerName * | string | Miner’s name (required), e.g., bhdc1.16A10404B |
recvWindow | integer | Optional: cannot be greater than 60000 |
BinanceExtraBonusList
Retrieves extra bonuses related to mining activities, including merged mining, activity bonuses, rebates, smart pool bonuses, income transfers, and pool savings.
| Parameter | Type | Description |
|---|---|---|
algo * | string | Transfer algorithm (e.g., sha256) |
userName * | string | Mining account username |
coin | string | Coin name (optional) |
endDate | number | Search end date (milliseconds timestamp, optional) |
pageIndex | integer | Page number, default is 1 |
pageSize | integer | Number of pages, minimum 10, maximum 200 |
recvWindow | integer | Optional: cannot be greater than 60000 |
startDate | number | Search start date (milliseconds timestamp, optional) |
BinanceEarningsList
Retrieves list of earnings related to mining activities, including transferred hashrate, daily hashrate, profit amount, and the status of the payment (unpaid, paying, or paid).
| Parameter | Type | Description |
|---|---|---|
algo * | string | Transfer algorithm (e.g., sha256) |
userName * | string | Mining account username |
coin | string | Coin name (optional) |
endDate | number | Search end date (milliseconds timestamp, optional) |
pageIndex | integer | Page number, default is the first page starting from 1 |
pageSize | integer | Number of pages, minimum 10, maximum 200 |
recvWindow | integer | Optional: cannot be greater than 60000 |
startDate | number | Search start date (milliseconds timestamp, optional) |
BinanceCancelHashRateResaleConfiguration
Cancel an existing hashrate resale configuration using the mining ID and account details.
| Parameter | Type | Description |
|---|---|---|
configId * | integer | Mining ID |
userName * | string | Mining Account |
recvWindow | integer | Optional: cannot be greater than 60000 |
BinanceHashRateResaleDetail
Retrieves details of hashrate resale transactions, including the transferring and receiving subaccounts, algorithm, hash rate, transfer date, and associated income.
| Parameter | Type | Description |
|---|---|---|
configId * | integer | Mining ID |
userName * | string | Mining Account |
pageIndex | integer | Page number, default is the first page starting from 1 |
pageSize | integer | Number of pages, minimum 10, maximum 200 |
recvWindow | integer | Optional: cannot be greater than 60000 |
BinanceMiningAccountEarning
Retrieves the earnings associated with a mining account, including the type of earnings (e.g., rebate, referral, refund), sub-account ID, the mining account name, and the amount earned. It also supports pagination for large data sets.
| Parameter | Type | Description |
|---|---|---|
algo * | string | Algorithm (e.g., sha256) |
endDate | integer | Millisecond timestamp for the end date |
pageIndex | integer | Page number, default is 1 |
pageSize | integer | Number of records per page, min 10, max 200 |
recvWindow | integer | Optional: cannot be greater than 60000 |
startDate | integer | Millisecond timestamp for the start date |
BinanceStatisticList
Retrieve mining statistics for a specific account, including hash rates for the past 15 minutes and 24 hours, the number of valid and invalid mining units, and the estimated profit for today and yesterday in various cryptocurrencies.
| Parameter | Type | Description |
|---|---|---|
algo * | string | Algorithm (e.g., sha256) |
userName * | string | Mining account username |
recvWindow | integer | Optional: Time window for request validity |
BinanceHashRateResaleRequest
Retrieve a request for setting up a hashrate resale, specifying the mining account, algorithm, start and end times, target mining account for resale, and the amount of hashrate to transfer
| Parameter | Type | Description |
|---|---|---|
algo * | string | Transfer algorithm (e.g., sha256) |
endDate * | integer | Resale End Time (Millisecond timestamp) |
hashRate * | integer | Resale hashrate h/s must be transferred (BTC > 500000000000, ETH > 500000) |
startDate * | integer | Resale Start Time (Millisecond timestamp) |
toPoolUser * | string | Mining Account of the recipient pool user |
userName * | string | Mining Account |
recvWindow | integer | Optional: Time window for request validity |
BinanceAccountList
Retrieve hashrate statistics for a mining account. It returns both hourly (H_hashrate) and daily (D_hashrate) data, including timestamps, hashrate values, and rejection rates.
| Parameter | Type | Description |
|---|---|---|
algo * | string | Algorithm (e.g., sha256) |
userName * | string | Mining account |
recvWindow | integer | Optional time window for request validity |