BinanceSubAccountCreateApiKey
Generate API keys for a Binance sub-account, specifying spot, margin, and futures trading permissions for controlled access.
Instructions
Create API key for a sub-account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subAccountId": "<subAccountId>",
"canTrade": "<canTrade>"
},
"name": "BinanceSubAccountCreateApiKey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canTrade | Yes | Enable spot and margin trading | |
| recvWindow | No | The value cannot be greater than 60000 | |
| marginTrade | No | Enable margin loan, repay and transfer | |
| futuresTrade | No | Enable futures trading | |
| subAccountId | Yes | Sub-account ID |