Get Authorized Trading Accounts
GET/api/v1.0/accounts/authorized_trd_accsQuery the authorized trading accounts for the user. Later trading API paths take acc_id from this response’s account_id (as a decimal string).
How to choose an account
- Start with
security_firmand pick the broker entity you intend to trade under. - Check
enable_market(numeric enum; see enable_market) and confirm the account supports the target market. For example,2means US stocks; the matchingtrd_marketon order/fill queries is usuallyUS. - If the same broker has multiple accounts, choose by
acc_type(e.g. cash / margin) and your business need. If only one authorized account can trade that market, use it; if more than one, pick explicitly — do not default to the first row. - Japan accounts: place order and max-qty also require a tradable
sub_acc_idfromsub_accounts; ignore this field for non-JP brokers. account_idin JSON may exceed JavaScript’s safe integer range — treat it as a string or BigInt; do not parse with Number before putting it in the URL.
Request Parameters
None.
Response Parameters
| Field | Type | Description |
|---|---|---|
accounts | list[account] | A list of authorized trading accounts. |
account
See Naming Dictionary > account.
| Field | Type | Description |
|---|---|---|
account_id | uint64 | Trading business account ID. JSON number; do not parse with JavaScript Number when it exceeds MAX_SAFE_INTEGER. |
security_firm | security_firm | Broker information |
enable_market | list[uint32] | Supported trading markets. See Naming Dictionary |
univs_account_card_number | string | Universal account card number (16 digits) |
acc_type | acc_type | Account type |
account_card_number | string | Business account card number (16 digits) |
sub_accounts | list[sub_account] | JP only. Selectable sub-accounts under this account (one record per sub-account type). Only tradable sub-accounts are returned. Empty / omitted for non-JP brokers. |
sub_account
Sub-account object under a JP account, returned in the sub_accounts list.
| Field | Type | Description |
|---|---|---|
sub_acc_type | sub_acc_type | JP only. Sub-account type. |
sub_acc_id | string | Sub-account id. Pass this value as sub_acc_id when placing an order. |
Response Example
json
{
"s": "ok",
"d": {
"accounts": [
{
"account_id": 281756476993717634,
"security_firm": "FUTUSECURITIES",
"enable_market": [
5
],
"univs_account_card_number": "1001283068381087",
"acc_type": "margin",
"account_card_number": "1001305036210273"
},
{
"account_id": 281756479194114175,
"security_firm": "FUTUSECURITIES",
"enable_market": [
1,
10,
14,
16
],
"univs_account_card_number": "1001283068381087",
"acc_type": "margin",
"account_card_number": "1001317823161276"
}
]
}
}