Base URL
The CDP API has two environments, each with its own base URL:
Endpoints are versioned under
/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.
Amounts
All monetary amounts are represented as strings of decimal numbers to preserve precision.Asset symbols
Assets are identified by lowercase symbols.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