> ## Documentation Index
> Fetch the complete documentation index at: https://docs.derivadex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> DerivaDEX API reference for REST and Realtime interfaces, signed private requests, channel definitions, connection behavior, and integration examples.

API Reference is for the exact interface details. Read these pages when you need the REST path, WebSocket message, or private request format for a DerivaDEX integration.

## Use REST

* [REST API](/api-reference/rest) lists the request-response endpoints for system state, market data, trader state, strategy state, and historical lookups.
* [Signed Private Requests](/api-reference/rest/signed-requests) defines how to submit signed requests for placing orders, canceling orders, updating profile settings, and requesting withdrawals, including `/v2/encryption-key`, `/v2/request`, request envelopes, delegated sessions, receipts, and submission errors.

## Use Realtime

* [Realtime Channels](/api-reference/realtime/channels) defines the channel names, message shapes, recovery behavior, and per-feed fields for live market and account feeds.

## Build with the API

* [Your First API Trade on DerivaDEX](/tutorials/your-first-api-trade-on-derivadex) walks through a first signed-and-encrypted trade flow on testnet.
* [How to Sign DerivaDEX Requests with EIP-712](/how-to-guides/sign-requests-with-eip712) covers request signing.
* [How to Encrypt Requests for the Operator](/how-to-guides/encrypt-operator-requests) covers request encryption and byte submission.
* [Order and Account Event Reference](/reference-public/order-and-account-event-reference) defines the order, strategy, and trader event payloads that clients reconcile after REST bootstrap.
