POST
/
coinbase-accounts
/
{account_id}
/
addresses
Generate crypto address
curl --request POST \
  --url https://api.exchange.coinbase.com/coinbase-accounts/{account_id}/addresses \
  --header 'Content-Type: application/json' \
  --header 'cb-access-key: <api-key>' \
  --header 'cb-access-passphrase: <api-key>' \
  --header 'cb-access-sign: <api-key>' \
  --header 'cb-access-timestamp: <api-key>' \
  --data '{
  "account_id": "<string>",
  "profile_id": "<string>",
  "network": "<string>"
}'
{
  "id": "fc9fed1e-d25b-54d8-b52b-7fa250c9ae2d",
  "address": 1.2165647733617772e+48,
  "address_info": {
    "address": 1.2165647733617772e+48
  },
  "name": "New exchange deposit address",
  "created_at": "2020-03-31T02:38:44.000Z",
  "updated_at": "2020-03-31T02:38:44.000Z",
  "network": "ethereum",
  "uri_scheme": "ethereum",
  "resource": "address",
  "resource_path": "/v2/accounts/faf4b657-a48c-56b2-bec2-77567e3f4f97/addresses/fc9fed1e-d25b-54d8-b52b-7fa250c9ae2d",
  "warnings": [
    {
      "title": "Only send Orchid (OXT) to this address",
      "details": "Sending any other digital asset, including Ethereum (ETH), will result in permanent loss.",
      "image_url": "https://dynamic-assets.coinbase.com/22b24ad9886150535671f158ccb0dd9d12089803728551c998e17e0f503484e9c38f3e8735354b5e622753684f040488b08d55b8ef5fef51592680f0c572bdfe/asset_icons/023010d790b9b1f47bc285802eafeab3d83c4de2029fe808d59935fbc54cdd7c.png"
    }
  ],
  "deposit_uri": "ethereum:0x4575f41308ec1483f3d399aa9a2826d74da13deb/transfer?address=0xd518A6B23D8bCA15B9cC46a00Be8a818E34Ca79E",
  "exchange_deposit_address": true
}
InfoYou can generate an address for crypto deposits. See the Coinbase Accounts section for information on how to retrieve your coinbase account ID.

API Key Permissions

This endpoint requires the “transfer” permission. API key must belong to default profile.

Authorizations

cb-access-key
string
header
required
cb-access-passphrase
string
header
required
cb-access-sign
string
header
required
cb-access-timestamp
string
header
required

Path Parameters

account_id
string
required

Body

application/json
account_id
string
profile_id
string
network
string

Response

id
string
required
address
string
required
address_info
object
required
name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
network
string
required
uri_scheme
string
required
resource
string
required
resource_path
string
required
warnings
object[]
required
legacy_address
string
destination_tag
string
deposit_uri
string
callback_url
string
qr_code_image_url
string
address_label
string
share_address_copy
object
exchange_deposit_address
boolean
inline_warning
object