The Odds API
the_odds_apiThe Odds API provides real-time sports betting odds data from various bookmakers worldwide, covering multiple sports and betting markets.
Acciones disponibles (6)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Event OddsTHE_ODDS_API_GET_EVENT_ODDSAcciónTool to retrieve odds for a specific event. use after confirming sport key and event id to obtain bookmaker and market details.
THE_ODDS_API_GET_EVENT_ODDSAcciónTool to retrieve odds for a specific event. use after confirming sport key and event id to obtain bookmaker and market details.
Parámetros de entrada
sportstringObligatorioSport key (e.g., 'soccer_epl')
eventIdstringObligatorioEvent ID to look up odds for
marketsstringMarkets to include (comma-separated, e.g., 'h2h,spreads,totals')
regionsstringRegions to filter bookies by (comma-separated, e.g., 'us,uk,eu,au')
bookmakersstringBookmakers to include (comma-separated names)
dateFormatstringenumDate format for timestamps
isounixoddsFormatstringenumFormat of odds
decimalamerican
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get EventsTHE_ODDS_API_GET_EVENTSAcciónTool to fetch live and upcoming events for a specified sport. use when you need event listings including odds.
THE_ODDS_API_GET_EVENTSAcciónTool to fetch live and upcoming events for a specified sport. use when you need event listings including odds.
Parámetros de entrada
sportstringObligatorioSport key (e.g., 'upcoming', 'soccer_epl')
marketsstring[]Filter by market types. Comma delimited (h2h, spreads, totals).
regionsstring[]Filter markets by region. Comma delimited (us, uk, eu, au).
bookmakersstring[]Filter by bookmaker keys. Comma delimited.
dateFormatstringenumDate format to return: 'iso' or 'unix'.
isounixoddsFormatstringenumOdds format to return: 'decimal' or 'american'.
decimalamerican
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get OddsTHE_ODDS_API_GET_ODDSAcciónTool to fetch live and upcoming event odds for a specified sport, including bookmakers, regions, and markets. use after retrieving sports via get sports; filter by region, market, or event ids.
THE_ODDS_API_GET_ODDSAcciónTool to fetch live and upcoming event odds for a specified sport, including bookmakers, regions, and markets. use after retrieving sports via get sports; filter by region, market, or event ids.
Parámetros de entrada
sportstringObligatorioSport key (e.g., 'soccer_epl')
marketsstring[]Filter by market types. Comma delimited list: h2h, spreads, totals.
regionsstring[]ObligatorioFilter by region. Comma delimited list of regions: us, uk, eu, au.
eventIdsstring[]Filter by event IDs. Comma delimited.
bookmakersstring[]Filter by bookmaker keys. Comma delimited.
dateFormatstringenumFormat of date to return.
isounixoddsFormatstringenumFormat of odds to return.
decimalamericanfractional
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ParticipantsTHE_ODDS_API_GET_PARTICIPANTSAcciónTool to fetch list of participants (teams or players) for a specified sport. use after confirming you have a valid sport key.
THE_ODDS_API_GET_PARTICIPANTSAcciónTool to fetch list of participants (teams or players) for a specified sport. use after confirming you have a valid sport key.
Parámetros de entrada
sportstringObligatorioThe key identifying the sport (path parameter). Examples include 'soccer_epl', 'upcoming', etc.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ScoresTHE_ODDS_API_GET_SCORESAcciónTool to return live and recently completed event scores for a sport. use after selecting a sport key to inspect current and recent game scores.
THE_ODDS_API_GET_SCORESAcciónTool to return live and recently completed event scores for a sport. use after selecting a sport key to inspect current and recent game scores.
Parámetros de entrada
sportstringObligatorioSport key (e.g., 'soccer_epl', 'upcoming')
daysFromintegerRestrict to games starting within X days (0-3, default 1)
dateFormatstringenumDate/time format: 'iso' for RFC3339 strings or 'unix' timestamps
isounix
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SportsTHE_ODDS_API_GET_SPORTSAcciónTool to retrieve a list of in-season sports. use when you need sports data; set 'all' to true to include out-of-season sports.
THE_ODDS_API_GET_SPORTSAcciónTool to retrieve a list of in-season sports. use when you need sports data; set 'all' to true to include out-of-season sports.
Parámetros de entrada
allbooleanWhether to include all sports (in and out of season)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not