https://sandbox.cdp.coinbase.com
1. Create Sandbox API keys
2. Install CDP CLI
CDP CLI is a command-line tool that handles JWT authentication automatically — configure your API key once and it takes care of signing every request for you.Node.js 22 or later is required.
3. Create and fund an account through the portal

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 Live
When you’re ready to move from Sandbox to Live:- Complete integration testing: Ensure all features work correctly in Sandbox
- Create Live API keys: Generate Live 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