Starbase is Deribit’s high-performance matching engine designed for institutional trading and market makers. Equipped with a Simple Binary Encoding (SBE) API, Starbase provides direct access to the matching engine with ultra-low latency, making it ideal for high-frequency trading applications. At a later date, a FIX Drop Copy for a holistic view of orders and trades across the whole account will be added. A REST API with utility endpoints such as an order purge or order snapshot will also be added. The main components of the Starbase API:Documentation Index
Fetch the complete documentation index at: https://deribit-starbase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Binary Order Entry API
The Binary Order Entry API provides direct access to the matching engine using a high-performance binary protocol optimized for ultra-low latency trading.
- Order Entry: Place, amend, and cancel orders with minimal latency. Supports single orders, mass quotes (up to 15 double-sided quotes), and mass cancellation.
- Market Maker Protection (MMP): Built-in protection against adverse selection. See Market Maker Protection for details.
- Self Match Prevention (SMP): A highly flexible system to avoid matching order internally.
Multicast Market Data
Market data is distributed via multicast channels organized by product type (BTC perpetuals/futures, BTC options, ETH perpetuals/futures, ETH options, etc.). The multicast channels have:
- Market-by-order data: Market data is sent as L3 data, allowing for full reconstruction of the order book.
- A/B Redundancy: Duplicate feeds (A and B) for high availability.
- Snapshot and Incremental Updates: Snapshot feeds provide the full order book state, while incremental feeds provide real-time updates.