Pred · AsyncAPI Specification
PRED Real-Time API (Ably WebSocket)
Version 1.0.0
Real-time market and order data for the Pred prediction exchange, delivered over Ably WebSocket. Obtain an Ably token via POST /api/v1/auth/ably (use it as Ably authCallback). The private user channel requires entering Ably Presence before events are delivered.
View Spec
View on GitHub
CompanyFintechPrediction MarketsSportsTradingExchangeWeb3BlockchainBaseUSDCAsyncAPIWebhooksEvents
Channels
market:{marketId}
Public market channel. Capability: subscribe. Carries orderbook snapshots and last-traded price.
private:user:{userId}
Private per-user channel. Capabilities: presence, subscribe. You may only subscribe to your own user_id channel, and MUST enter Ably Presence first or no order events are delivered.
Servers
wss
ably
realtime.ably.io
Ably realtime. Token auth via POST /api/v1/auth/ably.