Table of Endpoints
Name | Method | Endpoint | Legacy Scope | CDP API Key Scope |
---|---|---|---|---|
Create Address | POST | /v2/accounts/:account_id/addresses | wallet:addresses:create | transfer |
List Addresses | GET | /v2/accounts/:account_id/addresses | wallet:addresses:read | view |
Show Address | GET | /v2/accounts/:account_id/addresses/:address_id | wallet:addresses:read | view |
List Transactions | GET | /v2/accounts/:account_id/addresses/:address_id/transactions | wallet:transactions:read | view |
Overview
The Address resource represents an address for any Coinbase supported asset. An account can have more than one address, but an address can only be associated with one account. To be notified when an address receives a new transactions, you can set up an API notificationParameter | Description |
---|---|
id string | Resource ID |
address string | Address for any Coinbase supported asset |
name string, optional | User defined label for the address |
network string | Name of blockchain |
created_at timestamp | |
updated_at timestamp | |
resource string, constant address | |
resource_path string |
Example Address Resource
Create Address
Creates a new address for an account. Addresses can be created for wallet account types.You can create an address with an empty
POST
request as all arguments are optional. This is handy if you need to create new receive addresses for an account on-demand.HTTP Request
POST https://api.coinbase.com/v2/accounts/:account_id/addresses
Scopes
wallet:addresses:create
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Optional | Address label |
Examples
Request
Response (201)
List Addresses
Lists addresses for an account.An address can only be associated with one account. See Create Address to create new addresses.
HTTP Request
GET https://api.coinbase.com/v2/accounts/:account_id/addresses
Scopes
wallet:addresses:read
Examples
Request
Response
Show Address
Get an single address for an account.An address can only be associated with one account. See Create Address to create new addresses.
HTTP Request
GET https://api.coinbase.com/v2/accounts/:account_id/addresses/:address_id
Scopes
wallet:addresses:read
Examples
Request
Response
List Transactions
List transactions that have been sent to a specific address.HTTP Request
GET https://api.coinbase.com/v2/accounts/:account_id/addresses/:address_id/transactions
Scopes
wallet:transactions:read