Skip to main content
Prediction Markets API provides REST API for market discovery, market data, orders, positions, account data, and claims, plus WebSocket for real-time updates.

Base URL

Public market-data REST endpoints use /api/v4/prediction and do not require authentication. Private order, position, account, and claim endpoints use /api/v4/broker/prediction. Call private endpoints with a Broker API Key and pass the target user’s wallet address in X-User-Wallet-Address. See Broker API Key and signing and Access on behalf of a user. Private WebSocket subscriptions use the separate Broker WebSocket authentication flow.

Status fields

Market status describes the market state. REST order status uses processing, open, matched, canceled, and failed. A WebSocket message’s type identifies the push message type. Interpret market, REST order, and WebSocket values according to their own endpoint or channel definitions.