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 API - Order Entry 4.2 | tcp+ssl://fix-public.sandbox.exchange.coinbase.com:4198 |
| FIX API - Order Entry 5.0 SP2 | tcp+ssl://fix-ord.sandbox.exchange.coinbase.com:6121 |
| FIX API - Market Data 5.0 SP2 | tcp+ssl://fix-md.sandbox.exchange.coinbase.com:6121 |
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.