The Odds API

Live sports odds and scores flow through your AI agent with 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.

Chosen by 800+ global brands across industries

Real-time sports data at conversation speed

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

Use Cases

Sports intelligence delivered in real time

Real scenarios where AI agents use The Odds API to deliver betting data, game schedules, and live scores to users through natural conversation.

Odds Comparison Across Bookmakers in Seconds

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.

Live Score Updates During In-Play Conversations

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.

Weekend Sports Schedule at a Glance

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.

Try
The Odds API

The Odds API

FAQs

Frequently Asked Questions

How does the AI agent fetch odds from multiple bookmakers at once?

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.

What sports does The Odds API cover?

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.

What API credentials does Tars need for The Odds API?

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.

Can the agent filter odds by specific bookmakers?

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.

How current are the scores returned by the API?

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.

Does Tars store sports betting data from The Odds API?

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.

What odds formats are supported?

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.

Can the agent retrieve odds for a single specific event?

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.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

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

We’ll never let you lose sleep over privacy and security concerns

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

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo