Access cryptocurrency market data, portfolios and trading operations on Binance. Monitor assets, retrieve market information and automate crypto trading workflows.
Visual Studio Code runs MCP servers for Copilot Chat in agent mode, so the model can use external tools while it works on your code.
This guide connects Binance to VS Code through MewCP, so VS Code can use Binance's 131 tools, like get_spot_exchange_info, get_spot_execution_rules and get_spot_server_time, without your Binance credentials ever reaching the app.
Your Binance API key is stored encrypted and injected only at call time. Your agent never holds it, so it can never leak it, log it or paste it into a prompt.
More apps
Coinfuty provides cryptocurrency market intelligence for tracking digital asset prices, analyzing market trends, monitoring trading activity, and researching crypto opportunities to support data-driven investment decisions.
Access prediction market data, market positions and trading activity on Polymarket. Monitor markets, retrieve information and interact with forecasting-based financial products.
Trade, check margins, and review orders, portfolio, and fundamentals on Upstox — without leaving your agent. Retrieve user profile and fund/margin balances, estimate pre-trade margin across multiple instruments, look up order books and historical trades, review portfolio positions and holdings, pull company fundamentals by ISIN, and report trade-wise profit and loss by segment and financial year.
Coinversa Pulse provides real-time cryptocurrency market intelligence, enabling AI agents to track token prices, analyze market trends, monitor trading activity, and discover emerging opportunities across digital assets.
Other clients
Binance works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Binance tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
A browser window opens the first time the client connects. Sign in and approve access. No API key needed.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps.
Returns Binance Spot exchange trading rules, rate limits and per-symbol information (status, assets, precisions, allowed order types, filters, permissions). With no filter the response covers every symbol and is very large, so pass symbol, symbols or permissions to narrow it; permissions cannot be combined with symbol or symbols, and symbol_status cannot be combined with symbol or symbols. An unknown symbol returns an invalid-symbol error. Request weight is 20.
Returns the execution rules (such as price-range limits for bids and asks) for Binance Spot symbols. Pass at most one of symbol, symbols or symbol_status; combinations are not allowed, and with no parameters the rules for all symbols are returned. Request weight is 2 for symbol, 2 per symbol capped at 40 for symbols, and 40 for symbol_status or no parameters.
Returns the current Binance Spot server time in milliseconds since the Unix epoch.
Tests connectivity to the Binance Spot REST API and returns an empty data object on success.
Returns 24-hour rolling window price change statistics for one symbol, or for the symbols given in `symbols` (at most 100). With a single symbol the fields are returned directly; with `symbols` or when both are omitted they come back in `items`. Omitting both returns every symbol at request weight 80, and `symbols` weighs 2 for 1-20 symbols, 40 for 21-100. `type=MINI` omits several fields.
Returns the current average price for a symbol: the average price, the interval in minutes it covers, and the last trade time.
Returns the best bid and ask price and quantity on the order book for one symbol or a list of symbols. `symbol` and `symbols` cannot be combined; with neither, every symbol is returned in `items`.
Returns the order book depth for a symbol: lastUpdateId plus bids and asks, each entry being [price, quantity] as strings. Up to 5000 entries per side; request weight rises with limit (5 up to 100, 25 up to 500, 50 up to 1000, 250 up to 5000).
Returns the latest price for one symbol or a list of symbols. `symbol` and `symbols` cannot be combined; with neither, the prices of all symbols are returned in `items`.
Returns the reference price and its timestamp for a symbol. A symbol with no reference price set is rejected with code -2043.
Describes how the reference price is calculated for a symbol, returning the calculation type. bucketCount and bucketWidthMs are present only for ARITHMETIC_MEAN and externalCalculationId only for EXTERNAL.
Returns price change statistics over a rolling window (1m to 59m, 1h to 23h, 1d to 7d) for one symbol or up to 100 symbols; one of symbol or symbols is required. With `symbols` the entries come back in `items`. The actual interval can be up to 59999 ms longer than the requested window, and the weight is 4 per symbol, capped at 200 above 50 symbols. This differs from the 24hr ticker.
Returns price change statistics for the current trading day for one symbol or up to 100 symbols; one of symbol or symbols is required. With `symbols` the entries come back in `items`. The trading day boundary follows `time_zone`, and the weight is 4 per symbol, capped at 200 above 50 symbols.
Lists compressed aggregate trades for a symbol, where trades that fill at the same time, from the same taker order and at the same price have their quantity aggregated. Without from_id, start_time or end_time the most recent aggregate trades are returned; at most 1000 per call.
Lists block trades for a symbol starting from a given block trade ID, at most 1000 per call. Needs a Binance API key with no signature.
Lists older trades for a symbol, at most 1000 per call, starting from `from_id` or the most recent trades when it is omitted. Request weight is 25.
Lists kline (candlestick) bars for a symbol and interval, at most 1000 per call, uniquely identified by open time; the most recent klines are returned when start_time and end_time are omitted. Each item is a positional array of 12 entries: [0] open time, [1] open, [2] high, [3] low, [4] close, [5] volume, [6] close time, [7] quote asset volume, [8] number of trades, [9] taker buy base asset volume, [10] taker buy quote asset volume, [11] unused.
Lists the most recent trades for a symbol, at most 1000 per call. Returns each trade's ID, price, quantity, quote quantity, time and maker/best-match flags.
Lists UI kline bars for a symbol and interval, at most 1000 per call: the same parameters and response shape as klines but modified data optimized for presenting candlestick charts. The most recent klines are returned when start_time and end_time are omitted. Each item is a positional array of 12 entries: [0] open time, [1] open, [2] high, [3] low, [4] close, [5] volume, [6] close time, [7] quote asset volume, [8] number of trades, [9] taker buy base asset volume, [10] taker buy quote asset volume, [11] unused.
Get the connected Spot account's balances, commission rates, permissions and account flags (canTrade, canWithdraw, canDeposit). Set omit_zero_balances to return only non-zero balances. Reads the connected Binance account and needs an API key with read permission.
Get the connected account's commission rates for a symbol: standard, special and tax commission plus the BNB discount settings. Reads the connected Binance account and needs an API key with read permission.
Retrieve the exchange filters, symbol filters, asset filters and rate limits that apply to the connected account on a symbol; this is the only endpoint that shows whether MAX_ASSET filters apply to the account. Each filter item carries a filterType plus keys specific to that type. Reads the connected Binance account and needs an API key with read permission.
Get the connected account's unfilled order count for each order rate-limit interval, returning the rate limit type, interval, limit and current count. Reads the connected Binance account and needs an API key with read permission.
Retrieve one order list by order_list_id or by its client order ID (orig_client_order_id), returning its status and member orders. One of order_list_id or orig_client_order_id must be provided. Reads the connected Binance account and needs an API key with read permission.
Check the status and details of one order on a symbol, looked up by order_id or orig_client_order_id; one of the two must be provided. If both are given, order_id is searched first and the client order ID is checked against that order, otherwise the request is rejected. A cummulativeQuoteQty below zero on some historical orders means that data is not available. Reads the connected Binance account and needs an API key with read permission.
Retrieve the allocations resulting from SOR order placement for a symbol. The time between start_time and end_time can't exceed 24 hours; supported filters are start_time and/or end_time, from_allocation_id, or order_id (optionally with from_allocation_id). Reads the connected Binance account and needs an API key with read permission.
Retrieve all of the account's order lists, filtered by the optional from_id or by a start_time/end_time range that can't exceed 24 hours. from_id can't be combined with start_time or end_time. Reads the connected Binance account and needs an API key with read permission.
Get all account orders for a symbol, whether active, canceled or filled. If order_id is set, returns orders with an ID greater than or equal to it, otherwise the most recent orders; when start_time or end_time is given, order_id is not required, and the range can't exceed 24 hours. A cummulativeQuoteQty below zero on some historical orders means that data is not available. Reads the connected Binance account and needs an API key with read permission.
Get the connected account's trades for a symbol. If from_id is set, returns trades with an ID greater than or equal to it, otherwise the most recent trades; the start_time/end_time range can't exceed 24 hours. Request weight is 20 without order_id and 5 with it. Reads the connected Binance account and needs an API key with read permission.
List all of the account's open order lists with their status and member orders. Reads the connected Binance account and needs an API key with read permission.
Get all open orders on a symbol, or on all symbols when symbol is omitted. Request weight is 6 for a single symbol and 80 when symbol is omitted, so omit it with care. Reads the connected Binance account and needs an API key with read permission.
Query all amendments of a single order, identified by symbol and order_id, returning the original and new client order IDs and quantities for each amendment. Reads the connected Binance account and needs an API key with read permission.
List the orders that were expired due to self-trade prevention (STP) on a symbol. Supported combinations are symbol with prevented_match_id, symbol with order_id, and symbol with order_id and from_prevented_match_id (limit defaults to 500). Request weight is 2 when querying by prevented_match_id and 20 when querying by order_id. Reads the connected Binance account and needs an API key with read permission.
Returns 24-hour rolling window price change statistics for one USDⓈ-M futures symbol, or a list for every symbol when symbol is omitted. Weight is 1 for a single symbol and 40 when symbol is omitted.
Returns the asset index price for Multi-Assets mode for one asset pair, or a list for all pairs when symbol is omitted. The response also includes COIN-M settlement-asset price index entries such as BTCUSD, ETHUSD and BNBUSD. Weight is 1 with a symbol and 10 without.
Returns the best bid and ask price and quantity for one symbol, or a list for all symbols when symbol is omitted. Retail Price Improvement (RPI) orders are not visible and are excluded. Weight is 2 for a single symbol and 5 when symbol is omitted.
Returns composite index symbol information, including the base and quote asset weights of each component, for one symbol or a list when symbol is omitted. Applies only to composite index symbols.
Returns current exchange trading rules, rate limits and symbol information (contract type, status, precisions, filters, order types) for USDⓈ-M futures. The response covers every symbol and is large.
Returns funding rate cap, floor and interval hours for symbols that had a funding rate cap, floor or funding interval adjustment; other symbols are not included. Shares the 500/5min/IP rate limit with list_usdm_funding_rate_history.
Returns the constituents (exchange, symbol, price and weight) of the index price for a symbol. Prices from constituents of TradFi perpetuals are hidden and shown as -1.
Returns the insurance fund balance snapshot: the symbols each fund covers and its margin balance per asset. A single fund object is returned when symbol is given, otherwise a list of all funds.
Returns the long/short account ratio of all traders for a symbol over a statistics period. The most recent data is returned when start_time and end_time are omitted; only the latest 30 days are available. IP rate limit is 1000 requests/5min.
Returns the mark price, index price, latest funding rate and next funding time for one symbol, or a list for all symbols when symbol is omitted. Weight is 1 with a symbol and 10 without.
Returns the present open interest of a symbol.
Returns the order book for a symbol as bids and asks, each entry a [price, quantity] pair of strings, excluding Retail Price Improvement (RPI) orders. Weight depends on limit: 2 for 5 to 50, 5 for 100, 10 for 500 and 20 for 1000.
Returns the latest price for one symbol, or a list for all symbols when symbol is omitted. Weight is 1 for a single symbol and 2 when symbol is omitted.
Returns the order book for a symbol as bids and asks, each entry a [price, quantity] pair of strings, including aggregated Retail Price Improvement (RPI) orders. Crossed price levels are hidden. Weight is 20.
Tests connectivity to the REST API and returns the current server time in milliseconds.
Returns the symbol-level ADL (auto-deleveraging) risk rating (high, medium or low), updated every 30 minutes, for one symbol or a list for all symbols when symbol is omitted.
Returns the net long/short account proportion of the top 20% of users by margin balance for a symbol, counting each account once. Requires a Binance API key but no signature. The most recent data is returned when start_time and end_time are omitted; only the latest 30 days are available. IP rate limit is 1000 requests/5min.
Returns the net long/short position proportion of the top 20% of users by margin balance for a symbol. Requires a Binance API key but no signature. The most recent data is returned when start_time and end_time are omitted; only the latest 30 days are available. IP rate limit is 1000 requests/5min.
Returns trading session schedules (start time, end time and session type) for the underlying assets of TradFi perpetuals across the U.S., Korean, Hong Kong and China equity markets, the commodity market and the FX market. Covers one week backward and one week forward from the day before the query time.
Returns compressed aggregate trades, where market trades at the same price and taking side within 100ms are aggregated; insurance fund and ADL trades are not included. Only the past 48 hours can be queried, the span between start_time and end_time must be under 1 hour when both are sent, and sending from_id together with start_time/end_time can cause a timeout. The most recent trades are returned when from_id, start_time and end_time are omitted.
Returns the futures basis (index price, futures price, basis, basis rate and annualized basis rate) for a pair and contract type over a statistics period. The most recent data is returned when start_time and end_time are omitted; only the latest 30 days are available.
Returns kline/candlestick bars for a pair and contract type. Each item is a 12-element array: [open time, open, high, low, close, volume, close time, quote asset volume, number of trades, taker buy base asset volume, taker buy quote asset volume, unused]; all values are strings except the open time, close time and number of trades. The most recent bars are returned when start_time and end_time are omitted. Weight depends on limit: 1 below 100, 2 for 100 to 499, 5 for 500 to 1000 and 10 above 1000.
Returns the quarterly contract settlement (delivery) prices for a pair, each with its delivery time.
Returns funding rate history in ascending order. The most recent 200 records are returned when start_time and end_time are omitted, and if more records fall between them than limit, results start at start_time. Shares the 500/5min/IP rate limit with get_usdm_funding_rate_info.
Returns older market trades for a symbol (trades filled in the order book; insurance fund and ADL trades are not returned), limited to the last month. Requires a Binance API key but no signature. Weight is 200.
Returns kline/candlestick bars for the index price of a pair. Each item is a 12-element array: [open time, open, high, low, close, unused, close time, unused, unused, unused, unused, unused]; open time, close time and the ninth entry are integers and the rest strings. The most recent bars are returned when start_time and end_time are omitted. Weight depends on limit: 1 below 100, 2 for 100 to 499, 5 for 500 to 1000 and 10 above 1000.
Returns kline/candlestick bars for a symbol. Each item is a 12-element array: [open time, open, high, low, close, volume, close time, quote asset volume, number of trades, taker buy base asset volume, taker buy quote asset volume, unused]; all values are strings except the open time, close time and number of trades. The most recent bars are returned when start_time and end_time are omitted. Weight depends on limit: 1 below 100, 2 for 100 to 499, 5 for 500 to 1000 and 10 above 1000.
Returns kline/candlestick bars for the mark price of a symbol. Each item is a 12-element array: [open time, open, high, low, close, unused, close time, unused, unused, unused, unused, unused]; open time, close time and the ninth entry are integers and the rest strings. The most recent bars are returned when start_time and end_time are omitted. Weight depends on limit: 1 below 100, 2 for 100 to 499, 5 for 500 to 1000 and 10 above 1000.
Returns historical open interest statistics (open interest, its value and CMC circulating supply) for a symbol over a statistics period. The most recent data is returned when start_time and end_time are omitted; only the latest 1 month is available. Periods with no trades have no record and are omitted from the response without backfill. IP rate limit is 1000 requests/5min.
Returns premium index kline bars for a symbol. Each item is a 12-element array: [open time, open, high, low, close, unused, close time, unused, unused, unused, unused, unused]; open time, close time and the ninth entry are integers and the rest strings. The most recent bars are returned when start_time and end_time are omitted. Weight depends on limit: 1 below 100, 2 for 100 to 499, 5 for 500 to 1000 and 10 above 1000.
Returns recent market trades for a symbol (trades filled in the order book; insurance fund and ADL trades are not returned). Weight is 5.
Returns the taker buy/sell volume and ratio for a symbol over a statistics period. The most recent data is returned when start_time and end_time are omitted; only the latest 30 days are available. IP rate limit is 1000 requests/5min.
Tests connectivity to the USDⓈ-M Futures REST API and returns an empty result when the API is reachable.
Returns the USD-M Futures account configuration: fee tier, trading, deposit and withdraw permissions, position mode (dualSidePosition) and the multi-assets margin flag. Reads the connected Binance account and needs an API key with read permission.
Returns the current USD-M Futures account information (V3): total margin and balance figures plus per-asset details and positions for every symbol with a position or open orders. Values are USDT-only in single-asset mode and USD-denominated in multi-assets mode. Reads the connected Binance account and needs an API key with read permission.
Returns the position ADL quantile estimation per symbol, optionally for one symbol; values 0 to 4 show the ADL queue position and possibility from low to high and update every 30 seconds. LONG, SHORT and BOTH are returned for one-way or isolated hedge-mode positions; for cross-margined hedge-mode positions HEDGE is returned as a sign instead of BOTH. Reads the connected Binance account and needs an API key with read permission.
Returns the status and details of one algo (conditional) order such as TP/SL or trailing stop; either algo_id or client_algo_id is required. Orders are not found when CANCELED or EXPIRED with no fills and created more than 3 days ago, or created more than 90 days ago. Reads the connected Binance account and needs an API key with read permission.
Returns the trading quantitative-rules indicators (lock state, planned recovery time, value and trigger threshold) per symbol and for the ACCOUNT. Request weight is 1 with a symbol and 10 when symbol is omitted. Reads the connected Binance account and needs an API key with read permission.
Returns whether the BNB Fee Discount (fee burn) is on or off for the account. Reads the connected Binance account and needs an API key with read permission.
Returns the account's maker, taker and RPI commission rates for a USD-M Futures symbol. Reads the connected Binance account and needs an API key with read permission.
Returns whether the account is in Multi-Assets Mode or Single-Asset Mode, which applies to every symbol. Reads the connected Binance account and needs an API key with read permission.
Returns the details of one current open order on a USD-M Futures symbol; either order_id or orig_client_order_id is required. An order that has been filled or cancelled returns an "Order does not exist" error. Reads the connected Binance account and needs an API key with read permission.
Returns the status and details of one USD-M Futures order; either order_id or orig_client_order_id is required. Orders are not found when CANCELED or EXPIRED with no fills and created more than 3 days ago, or created more than 90 days ago. Reads the connected Binance account and needs an API key with read permission.
Returns the account's USD-M Futures order rate limits as a list of rate limit type, interval and limit. Reads the connected Binance account and needs an API key with read permission.
Returns whether the account is in Hedge Mode or One-way Mode, which applies to every symbol. Reads the connected Binance account and needs an API key with read permission.
Lists algo (conditional) orders for a symbol in any state (active, CANCELED, TRIGGERED, FINISHED), including TP/SL and trailing stop orders. If algo_id is set it returns orders with ID greater than or equal to it, otherwise the most recent; the time range must be under 7 days (default the recent 7 days), and CANCELED or EXPIRED orders with no fills are not found after 3 days. Reads the connected Binance account and needs an API key with read permission.
Lists account orders on USD-M Futures that are active, canceled or filled. If order_id is set it returns orders with ID greater than or equal to it, otherwise the most recent; the time range must be under 7 days (default the recent 7 days), and CANCELED or EXPIRED orders with no fills are not found after 3 days or any order after 90 days. Reads the connected Binance account and needs an API key with read permission.
Lists the USD-M Futures account balance per asset (wallet, cross wallet, available and withdrawable amounts). Reads the connected Binance account and needs an API key with read permission.
Lists the account's liquidation and auto-deleverage (ADL) force orders on USD-M Futures. Both types are returned when auto_close_type is omitted, and when start_time is omitted only data within 7 days before end_time can be queried. Request weight is 20 with a symbol and 50 without. Reads the connected Binance account and needs an API key with read permission.
Lists USD-M Futures income records (transfers, realized PnL, funding fees, commissions and similar). All income types are returned when income_type is omitted, the recent 7 days are returned when start_time and end_time are omitted, and only the last three months of history is available. Reads the connected Binance account and needs an API key with read permission.
Lists the account's notional and leverage brackets (max initial leverage, notional floor and cap, maintenance margin ratio) for all USD-M symbols, or for one symbol when symbol is given. Reads the connected Binance account and needs an API key with read permission.
Lists open algo (conditional) orders on USD-M Futures, including TP/SL and trailing stop orders, optionally filtered by algo type, symbol or algo ID. Orders for all symbols are returned when symbol is omitted, which costs request weight 40 instead of 1. Reads the connected Binance account and needs an API key with read permission.
Lists open orders on USD-M Futures for one symbol, or for all symbols when symbol is omitted, which costs request weight 40 instead of 1. Reads the connected Binance account and needs an API key with read permission.
Lists the modification history of a USD-M Futures order as amendments with before and after price and quantity; either order_id or orig_client_order_id is required, and order_id is used if both are sent. History older than 3 months is not available. Reads the connected Binance account and needs an API key with read permission.
Lists current USD-M Futures position information (V3); only symbols with a position or open orders are returned. Binance advises using it together with the ACCOUNT_UPDATE user data stream for timeliness and accuracy. Reads the connected Binance account and needs an API key with read permission.
Lists the account's per-symbol configuration on USD-M Futures: margin type, auto add margin, leverage and max notional value. Reads the connected Binance account and needs an API key with read permission.
Lists the account's trades for one USD-M Futures symbol. The last 7 days are returned when start_time and end_time are omitted, the span between them cannot exceed 7 days, from_id cannot be combined with start_time or end_time, and only the past 3 months can be queried. Reads the connected Binance account and needs an API key with read permission.
Returns 24-hour rolling price change statistics for one COIN-M futures symbol, all symbols of a pair, or all symbols when both are omitted. Symbol and pair cannot be sent together; request weight is 1 for a single symbol and 40 when symbol is omitted.
Returns the best bid and ask price and quantity on the order book for one COIN-M futures symbol, all symbols of a pair, or all symbols when both are omitted. Symbol and pair cannot be sent together; request weight is 2 for a single symbol and 5 when symbol is omitted.
Returns COIN-M futures exchange trading rules, rate limits and symbol information including filters, contract types and precisions.
Returns funding rate cap, floor and interval hours for COIN-M symbols whose funding parameters were adjusted.
Returns the exchanges, prices and weights that make up the index price of a COIN-M futures symbol.
Returns the global long/short account ratio history for a COIN-M pair at the chosen period. Only the latest 30 days are available; without startTime and endTime the most recent data is returned.
Returns mark price, index price, estimated settle price and funding data for one COIN-M futures symbol, all symbols of a pair, or all symbols when both are omitted. Funding fields apply to perpetual symbols only.
Returns the present open interest of a COIN-M futures symbol.
Returns the order book bids and asks for a COIN-M futures symbol; each entry is [price, quantity]. Request weight depends on limit: 2 for 5-50, 5 for 100, 10 for 500, 20 for 1000.
Returns the latest price for one COIN-M futures symbol, all symbols of a pair, or all symbols when both are omitted. Symbol and pair cannot be sent together; request weight is 1 for a single symbol and 2 when symbol is omitted.
Tests connectivity to the COIN-M REST API and returns the current server time in milliseconds.
Returns the long/short account ratio history of top traders (top 20% by margin balance) for a COIN-M pair, each account counted once. Only the latest 30 days are available; without startTime and endTime the most recent data is returned.
Returns the long/short position ratio history of top traders (top 20% by margin balance) for a COIN-M pair, based on open positions. Only the latest 30 days are available; without startTime and endTime the most recent data is returned.
Returns compressed aggregate trades for a COIN-M symbol, where fills within 100ms at the same price and side are combined (market trades only). Only the past 48 hours can be queried, startTime to endTime must span less than 1 hour, and sending fromId together with a time range can time out, so send one or the other. Request weight is 20.
Returns the futures basis history (index price, futures price, basis, basis rate and annualized basis rate) for a COIN-M pair and contract type. Only the latest 30 days are available; without startTime and endTime the most recent data is returned.
Returns kline/candlestick bars for a COIN-M pair and contract type. Each kline is a 12-element array: [open time, open, high, low, close, volume, close time, base asset volume, number of trades, taker buy volume, taker buy base asset volume, unused]. The startTime to endTime span can be at most 200 days; with no times given the most recent bars are returned. Request weight is 1-10 depending on limit.
Returns the funding rate history of a COIN-M perpetual symbol; an empty list is returned for delivery symbols.
Returns older market trades for a COIN-M symbol from the last month, starting at fromId or at the most recent trades. Reads market data with the connected Binance API key (no signature); request weight is 200.
Returns kline/candlestick bars for the index price of a COIN-M pair. Each kline is a 12-element array: [open time, open, high, low, close, unused, close time, unused, number of basic data, unused, unused, unused]. The startTime to endTime span can be at most 200 days; with no times given the most recent bars are returned. Request weight is 1-10 depending on limit.
Returns kline/candlestick bars for a COIN-M futures symbol. Each kline is a 12-element array: [open time, open, high, low, close, volume, close time, base asset volume, number of trades, taker buy volume, taker buy base asset volume, unused]. The startTime to endTime span can be at most 200 days; with no times given the most recent bars are returned. Request weight is 1-10 depending on limit.
Returns kline/candlestick bars for the mark price of a COIN-M futures symbol. Each kline is a 12-element array: [open time, open, high, low, close, unused, close time, unused, number of basic data, unused, unused, unused]. The startTime to endTime span can be at most 200 days; with no times given the most recent bars are returned. Request weight is 1-10 depending on limit.
Returns open interest statistics (in contracts and base asset) for a COIN-M pair at the chosen period. Only the latest 30 days are available; without startTime and endTime the most recent data is returned.
Returns premium index kline bars for a COIN-M futures symbol. Each kline is a 12-element array: [open time, open, high, low, close, unused, close time, unused, unused, unused, unused, unused]. Without startTime and endTime the most recent bars are returned; request weight is 1-10 depending on limit.
Returns recent market trades for a COIN-M futures symbol (insurance fund and ADL trades are excluded).
Returns taker buy and sell volume per period for a COIN-M pair and contract type. Only the latest 30 days are available; without startTime and endTime the most recent data is returned.
Tests connectivity to the COIN-M Futures REST API and returns an empty payload on success.
Gets the COIN-M Futures account overview, returning per-asset margin balances, positions, the trading, deposit and withdraw flags, and the fee tier. One-way Mode accounts see only BOTH positions; Hedge Mode accounts see BOTH, LONG and SHORT positions. Reads the connected Binance account and needs an API key with read permission.
Gets the position ADL quantile estimate, returning one entry per symbol with the quantile for each position side. Values 0 to 4 run from low to high ADL likelihood and refresh every 30 seconds; symbol is optional. Cross-margined Hedge Mode positions report HEDGE in place of BOTH. Reads the connected Binance account and needs an API key with read permission.
Gets the user's commission rates for a symbol, returning the maker and taker commission rates. Reads the connected Binance account and needs an API key with read permission.
Gets a single current open order by order ID or client order ID, returning its status and execution details. Either order_id or orig_client_order_id is required, and an order that has been filled or cancelled returns the error "Order does not exist". Reads the connected Binance account and needs an API key with read permission.
Gets an order's status by order ID or client order ID, returning its execution details. Either order_id or orig_client_order_id is required; a canceled or expired order with no fills is not found once it is older than 3 days, and no order is found once it is older than 90 days. Reads the connected Binance account and needs an API key with read permission.
Gets the user's position mode, which applies to every symbol, returning dualSidePosition (true for Hedge Mode, false for One-way Mode). Reads the connected Binance account and needs an API key with read permission.
Lists account orders (active, canceled or filled) for a symbol or pair, returning order records. Either symbol or pair is required and pair cannot be combined with order_id; with order_id set it returns orders from that ID onward, otherwise the most recent. The time range must be under 7 days (the last 7 days by default), and canceled or expired orders with no fills older than 3 days, or any order older than 90 days, are not returned. Reads the connected Binance account and needs an API key with read permission.
Lists the futures account balances, returning one record per asset with balance, withdrawable amount, cross wallet balance, cross unrealized PnL and available balance. Reads the connected Binance account and needs an API key with read permission.
Lists the user's force orders (liquidation or ADL), returning order records. Omitting auto_close_type returns both types, and only the past 90 days can be queried. Reads the connected Binance account and needs an API key with read permission.
Lists income history records such as funding fees, realized PnL, commissions and transfers, returning one record per flow. Omitting income_type returns all kinds of flow, and the time between start_time and end_time cannot be longer than 1 year. Reads the connected Binance account and needs an API key with read permission.
Lists the notional leverage brackets per symbol, returning each bracket's maximum initial leverage, base asset quantity range and maintenance margin ratio. symbol is optional. Reads the connected Binance account and needs an API key with read permission.
Lists all current open orders on a symbol or pair, returning order records. Calling without a symbol returns open orders across all symbols and costs more request weight (40 versus 1 for a single symbol). Reads the connected Binance account and needs an API key with read permission.
Lists the modification history of an order, returning amendment records with before and after price and quantity. Either order_id or orig_client_order_id is required (order_id is used when both are sent), and history older than 3 months is not available. Reads the connected Binance account and needs an API key with read permission.
Lists current position information, returning entry, mark and liquidation prices and margin details per position. Without margin_asset and pair, positions of all symbols with TRADING status are returned; One-way Mode accounts see only BOTH positions and Hedge Mode accounts see BOTH, LONG and SHORT positions. Reads the connected Binance account and needs an API key with read permission.
Lists the account's trades for a symbol or pair, returning trade records with price, quantity, commission and realized PnL. Exactly one of symbol or pair is required; order_id works only with symbol, and from_id cannot be combined with pair, start_time or end_time. The time range cannot exceed 7 days (the last 7 days by default) and only the past 3 months can be queried. Reads the connected Binance account and needs an API key with read permission.