amazing-binance-mcp
v0.1.1MCP server for the Binance Spot + Wallet REST API (API-key auth, stdio).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
binance_get_convert_pairs
List the convertible asset pairs and their per-pair minimum/maximum amounts. Calls `GET /sapi/v1/convert/exchangeInfo` — **unauthenticated** (no key needed) but **IP weight 3000** of a 12,000/min budget, so four unfiltered calls exhaust a minute. The pair list barely changes: cache the answer and pass `from_asset`/`to_asset` to keep the response small. When to Use: - Before quoting, to check a pair is convertible at all and that the amount you plan to convert sits between `fromAssetMinAmount` and `fromAssetMaxAmount`. - To find what a given asset can be converted into (`from_asset="BTC"`…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_convert_asset_info
Show the decimal precision (`fraction`) Convert accepts for each asset. Calls `GET /sapi/v1/convert/assetInfo` (SIGNED, IP weight 100). `fraction` is the number of decimal places an amount may carry for that asset on the convert rail — sending more precision than this is what `-1111` rejects. When to Use: - Before `binance_get_convert_quote`, to round `from_amount`/`to_amount` correctly. - When a quote was rejected for precision. When NOT to Use: - To find which pairs exist or their min/max sizes — that is `binance_get_convert_pairs`. Returns: One row per asset: asset and its accepte…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_convert_quote
Request a convert quote: a reserved ratio, valid for 10 s to 2 minutes. Calls `POST /sapi/v1/convert/getQuote` (SIGNED, **UID weight 200**). This moves no funds — it is on the client's POST-read allowlist, so it works with the trading kill-switch off — but it is not free either: a quote is a short-lived reservation, so do not poll it in a loop. Nothing is converted until the quote is accepted with `binance_accept_convert_quote` before `validTimestamp`. After that instant the quoteId is void and a new quote is needed. When to Use: - To price a conversion (what you would receive, and at w…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_accept_convert_quote
Accept a convert quote and EXECUTE the conversion. This moves real funds. Calls `POST /sapi/v1/convert/acceptQuote` (SIGNED, **UID weight 500**). The conversion is **irreversible**: converting back needs a new quote at whatever ratio the market offers then, so the round trip costs the spread twice. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gate lives in the HTTP client, so no tool can bypass it. If you see that error, the operator has deliberately put the server in read-only mode — report it, do not try to…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_convert_order_status
Check one conversion's status by orderId or by the quoteId it came from. Calls `GET /sapi/v1/convert/orderStatus` (SIGNED, **UID weight 100**). Exactly one of `order_id` / `quote_id` — Binance rejects both together. When to Use: - After `binance_accept_convert_quote` returned PROCESS or ACCEPT_SUCCESS, to find out whether it settled. - After a timeout or 5xx on an acceptance, to learn whether the conversion happened before retrying anything. When NOT to Use: - For a list of past conversions — use `binance_get_convert_history`. - For resting limit orders — use `binance_get_convert_…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_convert_history
List past conversions, either for one <=30-day window or across a walked range. Calls `GET /sapi/v1/convert/tradeFlow` (SIGNED, **UID weight 3000 per call** of a 180,000/min budget — 60 calls a minute at most, and the default budget here spends 72,000 of it). Binance **requires both `startTime` and `endTime`** and caps the span at 30 days, and the endpoint has **no cursor/offset/page parameter of any kind**. The only continuation it offers is the `moreData` flag: when it is true, the same window is re-asked with `endTime = min(createTime)` (inclusive — an exclusive `- 1` would drop rows…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_place_convert_limit_order
Place a convert LIMIT order: convert automatically if the ratio is reached. Calls `POST /sapi/v1/convert/limit/placeOrder` (SIGNED, **UID weight 500**). The order rests until `limit_price` is reached or `expired_type` (1_D / 3_D / 7_D / 30_D) expires it. When it triggers it **spends real funds**, without asking again. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gate lives in the HTTP client, so no tool can bypass it. Check the pair's limits with `binance_get_convert_pairs` and the amount precision with `binanc…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_cancel_convert_limit_order
Cancel a resting convert limit order. Calls `POST /sapi/v1/convert/limit/cancelOrder` (SIGNED, **UID weight 200**). **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1` — cancellation is a signed non-GET like any other state change, so the same gate applies. When to Use: - To pull a convert limit order that no longer reflects the plan, before it triggers. When NOT to Use: - For a spot order — that is `binance_cancel_order`. - To undo a completed conversion: there is no such thing. Converting back needs a new quote at…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_convert_open_limit_orders
List the convert limit orders currently resting on the account. Calls `GET /sapi/v1/convert/limit/queryOpenOrders` (SIGNED, **UID weight 3000** of a 180,000/min budget) — cross-asset, no filters, so poll it sparingly. When to Use: - To see what convert limit orders are live, with their expiry instants. - Before placing another one, to avoid stacking duplicates. - After a timeout on a placement, to learn whether the order actually rested. When NOT to Use: - For completed conversions — `binance_get_convert_history`. - For spot open orders — `binance_get_open_orders`. Returns: One row p…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_fiat_orders
List fiat-rail deposit or withdraw orders (bank transfer/card top-up of the fiat wallet). Calls `GET /sapi/v1/fiat/orders`, signed. This is the **UID-weighted 45000** fiat-rail ledger — of the 180000/min UID budget that is at most **4 calls per minute**. Do not poll this tool in a loop; for a bulk backfill use `binance_get_fiat_history`, which already budgets calls. When to Use: - Seeing fiat bank-rail deposits into, or withdrawals out of, the fiat wallet (bank transfer, SEPA, card-funded top-ups of the *fiat* balance — not Spot). - Reconciling a specific order by scanning a narrow beg…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_fiat_payments
List crypto buy/sell payments made with fiat (bank transfer or bank-issued card). Calls `GET /sapi/v1/fiat/payments`, signed, IP weight 1 (cheap — unlike `fiat/orders`). A "Credit Card" `paymentMethod` here is a **bank-issued card buying crypto**, and is **NOT the Binance Card** — Binance Card spend has no API surface at all (`.memory/research/03-card-and-gaps.md` §1); the closest proxies are `binance_get_funding_wallet` and `binance_get_pay_transactions` (walletType 4/6). When to Use: - Seeing crypto bought or sold with fiat: source/obtained amounts, price, fee, payment method (buy o…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_fiat_history
Walk fiat deposit/withdraw or buy/sell history across pages and time windows. Tries ONE call spanning `beginTime=since` .. `endTime=now` (or `resume_before` when resuming) and pages `page` until a short page signals the end. If that wide-span attempt fails with a plausibly span-related HTTP error (commonly -1127, an undocumented span cap on these two endpoints), falls back to walking 30-day windows newest-first instead. Honors a `max_calls` budget so one invocation can never blow past the weight-limited call rate — deposits/withdrawals cost UID 45000/call (default budget 4, i.e. the whole…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_health_check
Verify connectivity, clock drift, and API-key permissions against Binance. Calls `GET /api/v3/ping` and `GET /api/v3/time` (public), then — when credentials are configured — `GET /sapi/v1/account/apiRestrictions` (signed) to report what the key is allowed to do. Also states whether the trading kill-switch (BINANCE_ALLOW_TRADING) is on. When to Use: - As the first call after configuring the server, to confirm the key signs correctly. - To debug -1021 (clock drift), -1022 (signature), or -2015 (permissions / IP) errors. When NOT to Use: - To read balances (use the spot/wallet account tool…
binance_get_exchange_info
Look up trading rules, symbol status, and order filters for spot symbols. Calls `GET /api/v3/exchangeInfo` (weight 20). Without `symbol`/`symbols`/`permissions`/ `symbol_status` this returns Binance's full symbol universe (3707+ symbols); the response is always capped at 50 symbols here — pass `symbol`/`symbols` to narrow it. When to Use: - Before placing an order, to read the LOT_SIZE/PRICE_FILTER/NOTIONAL/MARKET_LOT_SIZE filter values a quantity/price must respect (see `binance_place_order`). - To check whether a symbol is currently TRADING, HALTed, or in BREAK. - To discover which sym…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_order_book
Fetch the current order book (bids/asks) for a symbol. Calls `GET /api/v3/depth`. Weight tiers by `limit`: 1-100 → 5, 101-500 → 25 (this tool's cap is 500; Binance itself allows up to 5000 at weight 250, unavailable here). When to Use: - To see live liquidity/spread before sizing an order. - To validate a limit price against the current best bid/ask. When NOT to Use: - For the last traded price only — use `binance_get_book_ticker` (cheaper, weight 2/4). - For historical trades — use `binance_get_recent_trades` / `binance_get_agg_trades`. Returns: Markdown: top 50 levels per side as…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_recent_trades
Fetch the most recent public trades for a symbol. Calls `GET /api/v3/trades` (weight 25). Always returns the latest trades — there is no way to page backward here (use `binance_get_agg_trades` with `from_id` for that). When to Use: - To see the last executed prices/sizes and maker/taker mix for a symbol. When NOT to Use: - To page through trade history by id — use `binance_get_agg_trades`. - For your OWN trades — use `binance_get_my_trades` (signed). Returns: Markdown: a table of up to 100 trades (id, time, price, qty, side). JSON: the full requested page (up to `limit`), uncapped.…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_agg_trades
Fetch compressed/aggregate trades (same price, same taker order, same timestamp merged). Calls `GET /api/v3/aggTrades` (weight 4). Filter with `from_id` for a stable cursor walk, or `start_time`/`end_time` for a time window — **Binance rejects a start/end window wider than 1 hour on this endpoint**; slice a longer range into ≤ 1h calls. When to Use: - To page through historical trades by id (`from_id`), which `binance_get_recent_trades` cannot do. - To reconstruct a short time window of trade flow cheaply (weight 4 vs 25). When NOT to Use: - For the very latest trades with no filter â…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_klines
Fetch OHLCV candlestick data for a symbol. Calls `GET /api/v3/klines` (weight 2). When to Use: - For price history / technical analysis over a chosen interval and window. When NOT to Use: - For presentation-smoothed candles matching Binance's own chart UI — use `binance_get_ui_klines` instead. - For the single latest price — use `binance_get_ticker_price`. Returns: Markdown: a table of up to 100 candles (open time, OHLC, volume, close time). JSON: the raw array-of-arrays Binance returns (up to `limit`), uncapped. Pagination: Walk forward with `start_time` set to the previous page's…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_ui_klines
Fetch presentation-adjusted candlestick data, matching Binance's own chart UI. Calls `GET /api/v3/uiKlines` (weight 2). Same array shape and parameters as `binance_get_klines`; Binance smooths/adjusts these for display purposes. When to Use: - When the numbers need to match what a user sees on binance.com/binance app charts. When NOT to Use: - For raw exchange candles used in calculations — use `binance_get_klines`. Returns: Same shape as `binance_get_klines`: markdown table (capped at 100 rows) or JSON. Examples: params = {"symbol": "BTCUSDT", "interval": "1h", "limit": 200} Error Han…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_avg_price
Fetch the current average price over Binance's configured window (typically 5 min). Calls `GET /api/v3/avgPrice` (weight 2). When to Use: - As a smoothed reference price, e.g. for MARKET order sanity checks. When NOT to Use: - For the latest tick price — use `binance_get_ticker_price`. Returns: Markdown: the price, the averaging window in minutes, and the close time. JSON: the raw `{mins, price, closeTime}` object. Examples: params = {"symbol": "BTCUSDT"} Error Handling: An unknown symbol raises Binance `-1121 Invalid symbol`.
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_ticker_24h
Fetch 24-hour rolling price change statistics. Calls `GET /api/v3/ticker/24hr`. Weight: `symbol` → 2; `symbols` → 2 for 1-20, 40 for 21-100, 80 for 101+; **no symbol at all (all 3700+ symbols) → weight 80 — use sparingly.** When to Use: - For a market snapshot: price change %, high/low, volume over the last 24h. When NOT to Use: - For a fixed calendar-day window — use `binance_get_trading_day_ticker`. - For a custom rolling window — use `binance_get_rolling_ticker`. Returns: Markdown: up to 50 symbols as stat blocks. JSON: `count`/`shown` plus the tickers. Examples: params = {…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_ticker_price
Fetch the latest price for one, several, or all symbols. Calls `GET /api/v3/ticker/price`. Weight: `symbol` → 2; omitted or `symbols` → 4 (fetching ALL prices is a flat weight-4 call — cheap even for the whole market). When to Use: - For the current tick price with the least overhead of any ticker endpoint. When NOT to Use: - For bid/ask spread — use `binance_get_book_ticker`. - For 24h stats (change %, volume) — use `binance_get_ticker_24h`. Returns: Markdown: a symbol/price table, capped at 100 rows. JSON: `count`/`shown` plus prices. Examples: params = {"symbol": "BTCUSDT"} p…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_book_ticker
Fetch the best bid/ask price and quantity for one, several, or all symbols. Calls `GET /api/v3/ticker/bookTicker`. Weight: `symbol` → 2; omitted or `symbols` → 4. When to Use: - For the current spread and top-of-book size without the full depth of `binance_get_order_book`. When NOT to Use: - For multiple price levels — use `binance_get_order_book`. Returns: Markdown: a table of bid/ask price+qty per symbol, capped at 100 rows. JSON: `count`/`shown` plus the tickers. Examples: params = {"symbol": "BTCUSDT"} Error Handling: An unknown symbol raises Binance `-1121 Invalid symbol`.
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_rolling_ticker
Fetch price change statistics over an arbitrary rolling window. Calls `GET /api/v3/ticker` (weight 4 per symbol, capped at 200 once >50 symbols requested). Unlike `binance_get_ticker_24h`, the window is not fixed at 24 hours. When to Use: - For a custom window (e.g. 4h, 7d) that the fixed 24h/trading-day tickers don't cover. When NOT to Use: - For the standard 24h window — `binance_get_ticker_24h` is cheaper for that case. Returns: Markdown: stat blocks per symbol (up to 50 shown). JSON: `count`/`shown` plus tickers. Examples: params = {"symbol": "BTCUSDT", "window_size": "4h"} params =…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_trading_day_ticker
Fetch price change statistics for the current trading day (a fixed calendar window). Calls `GET /api/v3/ticker/tradingDay` (weight 4 per symbol, capped at 200 once >50 symbols requested; max 100 symbols per request). When to Use: - For "today's" stats aligned to a specific timezone's midnight — e.g. `time_zone="+08:00"`. When NOT to Use: - For a rolling 24h window instead of a calendar day — use `binance_get_ticker_24h`. Returns: Markdown: stat blocks per symbol (up to 50 shown). JSON: `count`/`shown` plus tickers. Examples: params = {"symbol": "BTCUSDT", "time_zone": "+08:00"} Error…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_place_oco_order
Place a REAL one-cancels-the-other pair (take-profit + stop). This spends real money. Calls `POST /api/v3/orderList/oco` (SIGNED, IP weight 1, unfilled-order count 2). Both legs carry the same `quantity` and the same `side`; when one triggers, Binance cancels the other. This is the bracket around a position you already hold (SELL) or the breakout/dip pair for one you want (BUY). **Kill-switch.** This call is refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gate lives in the HTTP client, so no tool can bypass it. If you see that erro…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_place_oto_order
Place a REAL one-triggers-the-other pair (entry, then follow-up). Real money. Calls `POST /api/v3/orderList/oto` (SIGNED, IP weight 1, unfilled-order count 2). The **working** leg (LIMIT or LIMIT_MAKER) goes on the book immediately. The **pending** leg is only placed once the working leg is **fully filled** — until then it sits in `PENDING_NEW` and does nothing. Cancelling either leg kills the whole list. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. **There is no dry-run for a list**; `binance_test_order` validat…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_place_otoco_order
Place a REAL entry that arms a take-profit/stop pair when it fills. Real money. Calls `POST /api/v3/orderList/otoco` (SIGNED, IP weight 1, unfilled-order count 3). The **working** leg (LIMIT or LIMIT_MAKER) rests on the book; once it is **fully filled**, the two **pending** legs go on as an OCO pair, so the first of them to trigger cancels the other. Cancelling any leg kills the whole list. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. **There is no dry-run for a list**; `binance_test_order` validates one order at a…
binance_get_order_list
Look up one order list — OCO, OTO or OTOCO — by id. Calls `GET /api/v3/orderList` (SIGNED, IP weight 4). No symbol is needed: pass exactly one id, `order_list_id` (Binance's numeric orderListId) or `orig_client_order_id` (the listClientOrderId used when placing). Both at once is rejected locally — Binance resolves the numeric id first and then rejects a mismatch, so the ambiguous call buys nothing. When to Use: - **After a 5xx or a timeout on a placement** — this is how you find out whether the list exists before considering a retry. - To check whether a bracket is still working, o…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_cancel_order_list
Cancel an ENTIRE order list — every leg of it — by id. Calls `DELETE /api/v3/orderList` (SIGNED, IP weight 1). Pass the symbol plus exactly one id: `order_list_id` or `list_client_order_id`. Both at once is rejected locally. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. Cancelling is idempotent in effect: a second cancel of the same list returns -2011 ("unknown order") and changes nothing. What it cannot undo is a fill — a leg that has already triggered is gone, and its sibling with it. Note that cancelling ON…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_all_order_lists
List this account's order lists — working, completed and cancelled — across symbols. Calls `GET /api/v3/allOrderList` (SIGNED, IP weight 20). There is **no symbol filter**: the endpoint is account-wide. Narrow it with `from_id` (lists with orderListId >= it) **or** a `start_time`/`end_time` window — Binance forbids combining them, and that is rejected locally. **The window may not exceed 24 hours**, also checked here so you get a clear message instead of Binance's -1127. When to Use: - Reconstructing which brackets existed during a given day. - Paging list history forward with a `from_…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_open_order_lists
List the order lists that are still working, across every symbol. Calls `GET /api/v3/openOrderList` (SIGNED, IP weight 6). The endpoint takes no filters — it is account-wide by construction, which is exactly what makes it the right first read before placing another bracket. When to Use: - Before placing a new bracket, to see what is already armed on the same position. - After a 5xx/timeout on a placement, when you have no id to query. When NOT to Use: - For one known list — `binance_get_order_list` (weight 4). - For lists that already finished — `binance_get_all_order_lists`. - For pl…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_pay_transactions
Fetch Binance Pay transactions (merchant payments, C2C, refunds, payouts) for the account. Calls `GET /sapi/v1/pay/transactions` (**UID weight 3000**). Binance Card spending is NOT available via API — this only shows Binance Pay activity; a payment funded *by* the Binance Card appears here with `walletType` 4 or 6 ("card"), which is the closest visibility this server has into card usage. When to Use: - To review recent (<= 90 day) Binance Pay activity: merchant payments, C2C transfers, refunds, crypto box, payouts, remittances. - To find which wallet funded a Pay payment — pass `wallet…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_pay_history
Walk up to 18 months of Binance Pay history, past the 90-day / 100-row API caps. Repeatedly calls `GET /sapi/v1/pay/transactions` (**UID weight 3000 per call**) in <=89-day windows, newest-first, from `since` (default: Binance's 18-month lookback plus a two-day margin; an older `since` is clamped to it) up to now, or up to a `resume_before` cursor from a previous truncated call. A window that comes back with exactly 100 rows (the page limit) is bisected — split at its midpoint and re-walked — so a dense period is not silently dropped; if bisection reaches its 1 ms floor and STILL gets a f…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_earn_flexible_positions
List the caller's Simple Earn Flexible subscriptions and their live APR. Calls `GET /sapi/v1/simple-earn/flexible/position` (SIGNED, USER_DATA). IP weight 150 per call (S1 spec, 2024-10 — Binance's docs site renders the Simple Earn pages empty, so this weight was not re-verified; treat it as approximate). When to Use: - To see which Flexible products you are subscribed to, how much is deposited, and the current (and tiered, when Binance returns tiers) annual percentage rate. - Before deciding whether to redeem or top up a Flexible position. When NOT to Use: - For time-locked Simple Earn…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_earn_locked_positions
List the caller's Simple Earn Locked subscriptions and their APY/redeem dates. Calls `GET /sapi/v1/simple-earn/locked/position` (SIGNED, USER_DATA). IP weight 150 per call (S1 spec, 2024-10 — same unverified caveat as `binance_get_earn_flexible_positions`; treat it as approximate). When to Use: - To see time-locked Earn positions: duration, accrued days, APY, and redeem date. - Before deciding whether to let a position auto-renew or opt out. When NOT to Use: - For on-demand redeemable positions — use `binance_get_earn_flexible_positions`. - For a single aggregate balance — use `binanc…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_earn_account
Summarize total Simple Earn holdings (Flexible + Locked) in BTC and USDT. Calls `GET /sapi/v1/simple-earn/account` (SIGNED, USER_DATA). IP weight 150 per call (S1 spec, 2024-10 — same unverified caveat as the position tools above). When to Use: - For a one-call snapshot of total Earn value without listing every position. When NOT to Use: - To see individual products or positions — use `binance_get_earn_flexible_positions` / `binance_get_earn_locked_positions`. Returns: A markdown block (or JSON with `response_format="json"`) with total, flexible-only, and locked-only amounts, each in…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_spot_account
Get spot account state: trade/withdraw/deposit flags, commission rates, balances. Calls `GET /api/v3/account` (SIGNED, USER_DATA). IP weight 20 per call. When to Use: - To check current spot balances (free + locked) for one or all assets. - To confirm whether the account can currently trade, withdraw, or deposit, and what its maker/taker/buyer/seller commission rates are. When NOT to Use: - For a specific symbol's commission (with any special/discount overrides) — use `binance_get_commission_rates`. - For non-spot wallets (Funding, Earn, ...) — use the wallet-account tools. Returns…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_commission_rates
Get the account's standard/special/tax commission rates for one symbol. Calls `GET /api/v3/account/commission` (SIGNED, USER_DATA). IP weight 20 per call. When to Use: - To see the exact maker/taker/buyer/seller commission that will apply on a given symbol, including any special-tier override, tax commission, or a BNB-style fee discount. When NOT to Use: - For the account's default (non-symbol-specific) commission rates — use `binance_get_spot_account`, which echoes `commissionRates` too. Returns: A markdown block (or JSON) with the symbol, standard/special/tax commission blocks (m…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_order_rate_limits
Get the account's current order-rate-limit usage (per-second/day order counts). Calls `GET /api/v3/rateLimit/order` (SIGNED, USER_DATA). **IP weight 40** per call — noticeably heavier than the other tools in this module; do not poll this tightly. When to Use: - Before a burst of order placements, to see how much of the ORDERS rate limit (per interval, e.g. 10s/1d) has already been used. - To debug a -1015 "Too many orders" rejection. When NOT to Use: - For the exchange-wide REQUEST_WEIGHT/RAW_REQUESTS limits — those come back in every response's rate-limit headers, not from this end…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_prevented_matches
List orders rejected by Self-Trade Prevention (STP) for a symbol. Calls `GET /api/v3/myPreventedMatches` (SIGNED, USER_DATA). IP weight 2 when queried by `prevented_match_id`, 20 when queried by `order_id`. When to Use: - To see which of your own orders were prevented from matching against each other (STP), including the price and quantity that was blocked. - To audit STP behavior for a specific order via `order_id`. When NOT to Use: - For orders that DID execute — use `binance_get_my_trades` (trade history). Returns: A markdown list (or JSON) of prevented matches: preventedMatchId, tr…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_allocations
List Smart Order Routing (SOR) allocations — the per-symbol fills behind an SOR order. Calls `GET /api/v3/myAllocations` (SIGNED, USER_DATA). IP weight 20 per call. When to Use: - To see how an SOR order (`binance_place_sor_order`) was actually filled across symbols, with per-allocation price/qty/commission. - To page through allocations for a specific order via `order_id`. When NOT to Use: - For regular (non-SOR) trade fills — use `binance_get_my_trades`. Returns: A markdown list (or JSON) of allocations: allocationId, orderId/orderListId, symbol, side (isBuyer), qty/price/quoteQty…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_place_twap_order
Place a REAL spot TWAP algo order on Binance. This spends real money. Calls `POST /sapi/v1/algo/spot/newOrderTwap` (SIGNED, **UID weight 3000** of a 180,000/min budget — call it sparingly). Binance splits `quantity` into sub-orders and works them over `duration` seconds, aiming at the time-weighted average price instead of taking the book in one hit. **Kill-switch.** This call is refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gate lives in the HTTP client, so no tool can bypass it. If you see that error, the operator has deliber…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_cancel_algo_order
Cancel a working spot TWAP algo order. Calls `DELETE /sapi/v1/algo/spot/order` (SIGNED, IP weight 1). Pass exactly one id: `algo_id` (Binance's numeric algoId) or `client_algo_id` (the 32-character id you supplied when placing). Both at once is refused locally — on a destructive call an ambiguous request is worse than a refused one. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. Cancelling is idempotent in effect: a second cancel of the same algo order changes nothing and comes back as a rejection. What it cannot u…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_open_algo_orders
List the spot TWAP algo orders that are still working, across every symbol. Calls `GET /sapi/v1/algo/spot/openOrders` (SIGNED, IP weight 1). It takes no filters: one call returns everything currently running, which is also how you check the **20 open algo orders** ceiling before placing another. When to Use: - Right after `binance_place_twap_order`, to confirm the order is actually working — the placement response only says "accepted". - Before placing a new TWAP, to see how many of the 20 slots are free. - After a 5xx/timeout on a placement, to find out whether the order exists. When N…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_algo_order_history
List finished spot TWAP algo orders — filled, cancelled or expired. Calls `GET /sapi/v1/algo/spot/historicalOrders` (SIGNED, IP weight 1). Every filter is optional: `symbol`, `side`, `start_time`, `end_time`. Binance's older reference marks symbol and side as mandatory; the current per-endpoint page makes both optional, which is what this tool follows — omit them for the whole account. No maximum window is documented for this endpoint, so none is enforced here. When to Use: - Reviewing how a TWAP actually executed once it is no longer open. - Reconciling a period: what algo orders ran,…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_algo_sub_orders
List the individual orders a TWAP placed on the book, with fills and fees. Calls `GET /sapi/v1/algo/spot/subOrders` (SIGNED, IP weight 1). A TWAP is executed as a stream of ordinary orders; this is the only place to see them — what each slice filled, at what average price, and what it cost in fees. When to Use: - Answering "what did this TWAP actually get me?" — the executedQty / executedAmt / fee totals for one algoId. - Auditing a cancelled TWAP: what traded before the cancel landed. When NOT to Use: - To find the algoId in the first place — that comes from `binance_get_open_alg…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_test_order
Validate an order against Binance's filters WITHOUT sending it to the order book. Calls `POST /api/v3/order/test` (SIGNED, IP weight 1 — **20** with `compute_commission_rates`). Binance runs the same validation as a real placement (signature, recvWindow, symbol status, LOT_SIZE / PRICE_FILTER / NOTIONAL, balance rules) and returns `{}` on success: nothing is matched, nothing rests on the book, no funds move. **This tool is always allowed.** It is on the client's `POST_READ_ALLOWLIST`, so it works with the trading kill-switch off (`BINANCE_ALLOW_TRADING` unset) — which makes it the right…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_place_order
Place a REAL spot order on Binance. This spends real money. Calls `POST /api/v3/order` (SIGNED, IP weight 1, unfilled-order count 1). A MARKET order executes immediately at whatever the book offers; a LIMIT order rests until it fills, expires or is cancelled. **Kill-switch.** This call is refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gate lives in the HTTP client, so no tool can bypass it. If you see that error, the operator has deliberately put the server in read-only mode — report it, do not try to work around it. **Always r…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_order
Look up one order — open, filled, cancelled or expired — by id. Calls `GET /api/v3/order` (SIGNED, IP weight 4). Pass the symbol plus exactly one id: `order_id` (Binance's numeric orderId) or `orig_client_order_id` (the id you supplied when placing). Both at once is rejected locally: Binance searches orderId first and would silently ignore a mismatched client id. When to Use: - **After a 5xx or a timeout on a placement** — this is how you find out whether the order exists before considering a retry. - To check the final state of an order that is no longer open. When NOT to Use: - To…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_cancel_order
Cancel one open spot order by id. Calls `DELETE /api/v3/order` (SIGNED, IP weight 1). Pass the symbol plus exactly one id — `order_id` or `orig_client_order_id`; both at once is rejected locally because Binance would resolve the numeric id and ignore a mismatched client id. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. Cancelling is idempotent in effect: a second cancel of the same order returns -2011 ("unknown order") and changes nothing. What it cannot undo is a fill — use `cancel_restrictions="ONLY_NEW"` to m…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_cancel_all_open_orders
Cancel EVERY open order on one symbol, including order-list legs. Calls `DELETE /api/v3/openOrders` (SIGNED, IP weight 1). This is a blunt instrument: it takes no id and cancels whatever is resting on that symbol, OCO/OTO lists included (their legs come back as order-list objects with `orderReports[]`). **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. When to Use: - Flattening the working orders on one symbol — a stop-out or a strategy reset. - When several orders must go and cancelling them one by one would race the…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_cancel_replace_order
Cancel one order and place its replacement in a single request. Calls `POST /api/v3/order/cancelReplace` (SIGNED, IP weight 1, unfilled-order count 1). Use it to reprice a resting order without the window of exposure that a separate cancel-then-place leaves open. **Kill-switch.** Refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The two halves can diverge, and `cancel_replace_mode` decides how: - `STOP_ON_FAILURE` — if the cancel fails, the new order is never attempted. - `ALLOW_FAILURE` — the new order is attempted regardless of th…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_open_orders
List the orders currently resting on the book. Calls `GET /api/v3/openOrders` (SIGNED). **Weight 6 with `symbol`, 80 without** — the no-symbol form scans every pair and costs more than a percent of the 6000/min IP budget in one call. Pass a symbol whenever you know it. When to Use: - To see what is working right now, before placing or cancelling anything. - After a 5xx/timeout on a placement, as a symbol-wide check when you have no id. When NOT to Use: - For one known order — `binance_get_order` costs weight 4 and is precise. - For orders that are no longer open — `binance_get_all_ord…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_all_orders
List a symbol's orders — open, filled, cancelled and expired alike. Calls `GET /api/v3/allOrders` (SIGNED, IP weight 20). Two ways to narrow it: `order_id` as a cursor (returns orders with orderId >= it) or a `start_time`/ `end_time` window. **The window may not exceed 24 hours** — that cap is checked here, before the call, so you get a clear message instead of Binance's -1127. Walk a longer span in 24 h slices, or page by `order_id`. When to Use: - Reconstructing what happened on a symbol in a given day. - Paging order history forward with an `order_id` cursor. When NOT to Use: - For w…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_my_trades
Fetch YOUR executed trades (fills) for one symbol. Calls `GET /api/v3/myTrades` (signed; IP weight **20**, or 5 when `order_id` is given). `symbol` is mandatory — Binance has no endpoint that returns trades across every symbol, which is what `binance_get_all_my_trades` exists to work around. Unlike the public trade endpoints, `isBuyer` here is **your own side** of the fill (public trades expose `isBuyerMaker`, the aggressor's side, instead). When to Use: - To see the fills of one pair, or of one order (`order_id`). - To check the exact price, fee and fee asset of a known trade. When NOT…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_discover_traded_symbols
Work out which symbols this account plausibly traded — Binance will not tell you. There is **no endpoint that lists an account's traded pairs**. Binance staff answered the question twice on their own developer forum, and both answers are workarounds: keep a local record from the user-data websocket stream, or infer the pairs from the account's assets (dev.binance.vision threads 4810 and 4329). This tool is the second answer, made cheap. It unions the assets the account visibly holds or held — `GET /api/v3/account` (weight 20, zero balances omitted), `POST /sapi/v3/asset/getUserAsset` (we…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_all_my_trades
Collect every fill across every symbol this account traded — the "all my trades" answer. Binance has no such endpoint (`myTrades` needs a `symbol`; staff confirm the gap on dev.binance.vision threads 4810 and 4329), so this tool does the only thing that works over REST: take a symbol list — yours, or one from `binance_discover_traded_symbols` — and walk each symbol by `fromId` at 1000 fills a page until a short page says that symbol is exhausted. Two brakes keep it inside the 6000/min IP budget. `max_weight` (default 3000 = 150 pages) is checked **before** every request, and the walk a…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_account_status
Report whether the account is in good standing with Binance. Calls `GET /sapi/v1/account/status` (SIGNED, IP weight 1). Binance flags accounts that trip abuse/AML controls (e.g. excessive order cancellation) here; a healthy account reports "Normal". When to Use: - Before an automated trading run, to confirm the account is not under review. - Alongside `binance_get_api_trading_status` when diagnosing rejected orders. When NOT to Use: - To read API-key permission flags — use `binance_get_api_restrictions`. - To read trading-specific locks/triggers — use `binance_get_api_trading_status`.…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_api_trading_status
Report whether spot trading is locked and what triggered it. Calls `GET /sapi/v1/account/apiTradingStatus` (SIGNED, IP weight 1). When Binance's abuse-prevention system trips (excessive cancel ratio, etc.) it locks trading for a cooldown window; this reports the lock state, the recovery ETA, and which trigger fired. When to Use: - When order placement starts failing for no obvious filter/balance reason, to check for a temporary account-wide trading lock. When NOT to Use: - To check the account's general standing — use `binance_get_account_status`. - To check key permission flags — use…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_api_restrictions
Report the full permission flag set on the configured API key. Calls `GET /sapi/v1/account/apiRestrictions` (SIGNED, IP weight 1) and renders every flag Binance returns, with the same warning wording as `binance_health_check` for a withdrawals-enabled or no-IP-allowlist key. When to Use: - To audit a key end-to-end — this is the full flag list. - Before enabling BINANCE_ALLOW_TRADING, to confirm trading is permitted and withdrawals are off. When NOT to Use: - For a quick post-startup connectivity+permissions check — use `binance_health_check`, which already calls this endpoint as pa…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_account_info
Report the account's VIP tier and which product lines are enabled. Calls `GET /sapi/v1/account/info` (SIGNED, IP weight 1). When to Use: - To check the account's VIP fee tier, or whether margin/futures/options are enabled before routing a request that assumes one of them. When NOT to Use: - To read balances or trading permissions — use `binance_get_spot_account` (spot_account.py) or `binance_get_api_restrictions`. Returns: A markdown block with `vipLevel` and the isMarginEnabled/isFutureEnabled/ isOptionsEnabled/isPortfolioMarginRetailEnabled flags, or raw JSON with `response_format=…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_account_snapshot
Return daily balance snapshots for the SPOT, MARGIN or FUTURES wallet. Calls `GET /sapi/v1/accountSnapshot` (SIGNED, **IP weight 2400** — a fifth of the 12000/min `/sapi` IP budget in a single call; call this sparingly, never in a tight loop). Binance only retains roughly the last month of snapshots and rejects windows of 30 days or more, so `start_time`/`end_time` are validated locally before the call to fail fast with a clear message. When to Use: - To reconstruct a historical balance curve ("what was I holding a week ago"). - As an occasional, deliberate call — not for polling the cur…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_system_status
Report whether the Binance system is up or under maintenance. Calls `GET /sapi/v1/system/status` (NONE — no key or signature needed, IP weight 1). When to Use: - Before assuming a failure is account-specific — rule out a Binance-wide maintenance window first. When NOT to Use: - To check THIS key's connectivity/permissions — use `binance_health_check`. Returns: `normal` or `maintenance` plus Binance's message, or raw JSON with `response_format="json"`. Examples: params = {} Error Handling: This endpoint needs no credentials at all; a failure here means Binance itself is unreac…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_delist_schedule
List symbols scheduled to be delisted, with their delisting date. Calls `GET /sapi/v1/spot/delist-schedule` (API key only — no signature, IP weight 100). Useful to avoid opening new positions in a symbol about to stop trading. When to Use: - Before placing a new order, to check the symbol is not on the delist schedule. - As a periodic sweep of open positions against upcoming delistings. When NOT to Use: - To check whether a symbol is trading right now — use `binance_get_exchange_info` (market_data.py) and read its `status` field. Returns: A markdown table of delist date → symbols,…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_funding_wallet
Read the Funding wallet — the wallet behind Binance Pay, Card and Gift Card. Calls `POST /sapi/v1/asset/get-funding-asset` (SIGNED, IP weight 1). Binance uses POST for this query; it is on the client's read allowlist, so it works with the trading kill-switch off. Per Binance's own documentation this endpoint "supports querying: Binance Pay, **Binance Card**, Binance Gift Card, Stock Token" — i.e. it is the Funding wallet, and the closest thing to a card balance the API exposes. When to Use: - To see what is sitting in Funding (Pay / Card / Gift Card / P2P proceeds). - Before a FUNDING_MA…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_user_assets
List the Spot wallet's non-zero balances, optionally valued in BTC. Calls `POST /sapi/v3/asset/getUserAsset` (SIGNED, IP weight 5). Another Binance query that uses POST; it is on the client's read allowlist and works with the trading kill-switch off. With no `asset` filter it returns every asset with a positive balance — unlike `/api/v3/account`, zero balances are omitted by Binance itself. When to Use: - For a compact "what do I actually hold on Spot" answer, with a BTC valuation. - As the asset seed for `binance_discover_traded_symbols` (trade_history.py). When NOT to Use: - For the ful…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_wallet_balances
Show one total per wallet: Spot, Funding, Cross/Isolated Margin, Futures, Earn… Calls `GET /sapi/v1/asset/wallet/balance` (SIGNED, **IP weight 60** — 60 of the 12000/min `/sapi` IP budget, so it is fine occasionally but not in a poll loop). Binance returns one row per wallet with its total value in `quote_asset` and whether the wallet is activated. When to Use: - First call when asking "where is my money" — it says which wallets hold anything before you spend weight listing assets wallet by wallet. - Before a transfer, to confirm the source wallet actually holds the balance. When NO…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_transfer_history
List past transfers between the account's own wallets, one direction at a time. Calls `GET /sapi/v1/asset/transfer` (SIGNED, IP weight 1). Unlike the POST that performs a transfer, this read does **not** need the key's "Permits Universal Transfer" flag. `type` is mandatory and Binance offers no "all directions" value: MAIN_FUNDING and FUNDING_MAIN are two separate queries, so a full Spot⇄Funding picture costs two calls. `MAIN_FUNDING` / `FUNDING_MAIN` is also the closest proxy to a Binance Card top-up log, since the card was funded out of the Funding wallet. When to Use: - To reconcile wh…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_dust_log
List past dust-to-BNB conversions, with the per-asset detail of each one. Calls `GET /sapi/v1/asset/dribblet` (SIGNED, IP weight 1). Binance returns "only the last 100 records" and "only records after 2020/12/01". When to Use: - To find out what a past "convert small balances to BNB" actually converted, and what the service charge was. - To check whether an asset disappeared because it was swept as dust. When NOT to Use: - To see what could be converted right now — use `binance_get_dust_convertible`. - To actually convert — that is `binance_convert_dust_to_bnb`. Returns: One markdown…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_dust_convertible
Preview which small balances can be converted to BNB, and what they are worth. Calls `POST /sapi/v1/asset/dust-btc` (SIGNED, IP weight 1). Binance uses POST for this query; it is on the client's read allowlist, so the preview works even with the trading kill-switch off. **Nothing is converted by this call.** When to Use: - Always, immediately before `binance_convert_dust_to_bnb` — it names the exact assets that are eligible and the BNB each one yields. When NOT to Use: - To see conversions that already happened — use `binance_get_dust_log`. Returns: A markdown table of asset / free a…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_asset_detail
Report per-asset deposit/withdraw status, withdraw fee and minimum. Calls `GET /sapi/v1/asset/assetDetail` (SIGNED, IP weight 1). Binance answers with a **map keyed by asset**, not a list. When to Use: - To check whether deposits or withdrawals are currently suspended for an asset. - To read an asset's withdraw fee and minimum before planning a movement elsewhere. When NOT to Use: - For per-network detail (which chain, its own fee/min) — use `binance_get_coin_config` (wallet_capital.py). - To actually withdraw: this server has no withdrawal tool, by design, and the HTTP client refuses…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_trade_fees
Report the maker/taker commission rates that apply to this account. Calls `GET /sapi/v1/asset/tradeFee` (SIGNED, IP weight 1). Without `symbol` Binance returns **every** symbol — thousands of rows — so the rendering is capped at 50 and the JSON output is clipped; pass `symbol` whenever you know it. When to Use: - To price a trade properly before placing it. - To confirm a VIP-tier or BNB-discount fee change took effect. When NOT to Use: - For the fee actually charged on an executed order — that is in the order's fills (`binance_place_order`) or in `binance_get_my_trades` (trade_hist…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_asset_dividends
List asset distributions credited to the account (airdrops, rebates, interest). Calls `GET /sapi/v1/asset/assetDividend` (SIGNED, IP weight 10). This is Binance's "asset dividend record": savings interest, BNB fee rebates, airdrops, referral payouts and similar credits, each with the reason in `enInfo`. When to Use: - To explain a balance that grew without a trade or a deposit. - To total up rebates/airdrops over a period. When NOT to Use: - For Simple Earn positions and their APR — use the earn tools (simple_earn.py). - For trades — use `binance_get_my_trades` (trade_history.py). Retu…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_transfer_between_wallets
Move funds between the account's OWN wallets (Spot ⇄ Funding ⇄ Margin ⇄ Futures). Calls `POST /sapi/v1/asset/transfer` (SIGNED, **UID weight 300** of the 180000/min UID budget). The funds stay inside this Binance account: this is an internal move between wallets, never a transfer to another user and never a withdrawal off the platform. No tool in this server can send funds out of Binance. **Kill-switch.** This call is refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gate lives in the HTTP client, so no tool can bypass it. If y…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_convert_dust_to_bnb
Convert small balances to BNB. **Irreversible** — the assets are sold for BNB. Calls `POST /sapi/v1/asset/dust` (SIGNED, UID weight 10). Every asset listed is swapped to BNB at Binance's dust rate, minus a service charge; there is no undo and no "cancel" endpoint. **Preview first.** Run `binance_get_dust_convertible` and pass only assets it listed: it names what qualifies and how much BNB each one yields, and it works even with the kill-switch off. **Kill-switch.** This call is refused with `Error: … trading is disabled …` unless the server runs with `BINANCE_ALLOW_TRADING=1`. The gat…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_deposit_history
List crypto deposits into the account for one window (up to 90 days). Calls `GET /sapi/v1/capital/deposit/hisrec` (SIGNED, IP weight 1). One call answers a single window; Binance caps that window at "less than 90 days" and defaults to the last 90 days when no times are given. The cap is enforced here, before the request, so an over-wide window fails with a readable message instead of -1127. When to Use: - "Did my USDT deposit land?" — a recent, bounded lookup. - Reconciling one month's deposits, or chasing one `tx_id`. When NOT to Use: - For the full history since the account opened — u…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_withdraw_history
List crypto withdrawals out of the account for one window (up to 90 days). Calls `GET /sapi/v1/capital/withdraw/history` (SIGNED). This is a **read** — this server can never submit a withdrawal: `POST /sapi/v1/capital/withdraw/apply` is on the client's forbidden-path list and no tool exists for it. ⚠️ **Cost: UID weight 18000 per call** (a tenth of the 180000/min per-account budget) **and a hard limit of 10 requests per second** on this endpoint — Binance reports the per-second usage in `X-SAPI-USED-UID-WEIGHT-1S`. Do not poll it. Each row includes `transactionFee`, the network fee…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_all_deposits
Every crypto deposit since `since` — the 90-day cap walked for you. Binance only answers 90 days at a time, so this walks `until` → `since` in 89-day windows, newest first, paging `offset` by 1000 inside each window until a short page proves it is drained. Rows are deduped by their Binance `id`, so overlapping windows (and a resumed run) can never double-count. `since` defaults to **2017-07-01, Binance's launch**: there is no API that reports when an account was created — `apiRestrictions.createTime` is the API KEY's date, not the account's — so "everything" means "since the exchange…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_all_withdrawals
Every crypto withdrawal since `since` — the 90-day cap walked for you. Same walk as `binance_get_all_deposits` (89-day windows newest-first, `offset` paging by 1000 inside each, dedupe by Binance `id`), against `GET /sapi/v1/capital/withdraw/history`. Reading only — this server can never submit a withdrawal. ⚠️ **Each call costs UID weight 18000** of the 180000/min per-account budget, and the endpoint separately allows only **10 requests per second**. That is why `max_calls` defaults to **10** — one full minute of UID budget — instead of the 60 the deposit walk uses. A full 2017â…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_deposit_address
Get the deposit address for one coin on one network. Calls `GET /sapi/v1/capital/deposit/address` (SIGNED, IP weight 10). Omitting `network` returns the coin's default network — which is NOT always the one you want; `binance_get_coin_config` lists every network with its `isDefault` flag. ⚠️ Sending a coin to an address on the wrong network loses the funds. Confirm the network before using the address, and use the `tag`/memo when one is returned. When to Use: - Before sending crypto into Binance from an external wallet. When NOT to Use: - To see every address already issued for a coin…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_deposit_addresses
List every deposit address issued for one coin, across networks. Calls `GET /sapi/v1/capital/deposit/address/list` (SIGNED, IP weight 10) and marks which address is the default for its network. When to Use: - To recognise an address you have used before, or to audit which addresses belong to this account. When NOT to Use: - To get an address to deposit to right now — `binance_get_deposit_address` returns the canonical one for a coin/network pair. Returns: A markdown table of network, address, tag and `isDefault`, capped at 50 rows, or raw JSON with `response_format="json"`. Examples…
| Parameter | Type | Description |
|---|---|---|
params * |
binance_get_coin_config
Per-coin deposit/withdraw switches, networks, fees and minimums. Calls `GET /sapi/v1/capital/config/getall` (SIGNED, **IP weight 10**). The endpoint takes no filter and returns every listed coin (hundreds), so `coin` is applied client-side after the call — the cost is the same either way, which is why it is worth calling once and reading several coins out of the JSON. This is where you learn, before moving anything: whether deposits/withdrawals are enabled at all for a coin, which networks it supports, which is the default, what each network charges (`withdrawFee`) and its minimum (`withdr…
| Parameter | Type | Description |
|---|---|---|
params * |