binance_get_api_restrictions
Audit a Binance API key's full permission flags, including trading and withdrawal status, to confirm safe settings before enabling trading.
Instructions
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 part of a broader check.
Returns:
A markdown flag list (⚠️ next to anything risky), or raw JSON with
response_format="json".
Examples: params = {}
Error Handling: -2015 means the key lacks Reading permission or this IP is not allowlisted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |