For the complete documentation index, see llms.txt. This page is also available as Markdown.

dYdX v4

dYdX v4 historical market data details - available instruments, data coverage and data collection specifics

dYdX v4 historical data for all its instruments is available since 2024-08-23.

See dYdX v4 historical data coverage: available symbols, channels, date ranges and incidents

Downloadable CSV files

Historical CSV datasets for the first day of each month are available to download without API key. See downloadable CSV files documentation.

data type
symbol
date

incremental_book_L2

BTC-USD

2025-01-01

trades

BTC-USD

2025-01-01

derivative_ticker

BTC-USD

2025-01-01

API Access and data format

Historical data format is the same as provided by real-time dYdX v4 WebSocket API (wss://indexer.dydx.trade/v4/ws) with addition of local timestamps. If you'd like to work with normalized data format instead (same format for each exchange) see downloadable CSV files or official client libs that can perform data normalization client-side.

Tardis-machine is a locally runnable server that exposes API allowing efficiently requesting historical market data for whole time periods in contrast to HTTP API that provides data only in minute by minute slices.

See tardis-machine docs.

Captured real-time channels

See dYdX v4 WebSocket API docs providing documentation for each captured channel's format

Click any channel below to see HTTP API response with historical data recorded for it.

  • v4_trades Trade executions stream including liquidation info

  • v4_orderbook Order book snapshots and incremental updates stream

  • v4_markets Market metadata, oracle prices, funding rate and status updates stream

Market data collection details

Market data collection infrastructure for dYdX v4 is located in GCP asia-northeast1 region (Tokyo, Japan).

Real-time market data is captured via multiple WebSocket connections to wss://indexer.dydx.trade/v4/ws (proxied via Cloudflare).

dYdX v4 servers are located in AWS ap-northeast-1 region (Tokyo, Japan).

Last updated

Was this helpful?