getMemberAccountType
Retrieve account types for specified member IDs, returning SPOT, CONTRACT, OPTION, UNIFIED, or FUND. Identify whether accounts are UTA, UMA, or classic based on the combination.
Instructions
Get account type information for specified member IDs. Use master or sub-account's API key.
Important notes:
Can query account types for multiple member IDs
Returns account types: SPOT, CONTRACT, OPTION, UNIFIED, FUND
UTA/UMA accounts have different account type combinations
Filters out invalid or inactive account types
Account Type Combinations:
UTA (Unified Trading Account): Has CONTRACT, UNIFIED, FUND
UMA (Unified Margin Account): Has CONTRACT, UNIFIED, SPOT, FUND
Classic Account: Has SPOT, CONTRACT, OPTION, FUND separately
Account Types:
SPOT: Spot trading accountCONTRACT: Perpetual and futures trading accountOPTION: Options trading accountUNIFIED: Unified margin/trading accountFUND: Funding/wallet account
Filtering Rules:
UTA accounts: OPTION and SPOT types are excluded (consolidated into UNIFIED)
UMA accounts: OPTION type is excluded if UNIFIED exists
Only active account types are returned
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memberIds | No |