For the complete documentation index, see llms.txt. This page is also available as Markdown.

Changelog

This page is the record of changes to the Reya order-book integration surface — the REST API, the WebSocket order-entry and info APIs, and the on-chain settlement contracts (EIP-712 domains + addresses). If you integrate against Reya, watch this page.

Entries record changes, effective dates, and migration steps. See Our commitment for notice windows.

Entries from before the mainnet launch (devnet1, July to September 2026) are in the changelog archive.

Stay notified

Breaking changes are mirrored to the Telegram announcements channel @reya_api_updates. This changelog remains the system of record.

How we manage changes

Surfaces

Surface
Where

WebSocket — order entry

WebSocket — info

On-chain settlement

What counts as breaking

A change is breaking if you must change code or config to keep working. For example: a removed or renamed field/endpoint; a changed type, default, or semantic; a new required field; a changed EIP-712 domain or contract address; changed auth/nonce rules; or tightened validation or rate limits.

Additive, backward-compatible changes (new optional fields, new endpoints, fixes) are not breaking and ship continuously — logged here, but without advance notice.

Our commitment

  • Advance notice. Breaking changes get at least 15 calendar days advance notice on mainnet and at least 5 business days on devnet1, with the effective date stated in each entry.

  • Cutovers. Breaking changes ship on a fixed, pre-announced date with the notice window plus a migration note. There is no old/new overlap — plan to switch over on the effective date.

  • Emergency / security. Critical fixes may ship faster, with notice at or before rollout and a written rationale — the policy never blocks a security fix.

  • devnet1 leads. Changes reach devnet1 before mainnet — validate against devnet1 before each mainnet effective date.

Legend

Each entry is tagged by surface and type:

  • Surface — [REST] · [WS-OrderEntry] · [WS-Info] · [On-chain]

  • Type — Added · Changed · Deprecated · Removed · Fixed

  • 🔴 BREAKING — you must change your integration.

Log

2026-10-26 — Account summaries and position risk (API 3.7.7)

[REST] [WS-Info] Added. Two read endpoints return an account's margin figures and each open position's risk, so you no longer need to rebuild them from balances, prices and positions. Each has a WebSocket channel of the same name:

  • GET /v2/wallet/{address}/accountSummaries: one row per perp account, with collateralValue (after haircuts), unrealizedPnl, marginBalance, equity (before haircuts), initialMarginRequirement, liquidationMarginRequirement, freeCollateral, initialMarginRatio and liquidationMarginRatio.

  • GET /v2/wallet/{address}/positionRisk: one row per open perp position, with markPrice, notional, unrealizedPnl, fundingSinceChange, liquidationMarginRequirement, an estimated liquidationPrice and hasCorrelatedCollateral.

Both take an optional accountId filter, include settled positions only, and return HTTP 503 SERVICE_UNAVAILABLE_ERROR instead of partial figures when a price is unavailable or a mark is older than 60 seconds. Retry the same request after backing off. GET /v2/wallet/{address}/positions and its channel are unchanged.

The endpoints shipped on 26 October in API 3.7.4 and 3.7.6, released together. API 3.7.7 followed on 27 October: it added equity, and replaced positionRisk's fundingPnl (funding since entry), which it reported on its first day only, with fundingSinceChange.

What you need to do: nothing. To use them, see Margin System and Liquidations & ADL.

2026-10-26 — Funding rate history (API 3.7.5)

[REST] Added. GET /v2/fundingRateHistory/{symbol}/{resolution} returns a perp market's funding over time, newest first, one entry per resolution interval (1m to 1d) that has data:

  • fundingRate: the last rate sampled in the interval, in the same hourly-percentage units as the market summary's fundingRate. It is a snapshot taken about once a minute, not an average.

  • fundingPerUnit: the funding one unit of a long accrued over the interval, in rUSD, read from the market's on-chain funding tracker. Positive means longs paid. For a constant position, size × fundingPerUnit summed over entries is the funding it paid or received.

limit defaults to 200, with a maximum of 1,000. To page back, pass the oldest returned timestamp minus 1 as the next endTime.

