Introduction
Trading clients. Market data. Applications built on Reya.

Build trading clients, market-data tools, dashboards, and automated strategies on Reya's perpetual and spot order book. Connect to the exchange. Stream the market. Make it yours.
Get started
From first request to first order
Start with a public market-data request on mainnet. No account or signer is needed for this step.
The response describes the available perpetual markets. Follow the Quickstart to configure an account and signer, submit an order, and track its execution.
Your integration toolkit
What Reya is
Reya runs a central-limit order book for perpetual futures and spot, matched by an off-chain matching engine (ME) and settled on Reya Network, an Ethereum L2. It is a hybrid system: matching is fast and off-chain, while every resulting trade is independently validated and settled on-chain. The chain is always the ultimate source of truth.
Concretely, as an integrator you:
Sign each order as an EIP-712
OrderDetailspayload with your trading wallet. (See Signatures & Nonces.)Submit it over REST or the WebSocket Order Entry API — both carry the same payloads and signing rules.
The ME matches your order against the book and produces fills.
Reya validates each fill for on-chain settlement.
Track the settlement outcome and reconcile order state and fills over the WebSocket Info API, and handle the rare trade bust when on-chain settlement rejects a match.
Both perp and spot go through the same path
Perpetual and spot orders share one order-entry surface, one matching engine, and one settlement path. They differ only in the market they target and in a few settlement details. Where the two diverge — for example the marketId namespace (see Market IDs), or the perpExecutions vs spotExecutions channels — the relevant page calls it out explicitly.
How these docs are organised
Getting Started — quickstart (read market data and submit your first order), the environments and their URLs, the account model, and signer authorization.
Connectivity — where the ME lives and how to connect, plus heartbeats.
Authentication — the EIP-712 signing recipe and nonce strategy.
API Reference — the REST, WebSocket Order Entry, and WebSocket Info references.
Order Entry — order types & time-in-force, the order lifecycle, and cancel-on-disconnect.
Executions & Settlement — trade settlement, trade busts, and executions & trade history.
Pricing & Funding — oracle & index prices, the mark price, and funding.
Risk — liquidations & ADL and the margin system.
Reference — market IDs, markets & assets, fees, contract addresses, audits, and the Python SDK 3.6.1.0.
Recommended starting path
If you're integrating for the first time, read in this order:
Quickstart → Environments → Signatures & Nonces → REST API Reference → Trade Settlement → Trade Busts.
The Python SDK 3.6.1.0 is the fastest way to get a correct signature end-to-end.
Last updated