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 天免费 · 无需信用卡 · EU 托管

问 The 任何事

通过 AnythingMCP 对 The Odds API 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 The
The Odds API · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 The Odds API。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 The Odds API

The 指南

面向主流 AI 客户端的逐步设置。

配置 The Odds API

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

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.

你的 AI 距离 The Odds API 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。