https://sandbox.cdp.coinbase.com
Prerequisites
Before you begin, make sure you have:- A CDP account with access to the CDP Portal
- A terminal with cdpcurl installed (or Postman)
1. Create Sandbox API keys
Access CDP Portal Sandbox
Navigate to the CDP Portal Sandbox
2. Install cdpcurl
cdpcurl is a command-line tool that handles JWT authentication automatically—just point it at your downloaded API key file and it takes care of signing requests for you.
Install via Homebrew:
$CDP_API_KEY in all commands instead of typing the full path each time.
3. Create and fund an account
Create a Sandbox account and add test balances through the Portal UI:Access your account
Navigate to Portal Accounts in Sandbox

4. Verify balance(s)
Run the following to verify your account balance:5. Alternative: Test with Postman
Prefer a GUI? See the Postman guide for setup instructions.Next steps
Now that you’re set up, explore the resource guides to test specific features:Payment Methods
Test fiat withdrawal flows
Deposit Destinations
Create addresses and simulate incoming deposits
Accounts
Create and manage test accounts
Transfers
Test transfers to crypto addresses and emails
Transitioning to Production
When you’re ready to move from Sandbox to Production:- Complete integration testing: Ensure all features work correctly in Sandbox
- Create Production API keys: Generate Production credentials in the CDP Portal
- Update configuration: Switch from
sandbox.cdp.coinbase.comtoapi.cdp.coinbase.com - Start with small transactions: Begin with small test transactions to verify everything works
- Set up monitoring: Configure alerting for failed transactions and API errors