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 上安装 TheClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 The Odds API。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 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 withdays_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,totalsinus,eucosts 6. Ten bookmakers inbookmakerscount 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.
the_odds_api_list_sportsfor the sport key (soccer_epl,basketball_nba,americanfootball_nfl...).the_odds_api_list_eventsfor event ids and start times (free).the_odds_api_get_oddsfor a whole sport, orthe_odds_api_get_event_marketsthenthe_odds_api_get_event_oddsfor one game, including player props.the_odds_api_get_scoresfor 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.