SportWizzard Odds API
The flat, normalized odds feed and its delta sync.
The flat, normalized odds feed and its delta sync.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sportwizzard-com:sportwizzard-com-odds-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SportWizzard Odds API
version: 1.0.0
description: '**Try any endpoint:** pick it in the sidebar, paste your API key under Authentication (create one free at sportwizzard.com/account), fill the highlighted parameters, and press Send. Each endpoint shows a real captured response before you send anything.
The sports betting data API. Real-time odds from sportsbooks and DFS platforms, plus the underlying data to build your own models: players, teams, box-score stats, historical prices, and game context (weather, lineups, probable pitchers, venue, scores) in one canonical schema — and the full live snapshot. Edges and arbitrage are derived signals. Free signup is open, usage is not currently metered, and paid signup is paused; pricing limits and credit costs are planned. All responses use a consistent envelope ({success, data, nextCursor, meta}). Authenticate with the X-Api-Key header using a Clerk-issued API key. Pagination uses opaque cursors (pass meta/nextCursor back as ?cursor=). Reference endpoints (competitions, sportsbooks, competitors, players, markets) are uncounted. Authenticated responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (epoch seconds) headers.
Who gets which fields: one set of endpoints serves everyone. Signed-out callers, website sessions and Free-plan keys get event participants'' names and sides; an API key on a paid plan also gets competitorId/playerId on participants, playerId on odds, edge and arbitrage rows, arbitrage selection source references, and event include=source_references. These routes send Vary: Authorization, X-Api-Key, and a paid-plan response is Cache-Control: private. /players, /competitors, stats and /source-references/lookup are keyed by IDs and return the same fields to everyone.'
contact:
name: SportWizzard
url: https://sportwizzard.com/developers
email: support@sportwizzard.com
termsOfService: https://sportwizzard.com/terms
servers:
- url: https://api.sportwizzard.com
security:
- ApiKeyHeader: []
- BearerKey: []
tags:
- name: Odds
description: The flat, normalized odds feed and its delta sync.
paths:
/api/v1/odds:
get:
tags:
- Odds
summary: List odds
description: 'Normalized odds across books, filterable and keyset-paginated. Scope with any of event_id / player_id / competitor_id / sportsbook / market / competition (all optional; unscoped is allowed but paginates hard). Add scope=event|season|tournament to separate game markets from season-long futures and tournament outrights (omitted = all scopes). Recommended poll interval: 5-15s. ETag/If-None-Match supported.'
operationId: odds
parameters:
- name: competition
in: query
description: Competition code(s). Comma-separated for ANY-of matching (up to 20 values; case-insensitive exact per token), e.g. mlb or mlb,nba. More than 20 values returns 400 invalid_parameter.
required: false
schema:
type: string
example: mlb
example: mlb
- name: sportsbook
in: query
description: Sportsbook/source id(s). Comma-separated for ANY-of matching (up to 20 values; case-insensitive exact per token), e.g. draftkings,fanduel. More than 20 values returns 400 invalid_parameter.
required: false
schema:
type: string
example: draftkings,fanduel
example: draftkings,fanduel
- name: market
in: query
description: Market type filter(s); each token is a substring match. Comma-separated for ANY-of matching (up to 20 values), e.g. MONEYLINE or MONEYLINE,PLAYER_TOTAL. More than 20 values returns 400 invalid_parameter.
required: false
schema:
type: string
example: PLAYER_TOTAL,SPREAD
- name: event_id
in: query
description: Filter to a single event id
required: false
schema:
type: string
example: 7df442b5-426e-4df0-9ef5-9138819d831f
- name: player_id
in: query
description: Filter to markets referencing this resolved player id (props)
required: false
schema:
type: string
example: 000dce20-87f9-4592-b158-4f061be96d5b
- name: competitor_id
in: query
description: Filter to markets on events in which this competitor id takes part
required: false
schema:
type: string
example: 7d0a7d8f-138a-11f1-aba1-de512ebea802
- name: scope
in: query
description: 'Market scope filter: event (single-game markets), season (season-long futures — division/conference/championship winners, awards, season leaders, team win totals, season-long player props), or tournament (tournament outrights, e.g. golf). Matching is exact: scope=season does NOT include tournament rows, and vice versa. Omit for all scopes (the unchanged default). Any other value returns 400 invalid_parameter naming the valid values, so a typo can never look like "no futures exist". Only this endpoint accepts scope — /odds/updated, /events/{id}/odds, /players/{id}/odds and /competitors/{id}/odds ignore it.'
required: false
schema:
type: string
enum:
- event
- season
- tournament
example: season
example: season
- name: odds_format
in: query
description: 'Price representation: american, decimal, probability, or all (default all = both priceAmerican and priceDecimal, unchanged). american or decimal returns only that price field; probability replaces the price fields with priceProbability (implied probability = 1/decimal, 4 decimal places). Invalid values return 400 invalid_parameter.'
required: false
schema:
type: string
enum:
- american
- decimal
- probability
- all
default: all
example: probability
example: probability
- name: is_main
in: query
description: 'When true, keep only each market''s PRIMARY line per book: among a book''s alternate over/under lines for the same market + period + player/team scope, the line whose two opposing implied probabilities are most balanced. Single-line and non-over/under markets pass through unchanged.'
required: false
schema:
type: boolean
example: true
example: true
- name: cursor
in: query
description: Opaque cursor from the previous response's nextCursor. Leave empty for the first page.
required: false
schema:
type: string
- name: limit
in: query
description: Max markets per page (default 100, max 1000)
required: false
schema:
type: integer
format: int32
example: 10
example: 10
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/ApiResponseOddsRow'
example:
success: true
data:
- id: dfd0b6c1-dff6-457c-80e0-2c4c1e8ba438:ballybet:TOTAL_RUNS:01a01309-0b9a-7771-8898-ccff2126de5c
sportsbook: ballybet
competition: mlb
eventId: dfd0b6c1-dff6-457c-80e0-2c4c1e8ba438
market: TOTAL
marketSubtype: TOTAL_RUNS
period: FULL
selection: Over
priceAmerican: -106
priceDecimal: 1.95
line: 9.0
outcomeCode: OVER
suspended: false
eventStartTime: 2026-08-18T22:40
updated: '2026-08-18T11:37:27Z'
- id: dfd0b6c1-dff6-457c-80e0-2c4c1e8ba438:ballybet:TOTAL_RUNS:01a01309-0b9a-7773-9134-869c75f9dc9e
sportsbook: ballybet
competition: mlb
eventId: dfd0b6c1-dff6-457c-80e0-2c4c1e8ba438
market: TOTAL
marketSubtype: TOTAL_RUNS
period: FULL
selection: Under
priceAmerican: -136
priceDecimal: 1.74
line: 9.0
outcomeCode: UNDER
suspended: false
eventStartTime: 2026-08-18T22:40
updated: '2026-08-18T11:37:27Z'
nextCursor: YmFsbHliZXQgYmFsbHliZXRfMjY4MTQyMjQ4MA
meta:
count: 4
updated: '2026-08-18T11:37:27Z'
/api/v1/odds/updated:
get:
tags:
- Odds
summary: Odds delta feed
description: Markets whose lastSeenEpoch >= 'since' (an ISO-8601 instant or epoch millis). Keyset-paginated over the same per-source order as /odds. Poll this to sync only what changed. Scopeable with competition / sportsbook / market (same comma-separated ANY-of semantics as /odds) and odds_format.
operationId: oddsUpdated
parameters:
- name: since
in: query
description: ISO-8601 instant (2026-07-09T00:00:00Z) or epoch millis
required: true
schema:
type: string
example: '2025-07-01T00:00:00Z'
example: '2025-07-01T00:00:00Z'
- name: competition
in: query
description: Competition code(s). Comma-separated for ANY-of matching (up to 20 values; case-insensitive exact per token), e.g. mlb or mlb,nba. More than 20 values returns 400 invalid_parameter.
required: false
schema:
type: string
example: mlb
example: mlb
- name: sportsbook
in: query
description: Sportsbook/source id(s). Comma-separated for ANY-of matching (up to 20 values; case-insensitive exact per token), e.g. draftkings,fanduel. More than 20 values returns 400 invalid_parameter.
required: false
schema:
type: string
example: draftkings,fanduel
example: draftkings,fanduel
- name: market
in: query
description: Market type filter(s); each token is a substring match. Comma-separated for ANY-of matching (up to 20 values), e.g. MONEYLINE or MONEYLINE,PLAYER_TOTAL. More than 20 values returns 400 invalid_parameter.
required: false
schema:
type: string
example: PLAYER_TOTAL,SPREAD
- name: odds_format
in: query
description: 'Price representation: american, decimal, probability, or all (default all = both priceAmerican and priceDecimal, unchanged). american or decimal returns only that price field; probability replaces the price fields with priceProbability (implied probability = 1/decimal, 4 decimal places). Invalid values return 400 invalid_parameter.'
required: false
schema:
type: string
enum:
- american
- decimal
- probability
- all
default: all
example: probability
example: probability
- name: cursor
in: query
description: Opaque cursor from the previous response's nextCursor. Leave empty for the first page.
required: false
schema:
type: string
- name: limit
in: query
description: Max markets per page (default 100, max 1000)
required: false
schema:
type: integer
format: int32
example: 10
example: 10
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/ApiResponseOddsRow'
example:
success: true
data:
- id: 9294265a-4f5b-4947-94c9-49fa945667fb:ballybet:MONEYLINE:019fbda9-c7e6-7d02-ad40-a80c2e5ae99c
sportsbook: ballybet
competition: mma
eventId: 9294265a-4f5b-4947-94c9-49fa945667fb
market: MONEYLINE
marketSubtype: MONEYLINE
period: FULL
selection: Umar Nurmagomedov
priceAmerican: -480
priceDecimal: 1.21
outcomeCode: WIN
side: 2
outcomeParticipants:
- kind: competitor
name: (2) Umar Nurmagomedov
suspended: false
eventStartTime: 2026-08-29T11:00
updated: '2026-08-18T11:37:28Z'
- id: 9294265a-4f5b-4947-94c9-49fa945667fb:ballybet:MONEYLINE:019fbda9-c7e6-7d04-8432-a0e4b4448e0b
sportsbook: ballybet
competition: mma
eventId: 9294265a-4f5b-4947-94c9-49fa945667fb
market: MONEYLINE
marketSubtype: MONEYLINE
period: FULL
selection: Song Yadong
priceAmerican: 335
priceDecimal: 4.35
outcomeCode: WIN
side: 1
outcomeParticipants:
- kind: competitor
name: (6) Song Yadong
suspended: false
eventStartTime: 2026-08-29T11:00
updated: '2026-08-18T11:37:28Z'
nextCursor: YmFsbHliZXQgYmFsbHliZXRfMjY3NzQyNzQ3MA
meta:
count: 4
updated: '2026-08-18T11:37:28Z'
/api/v1/players/{playerId}/odds:
get:
tags:
- Odds
summary: Odds for one player
description: All prop prices across books for a player — markets whose outcomes reference this resolved player id. Keyset-paginated (limit + cursor) exactly like /odds.
operationId: playerOdds
parameters:
- name: playerId
in: path
required: true
schema:
type: string
example: 7ebca2e5-138a-11f1-aba1-de512ebea802
example: 7ebca2e5-138a-11f1-aba1-de512ebea802
description: Player UUID. Get one from GET /api/v1/players (or from the playerId field on any odds row).
- name: odds_format
in: query
description: 'Price representation: american, decimal, probability, or all (default all = both priceAmerican and priceDecimal, unchanged). american or decimal returns only that price field; probability replaces the price fields with priceProbability (implied probability = 1/decimal, 4 decimal places). Invalid values return 400 invalid_parameter.'
required: false
schema:
type: string
enum:
- american
- decimal
- probability
- all
default: all
example: probability
example: probability
- name: is_main
in: query
description: 'When true, keep only each market''s PRIMARY line per book: among a book''s alternate over/under lines for the same market + period + player/team scope, the line whose two opposing implied probabilities are most balanced. Single-line and non-over/under markets pass through unchanged.'
required: false
schema:
type: boolean
example: true
example: true
- name: cursor
in: query
description: Opaque cursor from the previous response's nextCursor. Leave empty for the first page.
required: false
schema:
type: string
- name: limit
in: query
description: Max markets per page (default 100, max 1000)
required: false
schema:
type: integer
format: int32
example: 10
example: 10
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/ApiResponseOddsRow'
example:
success: true
data:
- id: 7df442b5-426e-4df0-9ef5-9138819d831f:ballybet:PLAYER_TOTAL_PITCHER_STRIKEOUTS:01a01400-8da0-7b62-bd27-8759f954f8b5
sportsbook: ballybet
competition: mlb
eventId: 7df442b5-426e-4df0-9ef5-9138819d831f
market: PLAYER_TOTAL
marketSubtype: PLAYER_TOTAL_PITCHER_STRIKEOUTS
period: FULL
selection: Over
priceAmerican: -155
priceDecimal: 1.65
line: 5.5
outcomeCode: OVER
outcomeParticipants:
- kind: player
name: Shane Baz
playerName: Shane Baz
suspended: false
eventStartTime: 2026-08-18T22:35
updated: '2026-08-18T11:37:27Z'
- id: 7df442b5-426e-4df0-9ef5-9138819d831f:ballybet:PLAYER_TOTAL_PITCHING_OUTS:01a01400-8da0-7c7a-ad9c-f180c8e47136
sportsbook: ballybet
competition: mlb
eventId: 7df442b5-426e-4df0-9ef5-9138819d831f
market: PLAYER_TOTAL
marketSubtype: PLAYER_TOTAL_PITCHING_OUTS
period: FULL
selection: Over
priceAmerican: -109
priceDecimal: 1.92
line: 17.5
outcomeCode: OVER
outcomeParticipants:
- kind: player
name: Shane Baz
playerName: Shane Baz
suspended: false
eventStartTime: 2026-08-18T22:35
updated: '2026-08-18T11:37:27Z'
nextCursor: YmFsbHliZXQgYmFsbHliZXRfMjY4MTU3OTAzMA
meta:
count: 2
updated: '2026-08-18T11:37:27Z'
/api/v1/competitors/{competitorId}/odds:
get:
tags:
- Odds
summary: Odds for one competitor
description: All prices across books for markets on events in which this competitor id takes part. Keyset-paginated (limit + cursor) exactly like /odds.
operationId: competitorOdds
parameters:
- name: competitorId
in: path
required: true
schema:
type: string
example: 7d0a7ec8-138a-11f1-aba1-de512ebea802
example: 7d0a7ec8-138a-11f1-aba1-de512ebea802
description: Competitor UUID. Get one from GET /api/v1/competitors.
- name: odds_format
in: query
description: 'Price representation: american, decimal, probability, or all (default all = both priceAmerican and priceDecimal, unchanged). american or decimal returns only that price field; probability replaces the price fields with priceProbability (implied probability = 1/decimal, 4 decimal places). Invalid values return 400 invalid_parameter.'
required: false
schema:
type: string
enum:
- american
- decimal
- probability
- all
default: all
example: probability
example: probability
- name: is_main
in: query
description: 'When true, keep only each market''s PRIMARY line per book: among a book''s alternate over/under lines for the same market + period + player/team scope, the line whose two opposing implied probabilities are most balanced. Single-line and non-over/under markets pass through unchanged.'
required: false
schema:
type: boolean
example: true
example: true
- name: cursor
in: query
description: Opaque cursor from the previous response's nextCursor. Leave empty for the first page.
required: false
schema:
type: string
- name: limit
in: query
description: Max markets per page (default 100, max 1000)
required: false
schema:
type: integer
format: int32
example: 10
example: 10
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/ApiResponseOddsRow'
example:
success: true
data:
- id: 256790c1-a78d-4d86-9810-1bb32b978deb:ballybet:TOTAL_RUNS:01a01309-0b9a-79bd-ae07-c7edc2e2bd0e
sportsbook: ballybet
competition: mlb
eventId: 256790c1-a78d-4d86-9810-1bb32b978deb
market: TOTAL
marketSubtype: TOTAL_RUNS
period: FULL
selection: Over
priceAmerican: -148
priceDecimal: 1.68
line: 7.5
outcomeCode: OVER
suspended: false
eventStartTime: 2026-08-18T23:10
updated: '2026-08-18T11:37:27Z'
- id: 256790c1-a78d-4d86-9810-1bb32b978deb:ballybet:TOTAL_RUNS:01a01309-0b9a-79bf-9697-43c7d3d26c49
sportsbook: ballybet
competition: mlb
eventId: 256790c1-a78d-4d86-9810-1bb32b978deb
market: TOTAL
marketSubtype: TOTAL_RUNS
period: FULL
selection: Under
priceAmerican: 120
priceDecimal: 2.2
line: 7.5
outcomeCode: UNDER
suspended: false
eventStartTime: 2026-08-18T23:10
updated: '2026-08-18T11:37:27Z'
nextCursor: YmFsbHliZXQgYmFsbHliZXRfMjY4MTQ0NzM5NQ
meta:
count: 4
updated: '2026-08-18T11:37:27Z'
components:
schemas:
OddsRow:
type: object
properties:
id:
type: string
sportsbook:
type: string
competition:
type: string
eventId:
type:
- string
- 'null'
description: The game this line is on. Null on futures (marketScope SEASON), which carry seasonId instead.
seasonId:
type:
- string
- 'null'
description: 'The season a future (marketScope SEASON) is on: one season, every book on it. Null on game rows. For a future, eventStartTime is the season''s end date.'
market:
type: string
marketSubtype:
type: string
period:
type: string
selection:
type: string
priceAmerican:
type: integer
format: int32
priceDecimal:
type: number
line:
type: number
outcomeCode:
type: string
enum:
- OVER
- UNDER
- 'YES'
- 'NO'
- WIN
- DRAW
- NEITHER
- WIN_OR_DRAW
- EITHER
- ODD
- EVEN
- SCORE
- RANGE
- OTHER
- LABEL
description: Canonical outcome code. WIN is the leg's side or named participant winning (moneyline, spread, a futures team); SCORE is an exact score (read side1Score/side2Score); LABEL is a categorical answer only the selection label explains.
statType:
type: string
description: Canonical stat type (synonyms folded, keyed by sport), e.g. points, rec_yards, threes_made. Stat props only.
side:
type: integer
format: int32
enum:
- 1
- 2
description: 'Which event side (participants[].side) the outcome is about: 1, 2 or absent. A player prop''s side is the player''s team''s side. Absent for totals, draws, neither, futures and anything without a side.'
outcomeParticipants:
type: array
description: Who the outcome names, as the source sent it. Absent when the outcome is about a side only (read participants on that side).
items:
$ref: '#/components/schemas/OutcomeParticipant'
side1Score:
type: integer
format: int32
description: 'Exact-score (SCORE) outcomes: side 1''s score.'
side2Score:
type: integer
format: int32
description: 'Exact-score (SCORE) outcomes: side 2''s score.'
playerId:
type: string
description: Resolved player id on player props. Returned only to an API key on a paid (non-Free) plan.
playerName:
type: string
description: The player name as the source sent it (player props only).
dfsMultiplier:
type: number
liquidityTier:
type: string
description: 'Exchange selections only: the current liquidity tier.'
suspended:
type: boolean
eventStartTime:
type: string
updated:
type: string
format: date-time
marketScope:
type: string
enum:
- SEASON
- TOURNAMENT
description: 'What this market is about. Present ONLY on non-EVENT markets: SEASON (a season-long future, tied to a season rather than a game) or TOURNAMENT (a tournament outright). Ordinary single-game rows omit the field entirely — absent means EVENT scope.'
segment:
type: string
description: 'Which slice of the competition a segment-scoped market covers, e.g. AFC_EAST, NFC, AL, NL_WEST, EAST, SEC, BIG_TEN. Present ONLY on non-EVENT markets, and only when the market is segment-scoped. Load-bearing for futures: all 32 NFL DIVISION_WINNER selections share a single seasonId, so without segment they read as one 32-team race instead of eight separate divisions.'
OutcomeParticipant:
type: object
description: A competitor or player the outcome names, as the source sent it. A side 1/2 competitor is the event participant on that side.
properties:
kind:
type: string
enum:
- competitor
- player
name:
type: string
description: The name as the source sent it.
competitorId:
type: string
description: Set for a named competitor outside the event's sides (a futures winner). Returned only to an API key on a paid (non-Free) plan.
playerId:
type: string
description: Set for a resolved player. Returned only to an API key on a paid (non-Free) plan.
Meta:
type: object
properties:
count:
type: integer
format: int32
updated:
type: string
format: date-time
note:
type: string
ApiResponseOddsRow:
type: object
properties:
success:
type: boolean
data:
type: array
items:
$ref: '#/components/schemas/OddsRow'
nextCursor:
type: string
meta:
$ref: '#/components/schemas/Meta'
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: Paste your API key (sw_live_…). Create one free at sportwizzard.com/account → API Keys. Reference endpoints work without a key.
BearerKey:
type: http
scheme: bearer
description: 'The same key as Authorization: Bearer sw_live_… (MCP-client convention).'