Starbase is not available over the public internet. You must connect through hosted colocation or a cross-connect in LD4, or through AWS Private Link. Contact colo-support@coinbase.com to arrange network access.
1. Choose a Deployment Model
The Starbase matching engine and its gateways run in Equinix LD4 in London. The Starbase API is exposed through several protocols, including SBE order entry, SBE multicast market data, FIX Drop Copy, and REST.
A server in Tokyo or another remote region cannot match the round-trip latency of LD4 colocation because every order must reach the matching engine in London.
For detailed trade-offs and cost categories, see Infrastructure, Connectivity & Best Practices.
2. Request Starbase Access
Before connecting:- Ask your Account Manager or Technical Account Manager to enable Starbase on your test account.
- Confirm which main account and subaccounts will trade through Starbase.
- Configure a Member and its portfolios.
- Arrange hosted colocation, a cross-connect, or AWS Private Link with colo-support@coinbase.com.
- Provide the source IP addresses that Deribit should allowlist.
Starbase API keys are separate from standard Deribit API keys. A subaccount must belong to a Member before it can authenticate to Starbase.
3. Create a Starbase API Key
Create the key from the Starbase section of the main account. Select the Member and portfolio permissions required by the trading application. See Creating a Starbase API Key for the full UI and API workflow. Keep credentials out of source code, logs, packet captures, and support tickets. Store them in your organization’s secret-management system.4. Prepare the Client
Download the integration resources:- SBE XML schemas — schema definitions for order entry and market data
- Starbase SDK — client SDK for integrating with Starbase
- Market data PCAP — sample multicast packet capture
- SBE framing, encoding, and decoding
- TCP session establishment, authentication, heartbeats, and sequence tracking
- Automatic reconnect and state recovery
- Cancel on Disconnect handling
- UDP multicast reception, packet sequencing, and gap detection
- Snapshot plus incremental L3 order-book reconstruction
5. Validate Test Connectivity
Use the addresses and ports in Gateway Connectivity. Validate each service separately:- Establish TCP connectivity to the test SBE order-entry gateway.
- Authenticate and maintain a healthy heartbeat exchange.
- Connect to FIX Drop Copy and complete its session logon.
- Receive both snapshot and incremental traffic from the required multicast channels.
- Verify that retransmit requests can recover an intentional market-data gap.
- Connect to the REST portfolio-management endpoints over HTTPS.
6. Build a Resilient Session Layout
Production order-entry gateways are organized into hot-hot A/B pairs according to the instrument’s underlying tier:
Connect only to the product groups you trade, but always connect to both A and B within each required pair. Both sides are active, and their rate-limit buckets are independent.
Each API key can establish one connection to each gateway instance. A second connection using the same key on the same gateway disconnects the first. Order events are scoped to the API key and gateway session that originated the order.
7. Validate End-to-End Behavior
On test, verify the complete lifecycle before requesting production access:- Submit, amend, and cancel a single order.
- Send a mass quote if your strategy uses option quoting.
- Confirm responses on the originating SBE session.
- Confirm lifecycle events and fills on FIX Drop Copy.
- Confirm trades through the standard private WebSocket API.
- Confirm that open Starbase orders do not appear in the web UI or private WebSocket order feed.
- Disconnect a session and verify Cancel on Disconnect behavior.
- Reconnect, rebuild state, and resubmit only after reviewing current market conditions.
- Exercise A/B failover without losing the local view of orders or the book.
8. Review Capacity
Starbase rate limits are applied per Member, per gateway, and per quoting type. API keys and sessions within the same Member do not each receive a fresh allocation. Before production:- Estimate steady-state and burst order rates by product group.
- Separate single-order traffic from mass-quote traffic.
- Use both A and B gateways where appropriate.
- Confirm the number of API keys and active orders required.
- Discuss non-default allocations with your Account Manager.
9. Prepare for Production
Production readiness should include:- Redundant client hosts, network interfaces, and power where applicable
- Active connections to both sides of every required gateway pair
- Both A and B multicast feeds, including snapshot and retransmit recovery
- Independent FIX Drop Copy ingestion and durable event persistence
- Clock synchronization; colocated clients can request PTP
- Metrics and alerts for session state, heartbeats, sequence gaps, rejects, and recovery
- A tested runbook for disconnects, stale books, failover, and reconciliation
Troubleshooting
If connectivity fails, record:- Test or production environment
- Connectivity type and hosting provider
- Account UID and Starbase ClientID
- Source IP, destination IP, port, protocol, gateway, and side
- UTC timestamps and the last successful heartbeat or sequence number
- Whether side A, side B, or both are affected
- TCP-connectivity results and a short sanitized packet capture
- Expected behavior, observed behavior, and any reject code
Next Steps
Infrastructure & Best Practices
Review deployment costs, gateway architecture, failover, and protocol selection.
Gateway Connectivity
Find test and production addresses, ports, and gateway mappings.
Binary API Reference
Implement session and order-entry messages.
Multicast Subscription Guide
Configure multicast reception and local book maintenance.