List accounts
Changed onList all accounts. The API will return all accounts that the API Key has Permissions to access. You can filter the results by using query parameters, which will be treated as a single conjunction (i.e. AND). Results are sorted by creation date in descending order (newest first).
Request
- Base URL: https://api.cdp.coinbase.com/platform
- URL: https://api.cdp.coinbase.com/platform/v2/accounts
- Auth: HTTP bearer
Query parameters
The number of resources to return per page.
The token for the next page of resources, if any.
Filter accounts by owner. Values can be specific Owner IDs or owner type wildcards. Multiple values can be combined as a comma-separated list.
Specific Owner IDs:
- entity_<uuid> - Accounts owned by a specific entity
- customer_<uuid> - Accounts owned by a specific customer
Owner type wildcards:
- entity - All entity-owned accounts
- customer - All customer-owned accounts
Examples:
- owner=customer_af29... - A specific customer's accounts
- owner=customer - All customer accounts
- owner=entity,customer_af29... - Entity accounts and a specific customer's accounts
- When omitted, accounts with any owner are returned.
The type of the Account.
- prime: a linked Coinbase Prime account.
- business: a linked Coinbase Business account.
- cdp: a CDP-native account created via this API. Used for accounts created on behalf of an Entity and for Customer-owned accounts.
Filter accounts by account type. When omitted, accounts of any type are returned. Combined with owner using AND.
Response
Successfully listed accounts.
Example response
{
"accounts": [
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"type": "prime",
"owner": "entity_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"name": "My Business Account",
"createdAt": "2023-10-08T14:30:00Z",
"updatedAt": "2023-10-08T14:30:00Z"
}
],
"nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}Changes
- warning
added the new
incompatible_event_typesenum value to theresponse property for the response status - warning
added the new
invalid_webhook_headersenum value to theresponse property for the response status - warning
added the new
invalid_webhook_urlenum value to theresponse property for the response status - warning
added the new
mandate_action_pendingenum value to theresponse property for the response status - warning
added the new
mandate_canceledenum value to theresponse property for the response status - warning
added the new
mandate_expiredenum value to theresponse property for the response status - warning
added the new
mandate_invalid_statusenum value to theresponse property for the response status - warning
added the new
mandate_policy_violationenum value to theresponse property for the response status - warning
added the new
mandate_revokedenum value to theresponse property for the response status - warning
added the new
subscription_limit_exceededenum value to theresponse property for the response status
- warning
- warning
added the new
mfa_challenge_not_foundenum value to theresponse property for the response status - warning
added the new
operation_in_progressenum value to theresponse property for the response status
- warning