1. Pick your titles
Start with the titles that drive volume. The big four for betting are CS2, Valorant, League of Legends and Dota 2, followed by Rainbow Six, Rocket League, Mobile Legends and Call of Duty. The Odds-API.io platform covers 15 titles and 550+ upcoming matches, so you can launch with a few and expand without changing your integration.2. List upcoming matches
Every esports event lives under theesports sport. List upcoming matches with
a single call:
id, the two competitors (home/away), the league, and
its status. Store the id, you’ll use it to fetch odds and to subscribe to
live updates.
3. Fetch odds across bookmakers
Pull odds for an event from the books you want to display or compare:4. Stream live scores and status over WebSocket
The feature that makes a betting app feel live is real-time scores. Subscribe to theodds, scores and status channels on one WebSocket connection:
Heads up:Scores update in roughly one second, and thechannelsis an allowlist, you only receive what you list. Keepoddsin there to keep receiving odds.
status channel tells you the
moment a match is added, goes live, settles (with final score) or is cancelled,
exactly the events you need to open and close markets in your UI.
5. Handle map/period data correctly
Esports scores are reported per period. Period keys arep1, p2, … for live
periods, ft for full-time, ot for overtime and ap for any decider
(formerly fulltime/overtime, update your parser if you stored the old
keys).
6. Settle and store
When astatus: settled message arrives it includes the final score, so you can
settle bets immediately. Settled events also stay queryable via
/v3/events?status=settled for 24 hours, and land in /v3/historical/events
straight away.