Table of Endpoints
Overview
The Account resource represents all of a user’s accounts, including cryptocurrency wallets, fiat currency accounts, and vaults. This is represented in thetype field. New types may be added in the future, so make sure this won’t break your implementation.
User can only have one primary account and its type can only be wallet.
Account Resource
List Accounts
List a current user’s accounts to which the authentication method has access to.HTTP Request
GET https://api.coinbase.com/v2/accounts
Scopes
wallet:accounts:readcoinbase:stablecoins:balance-read
If your token has
coinbase:stablecoins:balance-read but not wallet:accounts:read, the response includes only stablecoin accounts. Pagination applies to the stablecoin accounts only. With wallet:accounts:read, the response includes all accounts.Arguments
available_to_send accounts for holds and the user’s send limits, so it can be lower than balance. It’s never higher than the account’s own available balance. Because send limits apply across the user, don’t add available_to_send values together across accounts.The field is omitted, not set to zero, when it isn’t available for an account. This includes accounts in currencies other than USDC. An actual zero amount is still returned.Examples
Request
Response
Show Account
Show (or get) a current user’s account. To access the primary account for a given currency, a currency string (e.g.,BTC or ETH) can be used instead of the account ID in the URL.
HTTP Request
GET https://api.coinbase.com/v2/accounts/:account_id
Scopes
wallet:accounts:readcoinbase:stablecoins:balance-read
If your token has
coinbase:stablecoins:balance-read but not wallet:accounts:read, you can only get stablecoin accounts. A request for any other account, by account ID or by currency (for example, BTC), returns 404 Not Found.Arguments
See List Accounts for details on
available_to_send and an example response that includes it.