Oryn’s current public API surface is the orderbook and relayer. The quote API is part of the swap flow, but a stable public quote reference is not published yet.

API surfaces

APIPurpose
OrderbookCreate orders, list orders, fetch order state, and read aggregate stats.
RelayerSubmit destination claim requests through the current claims endpoint.
QuotePlanned public reference; currently consumed by the app and orderbook flow.

Response envelope

Most JSON responses use:
{
  "status": "Success",
  "result": {}
}
Most errors use:
{
  "status": "Error",
  "result": "error message"
}
Health checks are exceptions:
  • Orderbook GET /health returns plain text.
  • Relayer GET /health returns JSON.

Amounts

Use decimal strings for token amounts. Treat them as base-unit values unless an endpoint explicitly documents a display amount.
Do not use JavaScript floating point numbers for token amounts. Use strings, bigint, or a decimal library.

IDs

IDMeaning
quote_idQuote identifier consumed exactly once by order creation.
order_idOrderbook identifier used for reads and relayer claims.
swap_idEscrow vault address for an intent side.

Status fields

The API still exposes contract-aligned field names such as create_tx_hash, claim_tx_hash, and cancel_tx_hash. In product copy, map them to:
  • initiate
  • claim
  • cancel

Next references

  • Generated Orderbook API pages are in the Orderbook API group.
  • Generated Relayer API pages are in the Relayer API group.
  • Error handling guidance is in Errors.