dYdX Integration Documentation
This documentation is crafted specifically for developers who want to build trading applications, bots, analytics tools, or integrate dYdX into their own platforms.
You'll find everything you need—from REST & WebSocket API references to integration guides. Whether you're creating a high-frequency trading bot or building a DeFi dashboard, this doc will help you get up and running quickly and securely.
Pick a scenario
Depending on your use case, you can quickly jump to the sections that will help you start integrating right away.
Build a Trading Bot
Use the libraries to automate trading: fetch market data, place and manage orders.
Stream Real-Time Updates
Receive live market and account data using WebSocket connections.
Integrate into Your App
Display market, order, and position data directly in your application.
Access Account Data
Use the Indexer API to query account info, balances, and positions. For actions requiring authentication, use private Node API methods.