Deribit FIX API is a subset of FIX version 4.4. It also includes some tags from FIX 5.0 and several Deribit custom tags. Deribit uses the standard FIX header and trailer structure for all messages.
Before you start
Complete these steps before opening a FIX session:
- Sign in to your account and go to Account > Security > API. Enable API access with the checkbox on that page.
- Create an API key on the same page. The
Client ID becomes your FIX Username(553) and the Client Secret is used to derive the Password(554) sent in Logon(A).
- Choose an environment and endpoint from Connection endpoints below. Use
fix-test.deribit.com for integration testing before switching to fix.deribit.com.
- Authenticate by sending a
Logon(A) message. See that page for how to build RawData(96) and Password(554).
Do not share your Client Secret. Anyone with the secret can derive a valid Password(554) and gain full control over your account.
IMPORTANT ANNOUNCEMENTDue to recent technical issues with one of our service providers, we have updated the FIX public endpoint. The FIX endpoint will no longer be accessible over the internet via www.deribit.com. Going forward, customers should connect using fix.deribit.com for production and fix-test.deribit.com for the test environment.
Connection Endpoints
The FIX server can be reached at:
- Production:
fix.deribit.com:9881 (raw tcp)
fix.deribit.com:9883 (ssl)
- Test Network:
fix-test.deribit.com:9881 (raw tcp)
fix-test.deribit.com:9883 (ssl)
Coinbase-Routed Spot Instruments
Selected spot instruments are matched on Coinbase Exchange rather than on the
Deribit matching engine. They trade over the same session, but order entry
accepts a narrower set of tag values and the public trade tape is not served for
them. See Spot trading venues.
Message Structure
Each request message can include:
Responses sent by the server will at least include:
Message Types
The FIX API supports the following message types organized by category:
Session Management
Market Data
Order Management
Position Management
User Management
Market Maker Protection
Mass Quoting
Trade Capture
Security Definition
Changes Log