{"skill":{"slug":"sports-odds","displayName":"Sports Odds","summary":"Retrieve live betting odds and compare moneyline, spreads, and totals across sportsbooks for NFL, NBA, MLB, NHL, and other sports using The Odds API.","description":"---\nname: sports-odds\ndescription: \"Get live sports betting odds and compare lines across sportsbooks. Supports NFL, NBA, MLB, NHL, and more.\"\nhomepage: https://the-odds-api.com/\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"🏈\",\n        \"requires\": { \"bins\": [\"curl\", \"jq\"] },\n        \"credentials\":\n          [\n            {\n              \"id\": \"odds-api-key\",\n              \"name\": \"The Odds API Key\",\n              \"description\": \"Free API key from https://the-odds-api.com/\",\n              \"env\": \"ODDS_API_KEY\",\n            },\n          ],\n      },\n  }\n---\n\n# Sports Betting Odds\n\nGet live betting odds from multiple sportsbooks using The Odds API. Free tier includes 500 requests/month.\n\n## Setup\n\n1. Get a free API key at https://the-odds-api.com/\n2. Set the environment variable: `export ODDS_API_KEY=your_key_here`\n\n## Available Sports\n\nList all available sports:\n\n```bash\ncurl -s \"https://api.the-odds-api.com/v4/sports?apiKey=$ODDS_API_KEY\" | jq '.[] | {key, title, active}'\n```\n\nCommon sport keys:\n- `americanfootball_nfl` - NFL\n- `basketball_nba` - NBA\n- `baseball_mlb` - MLB\n- `icehockey_nhl` - NHL\n- `soccer_epl` - English Premier League\n- `soccer_usa_mls` - MLS\n\n## Get Odds\n\nGet current odds for a sport (NFL example):\n\n```bash\ncurl -s \"https://api.the-odds-api.com/v4/sports/americanfootball_nfl/odds?apiKey=$ODDS_API_KEY&regions=us&markets=h2h,spreads,totals\" | jq '.'\n```\n\n### Compact odds view:\n\n```bash\ncurl -s \"https://api.the-odds-api.com/v4/sports/americanfootball_nfl/odds?apiKey=$ODDS_API_KEY&regions=us&markets=h2h\" | jq '.[] | {game: \"\\(.home_team) vs \\(.away_team)\", commence: .commence_time, bookmakers: [.bookmakers[] | {name: .title, odds: .markets[0].outcomes}]}'\n```\n\n### Compare spreads across books:\n\n```bash\ncurl -s \"https://api.the-odds-api.com/v4/sports/basketball_nba/odds?apiKey=$ODDS_API_KEY&regions=us&markets=spreads\" | jq '.[] | {matchup: \"\\(.away_team) @ \\(.home_team)\", books: [.bookmakers[] | {book: .title, spread: .markets[0].outcomes[0]}]}'\n```\n\n## Markets\n\n- `h2h` - Moneyline (head-to-head)\n- `spreads` - Point spreads\n- `totals` - Over/under totals\n\n## Regions\n\n- `us` - US sportsbooks (DraftKings, FanDuel, BetMGM, etc.)\n- `uk` - UK bookmakers\n- `eu` - European bookmakers\n- `au` - Australian bookmakers\n\n## Best Line Finder\n\nFind the best available line for a game:\n\n```bash\n# Get best moneyline odds\ncurl -s \"https://api.the-odds-api.com/v4/sports/basketball_nba/odds?apiKey=$ODDS_API_KEY&regions=us&markets=h2h\" | jq '\n  .[] | \n  {\n    game: \"\\(.away_team) @ \\(.home_team)\",\n    best_home: (.bookmakers | map(.markets[0].outcomes[] | select(.name == .home_team)) | max_by(.price)),\n    best_away: (.bookmakers | map(.markets[0].outcomes[] | select(.name == .away_team)) | max_by(.price))\n  }\n'\n```\n\n## Check API Usage\n\n```bash\ncurl -s \"https://api.the-odds-api.com/v4/sports?apiKey=$ODDS_API_KEY\" -D - 2>&1 | grep -i \"x-requests\"\n```\n\nHeaders show: `x-requests-used` and `x-requests-remaining`\n\n## Tips\n\n- Cache responses to save API calls\n- Use `oddsFormat=american` or `oddsFormat=decimal` parameter\n- Free tier: 500 requests/month, paid plans available for more\n","tags":{"latest":"0.1.0"},"stats":{"comments":0,"downloads":1935,"installsAllTime":72,"installsCurrent":6,"stars":1,"versions":1},"createdAt":1771116466434,"updatedAt":1778491542212},"latestVersion":{"version":"0.1.0","createdAt":1771116466434,"changelog":"Initial release: Live sports betting odds and line comparison for multiple leagues.\n\n- Fetch live odds from The Odds API for NFL, NBA, MLB, NHL, and more.\n- Compare lines, spreads, and totals across sportsbooks with easy `curl`/`jq` commands.\n- Supports fetching available sports, best line finder, and compact odds views.\n- Setup instructions and API key environment variable configuration included.\n- Covers US, UK, EU, and AU sportsbook regions.\n- Tips for API usage tracking and response caching for efficiency.","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"ianalloway","userId":"s1722cdfwzgh5m1qw8kxg0jh5x884b89","displayName":"ianalloway","image":"https://avatars.githubusercontent.com/u/200005377?v=4"},"moderation":null}