Base URL
The CDP API has two environments, each with its own base URL:| Environment | Base URL |
|---|---|
| Production | https://api.cdp.coinbase.com/platform |
| Sandbox | https://sandbox.cdp.coinbase.com/platform |
/v2/.... For example: https://api.cdp.coinbase.com/platform/v2/accounts.
Sandbox is a fully isolated environment for testing — it does not connect to any blockchain network or move real funds. API keys and resource IDs are environment-scoped and cannot be used across environments. See the Sandbox guide for setup details.
Resource IDs
Many Payments resources use a prefixed identifier of the form{prefix}_{uuid}. The prefix makes IDs self-describing in logs, error messages, and webhook payloads.
| Resource | Prefix | Example |
|---|---|---|
| Account | account_ | account_af2937b0-9846-4fe7-bfe9-ccc22d935114 |
| Transfer | transfer_ | transfer_af2937b0-9846-4fe7-bfe9-ccc22d935114 |
| Deposit destination | depositDestination_ | depositDestination_af2937b0-9846-4fe7-bfe9-ccc22d935114 |
| Payment method | paymentMethod_ | paymentMethod_af2937b0-9846-4fe7-bfe9-ccc22d935114 |
| Customer | customer_ | customer_af2937b0-9846-4fe7-bfe9-ccc22d935114 |
Amounts
All monetary amounts are represented as strings of decimal numbers to preserve precision.| Value | Meaning |
|---|---|
"100.00" | 100 USD |
"2.5" | 2.5 BTC |
"103.50" | 103.50 USD |
"0.000001" | 1 micro-unit |
Asset symbols
Assets are identified by lowercase symbols.| Category | Symbols |
|---|---|
| Fiat | usd |
| Stablecoins | usdc, usdt, eurc, pyusd |
Timestamps
All datetime fields are returned in UTC using ISO 8601 with aZ suffix.
2023-10-08T14:30:00Z
What to read next
Authentication
JWT signing and API key formats
Pagination
Cursor-based pagination for list endpoints
Errors
Error response shape and full error catalog
Idempotency
Safely retry write requests with idempotency keys
Rate limits
Per-window limits and best practices