Login sessions and API keys are separate from production. Log into the sandbox web interface to create an API key, deposit/withdraw funds, etc.
Sandbox URLs
Use the following URLs to test your API connectivity. See the Runbook for Production URLs.| API | URL |
|---|---|
| REST API | https://api-public.sandbox.exchange.coinbase.com |
| Websocket Feed | wss://ws-feed-public.sandbox.exchange.coinbase.com |
| Websocket Direct Feed | wss://ws-direct.sandbox.exchange.coinbase.com |
| FIX 5.0 API - Order Entry | tcp+ssl://fix-ord.sandbox.exchange.coinbase.com:6121 |
| FIX 5.0 API - Market Data Snapshot Enabled | tcp+ssl://fix-md.sandbox.exchange.coinbase.com:6121 |
| FIX 5.0 API - Market Data Snapshot Disabled | tcp+ssl://fix-md.sandbox.exchange.coinbase.com:6122 |
| FIX 5.0 API - Dedicated Drop Copy | tcp+ssl://fix-dc.sandbox.exchange.coinbase.com:6122 |
MiCA Sandbox URLs
MiCA clients must use the following URLs to test your API connectivity. See the Runbook for Production URLs.| API | URL |
|---|---|
| REST API | https://api-us.dma.sandbox.prime.coinbase.com |
| Websocket Feed | wss://ws-us.dma.sandbox.prime.coinbase.com |
| Websocket Direct Feed | wss://ws-us-direct.dma.sandbox.prime.coinbase.com |
| FIX 5.0 API - Order Entry | tcp+ssl://fix-us.dma.sandbox.prime.coinbase.com:7110 |
| FIX 5.0 API - Market Data Snapshot Enabled | tcp+ssl://fix-us.dma.sandbox.prime.coinbase.com:7120 |
| FIX 5.0 API - Market Data Snapshot Disabled | tcp+ssl://fix-us.dma.sandbox.prime.coinbase.com:7121 |
| FIX 5.0 API - Dedicated Drop Copy | tcp+ssl://fix-dc.dma.sandbox.prime.coinbase.com:7122 |
Sandbox SSL Certificate
Your FIX SSL client must validate the following sandbox FIX server SSL certificate:Unsupported Features
The Transfer endpoints are not available for testing in the Sandbox:- Withdraw to payment
- Deposit from payment
- Deposit from Coinbase account
- Withdraw to crypto address
- Withdraw to Coinbase Account
Creating API Keys
To create an API key in the sandbox web interface:- Go to the sandbox web interface
- Create an account or sign in.
- Go to API in your profile dropdown menu.
- Click New API Key.
Managing Funds
To add or remove funds in the sandbox web interface:- Go to the Portfolios tab.
- Click the Deposit and Withdraw buttons as you would on the production web interface.