# The Odds API

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

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**The Odds API** authenticates with an API key. Generate the credential in your The Odds API account, then paste it into FlyMyAI the first time an agent uses a The Odds API action.

[Get your The Odds API credential →](https://the-odds-api.com/account)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `API Key` | The API key associated with your subscription. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `THE_ODDS_API_GET_EVENTS` | Tool to fetch live and upcoming events for a specified sport. use when you need event listings including odds. | `sport` |
| `THE_ODDS_API_GET_EVENT_ODDS` | Tool to retrieve odds for a specific event. use after confirming sport key and event id to obtain bookmaker and market details. | `sport`, `eventId` |
| `THE_ODDS_API_GET_ODDS` | 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. | `sport`, `regions` |
| `THE_ODDS_API_GET_PARTICIPANTS` | Tool to fetch list of participants (teams or players) for a specified sport. use after confirming you have a valid sport key. | `sport` |
| `THE_ODDS_API_GET_SCORES` | 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. | `sport` |
| `THE_ODDS_API_GET_SPORTS` | 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. | - |

## Links

- [The Odds API website](https://the-odds-api.com/)
- [Get API key / credential](https://the-odds-api.com/account)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
