Use case
Perpetuals and options API: Hyperliquid, dYdX v4 & Deribit
Read funding rates, open interest, mark prices, L2 order books, option Greeks, DVOL and 27 live WebSocket feeds from Hyperliquid, dYdX v4 and Deribit with one key.
What you get
Compare perpetual funding rates, open interest, order books and historical candles across Hyperliquid, dYdX Chain (v4) and Deribit — plus Deribit option chains, implied volatility (DVOL) and 27 real-time WebSocket streams.
Requests
Hyperliquid perpetual universe with mark price, funding and open interest — POST /hyperliquid/info/metaAndAssetCtxs
curl -sS -X POST -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{}' \
"https://openapihub.dev/run/hyperliquid/info/metaAndAssetCtxs"
dYdX v4 perpetual market snapshot with oracle price and funding — GET /dydx/v4/perpetualMarkets
curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
"https://openapihub.dev/run/dydx/v4/perpetualMarkets?market=BTC-USD"
Deribit BTC futures and perpetual book summaries — GET /deribit/public/get_book_summary_by_currency
curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
"https://openapihub.dev/run/deribit/public/get_book_summary_by_currency?currency=BTC&kind=future"
Real-time WebSockets & MCP
- Hyperliquid: 9 WebSocket feeds (/ws/hyperliquid/trades/{coin}, /l2Book/{coin}, /allMids, /bbo/{coin}).
- dYdX v4: 6 WebSocket feeds (/ws/dydx/trades/{market}, /orderbook/{market}, /markets, /candles/{market}/{resolution}).
- Deribit: 12 WebSocket feeds (/ws/deribit/trades/{instrument}, /ticker/{instrument}, /book/{instrument}, /perpetual/{instrument}).
- AI agents can call derivatives_market or run_endpoint (supporting Hyperliquid read-only POST) via POST /mcp.
FAQ
Does Hyperliquid work through both REST and MCP?
Yes. All 54 Hyperliquid read-only POST /info/* routes are executable on POST /run/hyperliquid/info/* and through the MCP server (derivatives_market and run_endpoint).
Can I stream live order books and trades for perpetuals?
Yes. Connect to /ws/hyperliquid/..., /ws/dydx/... or /ws/deribit/... with X-Hub-Key for multiplexed real-time WebSocket feeds.
See also: Perps snapshot recipe · Hyperliquid · dYdX v4 · Deribit · Real-time WebSockets