Skip to main content
The Derive Exchange is a fully-featured, low-latency exchange that settles trades and manages risk on-chain via Zero Knowledge proofs.
Diagram of the two ways users can interact with the exchange.
There are two ways users and builders can interact with the exchange:
  • HTTP & WebSocket JSON-RPC API: send state-changing requests with self-custodial signed actions or non-sensitive market-data requests.
  • L1 Transactions: deposit to the exchange via on-chain contract calls or interact with the exchange with a multi-sig. This method also allows users to withdraw funds using the “escape hatch”.

Agents

  • Point your agent at our SKILL.MD at https://v3.docs.derive.xyz/skill.md
  • Install the skill with npx skills add https://v3.docs.derive.xyz

SDKs

TypeScript

derive-ts

Rust

derive-rs

Python

derive-py

OpenAPI / AsyncAPI

Detailed API specifications can be downloaded here:

Endpoints

Next steps

Quickstart

Connect, log in, and place your first order end-to-end.

Authentication

Session login and per-action EIP-712 signing, step by step.

Subscriptions

WebSocket channels for order books, tickers, trades, and account updates.

Action signing

Typehashes, modules, and per-deployment signing parameters.