Get a real-time Server-Sent Events stream of odds updates
Odds
Get a real-time Server-Sent Events stream of odds updates
A long-lived stream of odds updates.
The stream consists of two types of events:
- Data messages: These have an
idin the formattimestamp:indexanddatacontaining a JSON object for a single Odds record. - Heartbeats: These have an
eventfield set toheartbeatand may have data like{"Ts": 12345}.
GET
Get a real-time Server-Sent Events stream of odds updates
Authorizations
User's session JWT.
The user's long-lived API token, obtained from the activation endpoint.
Headers
Bearer token for the user's session JWT.
The user's long-lived API token.
Optional. The ID of the last event received, to resume the stream.
Query Parameters
Optional. Filter the event stream for a single fixture ID.