The Odds API

The Odds API

The Odds API (the-odds-api.com) v4: betting odds from US, UK, EU and Australian bookmakers for soccer, NFL, NBA, MLB, NHL, tennis and more, event odds with player props, live scores, participants and historical odds. Not the odds-api.io service.

7-day free trial · No credit card · EU-hosted

Ask The anything

Try a real prompt against The Odds API via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install The on Cloud
The Odds API · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click The Odds API in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install The Odds API now

Guides for The

Step-by-step setup for the most popular AI clients.

Setting up The Odds API

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

The Odds API

This connector reads The Odds API v4 (https://api.the-odds-api.com/v4, the-odds-api.com): betting odds from many bookmakers in the US, UK, EU and Australia for soccer, American football, basketball, baseball, ice hockey, tennis, cricket, MMA and more, plus scores and historical odds. Every tool only reads. It is a different service from the Odds API connector (odds-api, odds-api.io): use this one when your key comes from the-odds-api.com.

Setup. Get a key at https://the-odds-api.com (a free plan with 500 credits a month exists) and paste it into THE_ODDS_API_KEY. It is sent as the apiKey query parameter and is never a tool argument.

Credits. Most calls spend credits from the monthly quota, and every answer reports the balance in _headers: x-requests-remaining, x-requests-used and x-requests-last (the cost of that call). Read it and tell the user when it runs low.

  • Free: the_odds_api_list_sports, the_odds_api_list_events.
  • 1 credit: the_odds_api_get_scores (2 with days_from), the_odds_api_get_event_markets, the_odds_api_list_participants, the_odds_api_get_historical_events.
  • Odds: markets times regions. One market in one region costs 1; h2h,spreads,totals in us,eu costs 6. Ten bookmakers in bookmakers count as one region. Start with one market and one region.
  • Historical odds (paid plans only): 10 credits per market per region. Ask the user before calling them.

Workflow.

  1. the_odds_api_list_sports for the sport key (soccer_epl, basketball_nba, americanfootball_nfl ...).
  2. the_odds_api_list_events for event ids and start times (free).
  3. the_odds_api_get_odds for a whole sport, or the_odds_api_get_event_markets then the_odds_api_get_event_odds for one game, including player props.
  4. the_odds_api_get_scores for live scores and recent results.

Reading the data. Times are ISO 8601 in UTC. Odds are decimal unless odds_format is american. Each bookmaker has last_update; prices change constantly, so quote the time. Soccer h2h has three outcomes including Draw. Implied probability = 1 / decimal odds.

Errors. 401: key missing, wrong or out of credits. 422: an invalid parameter, such as an unknown market or region, or a historical call on a plan without history. 429: too many requests at once; wait a second and retry. 404 on an event: it has started or finished and is no longer listed.

Your AI is two clicks away from The Odds API.

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.