Connection
Connect to the Manifold WebSocket endpoint:Subscribing to markets
Once connected, send a JSON message to subscribe usingmarket_id:
Unsubscribing
Message types
Price messages
Orderbook messages
Trade messages
Full example
Important notes
- Authentication required via
api_keyquery parameter - Use
market_id(Manifold market identifier) to subscribe - Manifold data is sourced via REST polling (5–15s intervals), not native WebSocket
- Messages are only sent for markets you have explicitly subscribed to
- Trades must be explicitly requested (not included in the default subscription)

