
The Odds API
Sports betting data from dozens of bookmakers, updated in real time. Your AI agent queries The Odds API for live odds, event schedules, scores, and participant data across every major sport. Users get instant answers about lines, spreads, and totals without navigating multiple sportsbook sites.




From live betting odds to event schedules and game scores, your AI agent delivers comprehensive sports data from The Odds API in every conversation.
The Odds API
Real scenarios where AI agents use The Odds API to deliver betting data, game schedules, and live scores to users through natural conversation.
A user asks 'What are the best odds for the Chiefs game tonight?' Your AI Agent queries The Odds API for the event, pulls head-to-head odds from DraftKings, FanDuel, BetMGM, and other regional bookmakers, then presents a side-by-side comparison. The user spots the best line without logging into six different sportsbooks. Line shopping that used to take 15 minutes happens in one message.
A user following the Premier League asks 'What is the score in the Arsenal match right now?' Your AI Agent fetches real-time scores from The Odds API filtered to soccer EPL and the current day. The user gets the live score, both teams, and game status immediately. They stay engaged in the conversation while tracking their match.
A sports fan asks 'What NFL and NBA games are happening this weekend?' Your AI Agent queries events for both sport keys, compiles upcoming matches with start times and team matchups, and presents a clean schedule. The user plans their weekend viewing without checking multiple league apps. Event discovery becomes conversational.

The Odds API
FAQs
The agent calls The Odds API's Get Odds endpoint with sport key, regions (US, UK, EU, AU), and market types (h2h, spreads, totals). The API aggregates odds from all available bookmakers in the specified regions and returns them in a single response. The agent presents the comparison to the user.
The Odds API covers 70+ sports and leagues worldwide including NFL, NBA, MLB, NHL, Premier League, La Liga, Champions League, UFC, tennis, golf, and more. The Get Sports endpoint returns all currently in-season sports, with an option to include out-of-season leagues.
Tars requires your Odds API key, which you generate from The Odds API developer portal. The key provides access to sports, events, odds, scores, and participants endpoints. API usage is metered by credits, with basic searches using 1 credit and advanced searches using 2.
Yes. The bookmakers parameter accepts a comma-separated list of bookmaker keys like draftkings, fanduel, or bet365. The agent retrieves odds only from the specified books, useful when users have preferences or want to compare specific sportsbooks.
Scores are updated in real time for live events. The Get Scores endpoint returns both live and recently completed game scores, with a daysFrom parameter to control the time window (0-3 days). Timestamps are available in ISO or Unix format.
No. All odds, scores, and event data are fetched live from The Odds API during each conversation. Data is used to respond to the user's query and is not cached or stored on Tars servers. Each request returns the most current information available.
The Odds API supports decimal, American, and fractional odds formats via the oddsFormat parameter. The agent can present odds in whichever format the user prefers. Decimal is the default, but American format is standard for US sports bettors.
Yes. The Get Event Odds endpoint accepts a specific eventId and sport key, returning detailed odds from all available bookmakers for just that event. This is more efficient than fetching all events when the user already knows which game they want.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.