The Odds API for AI agents

The Odds API delivers real-time sports betting odds from bookmakers worldwide, used by sports apps and data tools that display or analyze betting lines. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

LifestyleAPI keyMCP + RESTthe-odds-api.com
AUDIT LOG · THE ODDS APIPOLICY: acme-support
09:41:07 · claude · u_8f2read
the_odds_api.get_odds
Get Odds✓ allowed · 212ms
09:41:08 · claude · u_8f2read
the_odds_api.get_events
Get Events✓ allowed · 164ms
EVERY THE ODDS API CALL, ON THE RECORD
01 · USE CASES

What agents do in The Odds API.

01

Get current odds for a sport

Pull the latest betting odds across bookmakers for a specific sport or league.

02

List available sports

Read which sports currently have odds coverage, a read-only lookup.

03

Get scores for recent events

Retrieve final or live scores for events tied to the odds being tracked.

02 · ACTIONS

8 The Odds API actions, graded by risk.

Every The Odds API action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

8

Look things up. Allowed by default.

  • the_odds_api.get_odds
    Get Odds
  • the_odds_api.get_events
    Get Events
  • the_odds_api.get_scores
    Get Scores
  • the_odds_api.get_sports
    Get Sports
  • the_odds_api.get_v3_odds
    Get Odds (V3 Legacy)
  • the_odds_api.get_event_odds
    Get Event Odds
  • the_odds_api.get_participants
    Get Participants
  • the_odds_api.get_event_markets
    Get Event Markets

write

0

Create and change things. Allow, or ask the user first.

  • No write actions.

destructive

0

Delete, cancel or archive. Ask first, or deny outright.

  • No destructive actions.
03 · HOW IT WORKS

The Odds API in three steps.

  1. 01Your users connect The Odds APIThey add their The Odds API api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, and writes like “updates” can wait for the user to approve.
  3. 03Any agent can actYour agent calls The Odds API through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('the_odds_api', {
  read: 'allow',
  write: 'ask',        
  destructive: 'deny',  
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How The Odds API connects.

Users add their The Odds API api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same The Odds API connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use The Odds API from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

The Odds API and Arc0, answered.

Q01

Can I use The Odds API with Claude, ChatGPT or Cursor?

Yes. Connect The Odds API to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the The Odds API actions you allow.

Q02

How do users connect The Odds API?

Users add their The Odds API api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which The Odds API actions can my agent take?

8 in total: 8 read, 0 write and 0 destructive. Your policies decide which of them each agent may call.

Q04

Can I make my agent read-only in The Odds API?

Yes. Allow read actions and deny writes in the The Odds API policy. Your agent can still look things up, and any write it attempts is blocked and logged.

Q05

Can my own backend call The Odds API too?

Yes. The same The Odds API connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug The Odds API into your agent.

Your users connect The Odds API once, under your brand. Your agent gets 8 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan