Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
You can access these APIs after a user authorizes your app via OAuth2. Each endpoint requires specific OAuth2 scopes.
Base URL: https://api.coinbase.com
Authentication: Include the OAuth2 access token in the Authorization header:
curl https://api.coinbase.com/v2/<endpoint> \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Accounts and users
| Endpoint | Description | Scope |
|---|
GET /v2/user | Get current user’s public information | wallet:user:read |
GET /v2/accounts | List all user accounts and balances | wallet:accounts:read |
GET /v2/accounts/:account_id | Get a specific account | wallet:accounts:read |
Transactions
| Endpoint | Description | Scope |
|---|
GET /v2/accounts/:account_id/transactions | List transactions | wallet:transactions:read |
GET /v2/accounts/:account_id/transactions/:id | Get a specific transaction | wallet:transactions:read |
POST /v2/accounts/:account_id/transactions | Send crypto (requires 2FA) | wallet:transactions:send |
Addresses
| Endpoint | Description | Scope |
|---|
GET /v2/accounts/:account_id/addresses | List addresses | wallet:addresses:read |
POST /v2/accounts/:account_id/addresses | Create a new address | wallet:addresses:create |
Deposits & withdrawals
| Endpoint | Description | Scope |
|---|
GET /v2/accounts/:account_id/deposits | List deposits | wallet:deposits:read |
GET /v2/accounts/:account_id/deposits/:deposit_id | Show deposit | wallet:deposits:read |
POST /v2/accounts/:account_id/deposits | Deposit fiat funds | wallet:deposits:create |
POST /v2/accounts/:account_id/deposits/:deposit_id/commit | Commit deposit | wallet:deposits:create |
GET /v2/accounts/:account_id/withdrawals | List withdrawals | wallet:withdrawals:read |
GET /v2/accounts/:account_id/withdrawals/:withdrawal_id | Show withdrawal | wallet:withdrawals:read |
POST /v2/accounts/:account_id/withdrawals | Withdraw fiat funds | wallet:withdrawals:create |
POST /v2/accounts/:account_id/withdrawals/:withdrawal_id/commit | Commit withdrawal | wallet:withdrawals:create |
Advanced Trade APIs
For trading functionality, you can also access Advanced Trade APIs with OAuth2 tokens. See the OAuth2 Access Guide for details on portfolio access.
| Endpoint | Description | Scope |
|---|
GET /api/v3/brokerage/accounts | List trading accounts | See guide |
POST /api/v3/brokerage/orders | Create orders | See guide |
GET /api/v3/brokerage/orders/historical/batch | List orders | See guide |
For the complete Advanced Trade API reference, see the API Reference.
Additional endpoints for buys, sells, and notifications are available. See the full scopes list for all capabilities.
Scopes reference
For a complete list of OAuth2 scopes and what they enable, see the Scopes Reference.