Get subaccounts
GET/subaccounts
Retrieves the list of all subaccounts under the main account.
This is a private endpoint. To send requests, you need to authenticate.
To use this private endpoint, you must use the API key of your main account with the Administrative permission.
Rate limit weight points: 5
Request
Query Parameters
Your description of the subaccount, up to 100 characters.
The maximum number of subaccounts per page.
Responses
- 200
- 4XX
The request was successful.
Response Headers
The number of remaining weight points before it resets at bitvavo-ratelimit-resetat.
The time when bitvavo-ratelimit-remaining resets to bitvavo-ratelimit-limit.
The number of available weight points in one minute.
- application/json
- Schema
- Example (body)
Schema
- Array [
- ]
items object[]
Array of objects per returned subaccountId.
The unique identifier of the subaccount.
The type of the subaccount.
Possible values: [spot, margin]
Status of the subaccount.
Possible values: [open, closed]
Your description of the subaccount, up to 100 characters.
Possible values: <= 100 characters
The current page number.
The total number of returned pages.
The maximum number of subaccounts per page.
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "spot",
"status": "open",
"label": "string"
}
],
"currentPage": 0,
"totalPages": 0,
"maxItems": 0
}
For error codes, see Handle errors.