The Odds API · Capability
The Odds API — Odds
The Odds API — Odds. 2 operations. Lead operation: Get Event Odds. Self-contained Naftiko capability covering one The Odds Api business surface.
What You Can Do
GET
Geteventodds
— Get Event Odds
/v1/v4/sports/{sport}/events/{eventid}/odds
GET
Getsportodds
— Get Sport Odds
/v1/v4/sports/{sport}/odds
MCP Tools
get-event-odds
Get Event Odds
read-only
idempotent
get-sport-odds
Get Sport Odds
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: The Odds API — Odds
description: 'The Odds API — Odds. 2 operations. Lead operation: Get Event Odds. Self-contained Naftiko capability covering
one The Odds Api business surface.'
tags:
- The Odds Api
- Odds
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
THE_ODDS_API_API_KEY: THE_ODDS_API_API_KEY
capability:
consumes:
- type: http
namespace: the-odds-odds
baseUri: https://api.the-odds-api.com
description: The Odds API — Odds business capability. Self-contained, no shared references.
resources:
- name: v4-sports-sport-events-eventId-odds
path: /v4/sports/{sport}/events/{eventId}/odds
operations:
- name: geteventodds
method: GET
description: Get Event Odds
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: sport
in: path
type: string
description: Sport key from /v4/sports.
required: true
- name: eventId
in: path
type: string
description: Event ID from /v4/sports/{sport}/events.
required: true
- name: apiKey
in: query
type: string
description: Your API key.
required: true
- name: regions
in: query
type: string
description: Comma-separated regions for bookmakers.
required: true
- name: markets
in: query
type: string
description: Comma-separated betting markets.
- name: oddsFormat
in: query
type: string
description: 'Odds format: decimal or american.'
- name: dateFormat
in: query
type: string
description: 'Date format: iso or unix.'
- name: bookmakers
in: query
type: string
description: Comma-separated bookmaker IDs to include.
- name: v4-sports-sport-odds
path: /v4/sports/{sport}/odds
operations:
- name: getsportodds
method: GET
description: Get Sport Odds
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: sport
in: path
type: string
description: Sport key from /v4/sports (e.g., basketball_nba, americanfootball_nfl) or 'upcoming' for cross-sport
upcoming events.
required: true
- name: apiKey
in: query
type: string
description: Your API key.
required: true
- name: regions
in: query
type: string
description: 'Comma-separated regions for bookmakers. Values: us, us2, uk, au, eu. Quota: 1 credit per region per
market.'
required: true
- name: markets
in: query
type: string
description: 'Comma-separated betting markets. Values: h2h, spreads, totals, outrights. Defaults to h2h.'
- name: oddsFormat
in: query
type: string
description: 'Odds format. Values: decimal (default), american.'
- name: dateFormat
in: query
type: string
description: 'Date format. Values: iso (default), unix.'
- name: bookmakers
in: query
type: string
description: Comma-separated bookmaker IDs to filter results. Cannot be used with regions parameter.
- name: eventIds
in: query
type: string
description: Comma-separated event IDs to filter results.
- name: commenceTimeFrom
in: query
type: string
description: Filter to events commencing after this ISO 8601 datetime.
- name: commenceTimeTo
in: query
type: string
description: Filter to events commencing before this ISO 8601 datetime.
- name: includeLinks
in: query
type: boolean
description: Include bookmaker deep-links to the event.
- name: includeBetLimits
in: query
type: boolean
description: Include maximum bet limit information where available.
authentication:
type: apikey
key: apiKey
value: '{{env.THE_ODDS_API_API_KEY}}'
placement: query
exposes:
- type: rest
namespace: the-odds-odds-rest
port: 8080
description: REST adapter for The Odds API — Odds. One Spectral-compliant resource per consumed operation, prefixed with
/v1.
resources:
- path: /v1/v4/sports/{sport}/events/{eventid}/odds
name: v4-sports-sport-events-eventid-odds
description: REST surface for v4-sports-sport-events-eventId-odds.
operations:
- method: GET
name: geteventodds
description: Get Event Odds
call: the-odds-odds.geteventodds
with:
sport: rest.sport
eventId: rest.eventId
apiKey: rest.apiKey
regions: rest.regions
markets: rest.markets
oddsFormat: rest.oddsFormat
dateFormat: rest.dateFormat
bookmakers: rest.bookmakers
outputParameters:
- type: object
mapping: $.
- path: /v1/v4/sports/{sport}/odds
name: v4-sports-sport-odds
description: REST surface for v4-sports-sport-odds.
operations:
- method: GET
name: getsportodds
description: Get Sport Odds
call: the-odds-odds.getsportodds
with:
sport: rest.sport
apiKey: rest.apiKey
regions: rest.regions
markets: rest.markets
oddsFormat: rest.oddsFormat
dateFormat: rest.dateFormat
bookmakers: rest.bookmakers
eventIds: rest.eventIds
commenceTimeFrom: rest.commenceTimeFrom
commenceTimeTo: rest.commenceTimeTo
includeLinks: rest.includeLinks
includeBetLimits: rest.includeBetLimits
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: the-odds-odds-mcp
port: 9090
transport: http
description: MCP adapter for The Odds API — Odds. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: get-event-odds
description: Get Event Odds
hints:
readOnly: true
destructive: false
idempotent: true
call: the-odds-odds.geteventodds
with:
sport: tools.sport
eventId: tools.eventId
apiKey: tools.apiKey
regions: tools.regions
markets: tools.markets
oddsFormat: tools.oddsFormat
dateFormat: tools.dateFormat
bookmakers: tools.bookmakers
outputParameters:
- type: object
mapping: $.
- name: get-sport-odds
description: Get Sport Odds
hints:
readOnly: true
destructive: false
idempotent: true
call: the-odds-odds.getsportodds
with:
sport: tools.sport
apiKey: tools.apiKey
regions: tools.regions
markets: tools.markets
oddsFormat: tools.oddsFormat
dateFormat: tools.dateFormat
bookmakers: tools.bookmakers
eventIds: tools.eventIds
commenceTimeFrom: tools.commenceTimeFrom
commenceTimeTo: tools.commenceTimeTo
includeLinks: tools.includeLinks
includeBetLimits: tools.includeBetLimits
outputParameters:
- type: object
mapping: $.