NAiOS IconNAiOS Logo
Volver al catálogo

The Odds API

the_odds_api

The Odds API provides real-time sports betting odds data from various bookmakers worldwide, covering multiple sports and betting markets.

Acciones
6
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Tool 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

  • sportstringObligatorio

    Sport key (e.g., 'soccer_epl')

  • eventIdstringObligatorio

    Event ID to look up odds for

  • marketsstring

    Markets to include (comma-separated, e.g., 'h2h,spreads,totals')

  • regionsstring

    Regions to filter bookies by (comma-separated, e.g., 'us,uk,eu,au')

  • bookmakersstring

    Bookmakers to include (comma-separated names)

  • dateFormatstringenum

    Date format for timestamps

    isounix
  • oddsFormatstringenum

    Format of odds

    decimalamerican

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get EventsTHE_ODDS_API_GET_EVENTSAcción

Tool to fetch live and upcoming events for a specified sport. use when you need event listings including odds.

Parámetros de entrada

  • sportstringObligatorio

    Sport 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.

  • dateFormatstringenum

    Date format to return: 'iso' or 'unix'.

    isounix
  • oddsFormatstringenum

    Odds format to return: 'decimal' or 'american'.

    decimalamerican

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OddsTHE_ODDS_API_GET_ODDSAcción

Tool 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

  • sportstringObligatorio

    Sport key (e.g., 'soccer_epl')

  • marketsstring[]

    Filter by market types. Comma delimited list: h2h, spreads, totals.

  • regionsstring[]Obligatorio

    Filter 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.

  • dateFormatstringenum

    Format of date to return.

    isounix
  • oddsFormatstringenum

    Format of odds to return.

    decimalamericanfractional

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ParticipantsTHE_ODDS_API_GET_PARTICIPANTSAcción

Tool 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

  • sportstringObligatorio

    The key identifying the sport (path parameter). Examples include 'soccer_epl', 'upcoming', etc.

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ScoresTHE_ODDS_API_GET_SCORESAcción

Tool 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

  • sportstringObligatorio

    Sport key (e.g., 'soccer_epl', 'upcoming')

  • daysFrominteger

    Restrict to games starting within X days (0-3, default 1)

  • dateFormatstringenum

    Date/time format: 'iso' for RFC3339 strings or 'unix' timestamps

    isounix

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SportsTHE_ODDS_API_GET_SPORTSAcción

Tool 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

  • allboolean

    Whether to include all sports (in and out of season)

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not