What you need to do: nothing. See Funding.

2026-10-23 — AGENTPERP account type (API 3.7.3)

[REST] Added. AccountType has a new value, AGENTPERP: a sub perp account designated for an agent (the Agent account). It behaves as SUBPERP for margin and transfers. GET /v2/wallet/{address}/accounts reports it. The WebSocket accounts channel has no type field and is unchanged.

What you need to do: treat AGENTPERP as SUBPERP, and handle an unknown AccountType without failing, because more values may be added. The Python SDK reads an unknown type as UNKNOWN from 3.7.0.0, and names AGENTPERP from 3.7.3.0.

2026-10-16 — Market categories (API 3.7.2)

[REST] Added. GET /v2/perpMarketDefinitions now has a categories field on every perp market, to group markets for discovery:

Category
Markets

CRYPTO

all crypto perps, e.g. BTC, ETH, SOL

EQUITIES

single stocks, e.g. AAPL, MSFT, NVDA

INDICES

SPY, QQQ

COMMODITIES

gold, silver, oil

A market has one or more categories. They are display metadata only and do not affect trading.

What you need to do: nothing. If you use the field, ignore values you don't recognize: new categories may be added without an API release.

2026-10-16 — Perp markets listed before they open (API 3.7.0)

[REST] [WS-Info] Added. Perp markets that are staged but not yet trading are now listed with status: PREOPEN, so you can load and test them before launch:

  • GET /v2/perpMarketDefinitions lists PREOPEN markets with their full parameters (tick, step, minimum order, leverage, margins, OI cap), plus a status field on every market: PREOPEN or TRADING.

  • The per-market summary (REST and WebSocket) returns PREOPEN markets with status, the mark and index prices, and an indicative funding rate. Open interest and volume are 0, and there is no mid.

  • GET /v2/perpMarkets/summary and the all-markets stream include PREOPEN markets, with status.

  • Depth for a PREOPEN market is an empty book.

  • WebSocket subscriptions to a PREOPEN market continue through the switch to TRADING, without a resubscribe.

Orders on a PREOPEN market are rejected with SERVICE_DISABLED_ERROR until it switches to TRADING.

What you need to do: only quote or trade markets with status == TRADING; don't treat "listed in perpMarketDefinitions" as "open". Python SDK users can upgrade to 3.7.0.0 for the MarketStatus enum.

Announced on 14 October in @reya_api_updates and directly to market makers.

2026-10-13 — Cursor pagination on history endpoints (API 3.6.5)

[REST] Added. These history endpoints now take optional limit and cursor query parameters and return meta.nextCursor:

  • GET /v2/market/{symbol}/perpExecutions, /spotExecutions and /executionBusts

  • GET /v2/wallet/{address}/perpExecutions, /spotExecutions, /executionBusts and /orderHistory

Results are newest first (by sequenceNumber; order history by lastUpdateAt). limit defaults to 100, which is also the maximum. For the next page, pass meta.nextCursor unchanged as cursor, with the same filters, and stop when it is absent. Cursors don't repeat or skip rows that share a timestamp, so you no longer need to page by endTime and de-duplicate.

What you need to do: nothing for the first page; requests without cursor still return the newest 100. If you page through history, switch to cursor.

2026-10-05 — uiVisible on perp market definitions (API 3.6.3)

[REST] Added. GET /v2/perpMarketDefinitions has a uiVisible field: whether the Reya app shows the market. false doesn't restrict API trading, permissions or account and history access, so a market can trade through the API before it appears in the app.

What you need to do: nothing. The field is optional to read.

2026-09-28 — Order book live on mainnet (API 3.6.2)

[REST] [WS-OrderEntry] [WS-Info] [On-chain] Added. The perpetual and spot order book is live on mainnet, serving API 3.6.2. See Environments for endpoints and signing values, and Contract Addresses for the on-chain settlement contracts.

This guide replaces both the pre-launch mainnet developer docs and the separate Order Book — Devnet guide. It documents mainnet and devnet1 together; devnet1 remains available for integration testing.

Last updated