Appearance
Retrieve subaccounts
GET
/v1/account/subaccounts
Returns the list of all subaccounts that belong to a primary account, with each subaccount's label and id. Can only be called by a primary account API key.
Authorizations
apiKey
Your API key
Type
API Key (header: X-VALR-API-KEY)
apiSignature
HMAC SHA512 signature of the request (see Authentication section)
Type
API Key (header: X-VALR-SIGNATURE)
apiTimestamp
Request timestamp in milliseconds
Type
API Key (header: X-VALR-TIMESTAMP)
Responses
Subaccounts retrieved successfully
application/json
JSON
[
{
"label": "Arbitrage Acc 001",
"id": "903671169785507840"
},
{
"label": "Another Test Arbitrage Acc From API",
"id": "903670867401564160"
},
{
"label": "Test Trade Acc From API",
"id": "903267690654658560"
},
{
"label": "Test Arbitrage Acc From API",
"id": "903260643187945472"
},
{
"label": "Trading",
"id": "902529770612256768"
},
{
"label": "Primary",
"id": "0"
}
]