Push API / Get started
Push API
Receive and react to prices, bet status and event changes in real time.
The Push API delivers data changes — prices, bet status and event changes — to individual API users through a RabbitMQ broker.
Push augments the REST API and must be used in tandem with it. REST provides the context for push data (element ids, the event / market / runner hierarchy) and should be used as a backup to ensure consistency if messages are lost or missed.
Recommended queue configuration
- No ack required
- Prefetch enabled
- Auto-delete enabled, so queues are removed on disconnection
