Retrieve live betting odds and compare moneyline, spreads, and totals across sportsbooks for NFL, NBA, MLB, NHL, and other sports using The Odds API.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install sports-odds或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install sports-odds⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/sports-odds/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: sports-odds description: "Get live sports betting odds and compare lines across sportsbooks. Supports NFL, NBA, MLB, NHL, and more." homepage: https://the-odds-api.com/ metadata: { "openclaw": { "emoji": "🏈", "requires": { "bins": ["curl", "jq"] }, "credentials": [ { "id": "odds-api-key", "name": "The Odds API Key", "description": "Free API key from https://the-odds-api.com/", "env": "ODDS_API_KEY", }, ], }, } ---
Get live betting odds from multiple sportsbooks using The Odds API. Free tier includes 500 requests/month.
export ODDS_API_KEY=your_key_hereList all available sports:
curl -s "https://api.the-odds-api.com/v4/sports?apiKey=$ODDS_API_KEY" | jq '.[] | {key, title, active}'
Common sport keys:
americanfootball_nfl - NFLbasketball_nba - NBAbaseball_mlb - MLBicehockey_nhl - NHLsoccer_epl - English Premier Leaguesoccer_usa_mls - MLSGet current odds for a sport (NFL example):
curl -s "https://api.the-odds-api.com/v4/sports/americanfootball_nfl/odds?apiKey=$ODDS_API_KEY®ions=us&markets=h2h,spreads,totals" | jq '.'
curl -s "https://api.the-odds-api.com/v4/sports/americanfootball_nfl/odds?apiKey=$ODDS_API_KEY®ions=us&markets=h2h" | jq '.[] | {game: "\(.home_team) vs \(.away_team)", commence: .commence_time, bookmakers: [.bookmakers[] | {name: .title, odds: .markets[0].outcomes}]}'
curl -s "https://api.the-odds-api.com/v4/sports/basketball_nba/odds?apiKey=$ODDS_API_KEY®ions=us&markets=spreads" | jq '.[] | {matchup: "\(.away_team) @ \(.home_team)", books: [.bookmakers[] | {book: .title, spread: .markets[0].outcomes[0]}]}'
h2h - Moneyline (head-to-head)spreads - Point spreadstotals - Over/under totalsus - US sportsbooks (DraftKings, FanDuel, BetMGM, etc.)uk - UK bookmakerseu - European bookmakersau - Australian bookmakersFind the best available line for a game:
# Get best moneyline odds
curl -s "https://api.the-odds-api.com/v4/sports/basketball_nba/odds?apiKey=$ODDS_API_KEY®ions=us&markets=h2h" | jq '
.[] |
{
game: "\(.away_team) @ \(.home_team)",
best_home: (.bookmakers | map(.markets[0].outcomes[] | select(.name == .home_team)) | max_by(.price)),
best_away: (.bookmakers | map(.markets[0].outcomes[] | select(.name == .away_team)) | max_by(.price))
}
'
curl -s "https://api.the-odds-api.com/v4/sports?apiKey=$ODDS_API_KEY" -D - 2>&1 | grep -i "x-requests"
Headers show: x-requests-used and x-requests-remaining
oddsFormat=american or oddsFormat=decimal parameter安装 Sports Odds 后,可以对 AI 说这些话来触发它
Help me get started with Sports Odds
Explains what Sports Odds does, walks through the setup, and runs a quick demo based on your current project
Use Sports Odds to retrieve live betting odds and compare moneyline, spreads, and tota...
Invokes Sports Odds with the right parameters and returns the result directly in the conversation
What can I do with Sports Odds in my marketing & growth workflow?
Lists the top use cases for Sports Odds, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/sports-odds/ 目录(个人级,所有项目可用),或 .claude/skills/sports-odds/(项目级)。重启 AI 客户端后,用 /sports-odds 主动调用,或让 AI 根据上下文自动发现并使用。
Sports Odds 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Sports Odds 可免费安装使用。请查阅仓库了解许可证信息。
Retrieve live betting odds and compare moneyline, spreads, and totals across sportsbooks for NFL, NBA, MLB, NHL, and other sports using The Odds API.
Sports Odds 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Sports Odds
Identifies repetitive steps in your workflow and sets up Sports Odds to handle them automatically