Quick answer
Deribit is the main venue for crypto options, with BTC and ETH options, futures and perpetuals. Its API is JSON-RPC 2.0 over HTTP and WebSocket (plus FIX); public methods such as public/get_tradingview_chart_data need no key, and private methods use client-credential tokens. A full test environment runs at test.deribit.com.
Deribit API at a glance
- Pricing
- Free API; trading fees apply
- Availability
- Global; not available to US residents
- Paper trading
- Test environment (test.deribit.com)
- Integration type
- REST + API key
- In AlgoGP
- Built in: data adapter (Pro)
- Base
https://www.deribit.com/api/v2/(test:test.deribit.com)- Protocol
- JSON-RPC 2.0 over HTTP GET/POST and WebSocket; FIX
- Candles
public/get_tradingview_chart_data- Auth
public/authwith client id + secret → access token- Instruments
BTC-PERPETUAL,BTC-27DEC25-100000-C
Market data you can use without a key
public/get_tradingview_chart_data: OHLCV for any instrument (resolutionin minutes or1D).public/get_instruments: listed options and futures with strikes and expiries.public/ticker: mark price, implied volatility and Greeks for an option.public/get_order_book: depth for any instrument.
AlgoGP reads Deribit candles for BTC/USD and ETH/USD from the perpetuals (BTC-PERPETUAL, ETH-PERPETUAL).
Rate limits
Deribit uses credit-based limits per sub-account, with stricter limits on some methods (for example instrument queries over WebSocket). Back off on error 10028 too_many_requests.
Use Deribit in AlgoGP
Open a project, go to the APIs & keys tab and, under Platforms, pick Deribit as the market data source (market_data.py). The choice is saved to config.json as a new strategy version:
{
"platforms": {
"data": "deribit",
"broker": "alpaca"
}
}backtest.py and live.py connect to when you run the exported code.Deribit needs no API key: the generated code calls its public endpoints directly.
Deribit API: frequently asked questions
Does Deribit have a testnet?
Yes: test.deribit.com is a full test environment with its own accounts and keys.
Is Deribit available in the US?
No, Deribit does not serve US residents.
Do I need a key for Deribit market data?
No. Public methods are free; keys are only needed for account and trading methods.
Turn Deribit data into a tested strategy
Backtest an idea in the browser, then export Python whose live loop reads candles straight from Deribit with your own key.
- Generated Deribit candle fetcher, closed bars only
- An AI copilot that writes and revises the rules
- Pair it with Alpaca, Binance, OANDA or another broker
Free plan, no card required. Deribit is included with Pro.
Deribit alternatives
- OKX API Built into AlgoGPMajor crypto exchange with a V5 REST and WebSocket API for spot, perpetuals, futures and options, plus demo trading.
- Bybit API Built into AlgoGPGlobal crypto exchange with a unified V5 API for spot, derivatives and options, and a Demo Trading environment.
- Binance API Built into AlgoGPThe largest crypto exchange by volume, with a deep public market-data API and a free spot testnet.
Independent guide. AlgoGP is not affiliated with Deribit. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.