binance_get_user_assets
List non-zero Spot wallet balances and optionally value them in BTC, giving a compact snapshot of your actual holdings.
Instructions
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 full account view (permissions, commission rates, canTrade) — use
binance_get_spot_account(spot_account.py).For the Funding wallet — use
binance_get_funding_wallet.
Returns:
A markdown table of asset / free / locked / freeze / withdrawing / ipoable (plus BTC
valuation and a total when need_btc_valuation is set), capped at 50 rows, or the
raw Binance array with response_format="json".
Examples: params = {} params = {"asset": "BTC", "need_btc_valuation": True}
Error Handling:
-2015 means the key lacks Reading permission or this IP is not allowlisted. A 404
means the base URL has no /sapi (the spot testnet).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |