Public APIs
dYdX favicon

dYdX

Cryptocurrency

Decentralized cryptocurrency exchange.

dYdX's website screenshot

About dYdX

dYdX provides integration documentation for developers building trading applications, bots, analytics tools, and platforms that connect to the dYdX exchange. It covers REST and WebSocket API references along with integration guides, and offers quick-start materials for Python, TypeScript, and Rust libraries to automate trading, including fetching market data and placing and managing orders.

The documentation addresses real-time data streaming through WebSocket connections for live market and account data, orderbook watching, and full node streaming. It also covers displaying market, order, and position data within applications using the Indexer HTTP API, and includes guides for market data and account data.

Additional sections cover accessing account information, balances, and positions through the Indexer Accounts API, private Node API methods for authenticated actions, wallet setup, account and subaccount management, permissioned keys, and an onboarding FAQ.

Key features

  • REST and WebSocket APIs for trading market data, orders, and account info
  • Client libraries for Python, TypeScript, and Rust to build trading bots
  • Real-time market and account data via WebSocket streaming and full node streaming
  • Indexer HTTP API for querying account balances, positions, and perpetual markets
  • Private Node API for authenticated account management actions
  • Permissioned keys for account and subaccount access control

Frequently asked questions

What platforms or languages does dYdX support?

dYdX provides client libraries with quick starts for Python, TypeScript, and Rust.

Who is this documentation for?

It is built for developers building trading applications, bots, analytics tools, or platform integrations with dYdX.

How do I get real-time market and account data?

You can use WebSocket data feeds or full node streaming to receive live market and account data.

How do I query account info and balances?

Use the Indexer API to query account info, balances, and positions, and the Private Node API for actions requiring authentication.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product