Skip to content

dYdX Integraion 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.

Test Your Strategy

Connect to the testnet to safely experiment with your trading logic.

Integrate into Your App

Display market, order, and position data directly in your application.

Access Private Account Data

Use private API methods to get account info, balances, and positions.