subaccount
Handle Bitget sub-accounts by intent: create, freeze, list, view assets, manage API keys, and query deposit addresses and records.
Instructions
[VERB] Sub-accounts by intent: create | createAgent | list | freeze | assets | API keys (apiKeys/createApiKey/modifyApiKey/deleteApiKey) | depositAddress | depositRecords.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | No | Withdrawal Whitelist IP Multiple IP addresses are supported A maximum of 30 IPs can be bound to a single key Only supports IPv4 | |
| coin | No | Coin filter for deposit reads. | |
| note | No | Note, cannot exceed 50 characters. | |
| size | No | Deposit Quantity - Only applies to BTC Lightning Network - Limit range: 0.000001 - 0.01. | |
| type | No | Permission Type read_write Read/Write read_only Read-only | |
| view | No | summary (default) trims null fields to save tokens; full returns the untouched payload. | |
| chain | No | Chain Name - The chain name can be obtained using the Get Currency Information API. | |
| limit | No | Items per page The default value is 100, and the maximum value is 100. | |
| action | Yes | What to do — create: create a sub-account (needs: username) | createAgent: create an Agent (broker) sub-account: username + passphrase (+ note) | list: list sub-accounts | freeze: freeze/unfreeze a sub-account (needs: subUid, operation) | assets: sub-account unified assets | apiKeys: list a sub-account's API keys (needs: subUid) | createApiKey: create a sub-account API key (needs: subUid, note, type, passphrase, permissions, ips) | modifyApiKey: modify a sub-account API key (needs: apikey, passphrase) | deleteApiKey: delete a sub-account API key (needs: apikey) | depositAddress: sub-account deposit address (needs: subUid, coin) | depositRecords: sub-account deposit history. | |
| apikey | No | Sub-account API Key | |
| cursor | No | Cursor ID Used for pagination. Do not pass it for the first query. For subsequent queries (second page and beyond), use the cursor returned from the previous query. | |
| dryRun | No | Preview a write without sending it. | |
| fields | No | Optional list (array or comma-separated string) of fields to keep on each returned row. | |
| subUid | No | Target sub-account uid. | |
| confirm | No | Required to execute destructive (high-risk) writes; without it such a call returns { confirmationRequired: true }. | |
| endTime | No | Query parameter endTime. | |
| fetchAll | No | Paged reads only: walk the cursor to bounded completion (returns { items, pages, truncated }). | |
| username | No | Generate a virtual email address username. It can only contain lowercase letters and cannot exceed 20 characters. | |
| operation | No | Operation Type: freeze Freeze unfreeze Unfreeze | | |
| startTime | No | Query parameter startTime. | |
| passphrase | No | Body field passphrase. | |
| accountMode | No | Sub-account Mode classic Classic Account Sub-account unified Unified Account Sub-account | |
| permissions | No | permission values <ul><li>Unified Account Permissions: uta_mgt Unified Account Management uta_trade Unified Account Trading </li></ul> |