The Odds API
communitySports odds comparison API with real-time betting lines from 50+ bookmakers.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.the-odds-api.com/v4/sportsList sports
Returns
sports[] with key, group, title, description, active, has_outrightsGET
https://api.the-odds-api.com/v4/sports/{sport}/oddsGet odds
Parameters
sportsport key (stringrequiredmarketsh2h|spreads|totals (stringoptionalregionsus|uk|eu|au (stringrequiredoddsFormatamerican|decimal (stringoptionalReturns
events[] with id, sport_key, commence_time, home_team, away_team, bookmakers[] with key, title, markets[]GET
https://api.the-odds-api.com/v4/sports/{sport}/scoresGet scores
Parameters
sportsport key (stringrequireddaysFrom1-3 (integeroptionalReturns
events[] with id, sport_key, commence_time, home_team, away_team, completed, scores[]