v4 is a REST API without a WebSocket. WebSocket streaming is part of the v5 API.
How fast can I poll?
Each endpoint has a minimum wait between two calls from the same key:
Call sooner and you get
429 RATE_LIMITED with a retryMs field that tells you how long to wait. See rate limits. In practice your request allowance decides how often you can poll, because every poll is one request. See Requests & quota.
Polling that doesn’t burn your quota
- Poll only what is about to matter. Ask
/v4/fixturesfor a date range withhasOdds=true, then poll odds just for the fixtures you act on. - Slow down far from kick-off. Poll rarely days ahead and more often in the last hour.
- Use the widest call that fits.
/v4/odds-by-tournamentsreturns a whole tournament for one bookmaker in one request./v4/oddsreturns one fixture for several bookmakers in one request. - Cache reference data. Fetch sports, bookmakers, markets and languages once a day, not once per loop.
- Diff on
changedAt. Compare each price’schangedAtwith what you stored and only react when it moved. - Use history instead of recording.
/v4/historical-oddsgives you the price changes of a fixture and does not use your quota.
A simple polling loop
When polling stops being enough
Polling fits odds comparison, pre-match models, alerts and dashboards. If you need every price change pushed the moment it happens, for example for in-play trading across many fixtures, the v5 WebSocket does that.WebSocket API docs (v5)
Connect, authenticate and stream live odds, scores and fixtures in real time.