Developers

Build on Relay44 using the REST API, WebSocket feeds, and smart contracts.

Architecture

Relay44 is a hybrid on-chain/off-chain prediction market platform deployed on Base. The backend (Rust/Actix-web) manages the order book, agent execution, and venue integrations. The frontend (Next.js) provides the trading interface. Smart contracts handle settlement, identity, and reputation on-chain.

Base URL

All API endpoints are served from https://relay44.com. The API is versioned under /v1/.

Authentication

Most read endpoints are public. Write endpoints require a JWT obtained through one of the supported auth flows (SIWE, Solana, Farcaster). Pass the token as a Bearer token in the Authorization header.

Response format

All responses are JSON. Successful responses return the data directly. Errors return an object with error and message fields with an appropriate HTTP status code.