OKX API Master and Sub-Accounts Asset Transfer Guide

ยท

Understanding OKX Account Structure

OKX's account system consists of master accounts and sub-accounts. A single master account can create multiple sub-accounts, which function as subordinate accounts under the primary account.

Key Features of Sub-Accounts:

Asset Transfer Between Accounts

Use the following API endpoints for account management:

Transfer Endpoint

POST /api/account/v3/transfer
Enables fund movement between:

Sub-Account Balance Query

GET /api/account/v3/sub-account
Retrieves sub-account balances including:

Account Comparison Tables

Master vs. Sub-Accounts

FeatureMaster AccountSub-Account
Fund TransfersYesYes*
TradingYesYes
Independent LoginYesYes
Rate LimitsIndependentIndependent
Fee StructureCustomInherited
KYC InformationRequiredInherited

*Sub-account transfers restricted as described

Account Type Capabilities

Account TypeTransfersTradingAPI Support
Funding AccountYesNoYes
Spot TradingYesYesYes
Margin TradingYesYesYes
Futures ContractsYesYesYes
Perpetual ContractsYesYesYes
Options ContractsYesYesYes

Best Practices for Account Management

  1. Security First: Always use API keys with appropriate permissions
  2. Asset Allocation: Distribute funds strategically between accounts
  3. Rate Limit Awareness: Monitor request frequencies across accounts
  4. Fee Optimization: Leverage shared fee tiers between master/sub-accounts

๐Ÿ‘‰ Explore advanced trading strategies with OKX API

FAQ Section

Q: How many sub-accounts can I create under a master account?

A: OKX allows creation of multiple sub-accounts per master account, with exact limits depending on your verification level.

Q: Can sub-accounts have different trading permissions?

A: Yes, master accounts can set specific trading permissions for each sub-account through the account management interface.

Q: Are there fees for transfers between master and sub-accounts?

A: Internal transfers between OKX accounts typically don't incur fees, but always check current platform policies.

Q: How often can I transfer funds between accounts?

A: Transfer frequency limits may apply depending on your account security settings and verification status.

Q: Can I automate transfers between accounts using API?

A: Yes, the transfer API endpoint supports programmatic asset movement between qualified accounts.