Skip to main content

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

EndpointDescriptionScope
GET /v2/userGet current user’s public informationwallet:user:read
GET /v2/accountsList all user accounts and balanceswallet:accounts:read
GET /v2/accounts/:account_idGet a specific accountwallet:accounts:read

Transactions

EndpointDescriptionScope
GET /v2/accounts/:account_id/transactionsList transactionswallet:transactions:read
GET /v2/accounts/:account_id/transactions/:idGet a specific transactionwallet:transactions:read
POST /v2/accounts/:account_id/transactionsSend crypto (requires 2FA)wallet:transactions:send

Addresses

EndpointDescriptionScope
GET /v2/accounts/:account_id/addressesList addresseswallet:addresses:read
POST /v2/accounts/:account_id/addressesCreate a new addresswallet:addresses:create

Deposits & withdrawals

EndpointDescriptionScope
GET /v2/accounts/:account_id/depositsList depositswallet:deposits:read
GET /v2/accounts/:account_id/deposits/:deposit_idShow depositwallet:deposits:read
POST /v2/accounts/:account_id/depositsDeposit fiat fundswallet:deposits:create
POST /v2/accounts/:account_id/deposits/:deposit_id/commitCommit depositwallet:deposits:create
GET /v2/accounts/:account_id/withdrawalsList withdrawalswallet:withdrawals:read
GET /v2/accounts/:account_id/withdrawals/:withdrawal_idShow withdrawalwallet:withdrawals:read
POST /v2/accounts/:account_id/withdrawalsWithdraw fiat fundswallet:withdrawals:create
POST /v2/accounts/:account_id/withdrawals/:withdrawal_id/commitCommit withdrawalwallet: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.
EndpointDescriptionScope
GET /api/v3/brokerage/accountsList trading accountsSee guide
POST /api/v3/brokerage/ordersCreate ordersSee guide
GET /api/v3/brokerage/orders/historical/batchList ordersSee 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.