odds-api-mcp-server

v1.9.3
io.github.odds-api-io/odds-api-mcp-server Checked 32 minutes ago Published 1 day ago

Odds from 500+ bookmakers across 37 sports: odds, closing lines, settlement, same game parlays.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_sports List sports

List every sport with its name and slug. Call this first: other tools take the slug (e.g. 'football', 'american-football'). No plan needed.

get_markets List market names

List the exact market names served per sport, with shape (moneyline, line, outcomes, yesno, labelled), period, and whether each is served prematch and live. Call it before passing markets to any odds tool; names must match in full, e.g. 'ML' not 'Match Winner', 'Totals' not 'Over/Under'. Omitting sport returns every sport (large).

ParameterTypeDescription
fieldsstringOptional comma-separated fields to keep per market (e.g. 'name,live')
sportstringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')

get_bookmakers List bookmakers

List all bookmakers with name, active, createdAt, status (ok, degraded, down) and reason (maintenance, unavailable, or null). Use status/reason to explain why a bookmaker has no odds: a 'down' bookmaker is left out of odds, value bets and arbitrage until it recovers.

ParameterTypeDescription
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).

get_selected_bookmakers Show selected bookmakers

Show the bookmakers selected on this API key. Odds tools only return bookmakers in this selection; the plan sets how many can be selected.

select_bookmakers Add bookmakers to selection

Add bookmakers to this API key's selection (changes account state). Only call when the user asks to change their bookmakers; the plan caps how many can be selected.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names from get_bookmakers (e.g. 'Bet365,SingBet')

clear_selected_bookmakers Clear bookmaker selection

Remove every bookmaker from this API key's selection (destructive). Allowed once every 12 hours, so only call it when the user explicitly asks.

get_leagues List leagues

List leagues for a sport with name, slug and active event count. Call get_sports first for the sport slug; use the league slug in get_events and other tools.

ParameterTypeDescription
sport *stringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
allbooleanIf true, include leagues without active events
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).

get_events List events

List events for a sport (default window: the next 14 days, max 5000 per response). Call get_sports and get_leagues first for slugs. Returns id, home, away, homeId, awayId, date, status, sport, league and scores; use the id with get_odds. Use fields (e.g. 'id,home,away,date') and limit to keep the list short. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026).

ParameterTypeDescription
sport *stringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
bookmakerstringOnly return events with odds from this bookmaker (e.g. 'Bet365')
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
fromstringStart date/time in RFC3339 format (e.g. '2026-11-07T00:00:00Z')
leaguestringLeague slug from get_leagues (e.g. 'england-premier-league')
limitnumberMaximum number of events to return (max 5000)
participantIdnumberFilter by participant/team ID (matches home or away)
skipnumberNumber of events to skip for pagination
statusstringOne status or a comma-separated list: pending, live, settled, cancelled
tostringEnd date/time in RFC3339 format. Defaults to 14 days from now

get_event Get event

Get one event by ID, including scores and, when live, the match clock. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026).

ParameterTypeDescription
id *numberEvent ID

get_live_events List live events

List events in play now with scores and the match clock, optionally for one sport. Pass sport and fields to keep the response small.

ParameterTypeDescription
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).
sportstringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')

search_events Search events

Find events by team or league name (case- and accent-insensitive, min 3 characters). Returns up to 10 results ranked by relevance. The quickest way from a team name to an event id.

ParameterTypeDescription
query *stringSearch term, minimum 3 characters (e.g. 'Liverpool')
statusstringupcoming (default): not started and not cancelled. live: in-play events with current scores

get_odds Get odds for an event

Get odds for one event from the named bookmakers, grouped by bookmaker then market, with bet links. Always pass markets (e.g. 'ML,Spread,Totals'): without it every market from every bookmaker comes back, which can be very large. Get the event id from get_events or search_events and market names from get_markets. For best/average prices across all books, get_odds_summary is more compact.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names, max 30 (e.g. 'Bet365,SingBet'). Must be in the key's selection (get_selected_bookmakers).
eventId *stringEvent ID
marketsstringComma-separated market names, case-insensitive, max 40 (e.g. 'ML,Spread,Totals'). Strongly recommended: without it every market is returned. Call get_markets for the exact names (also at https://odds-…

get_multi_odds Get odds for several events

Get odds for up to 10 events in one request (counts as one request). Always pass markets to keep the response small. Same shape as get_odds, as an array.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names, max 30 (e.g. 'Bet365,SingBet'). Must be in the key's selection (get_selected_bookmakers).
eventIds *stringComma-separated event IDs (max 10)
marketsstringComma-separated market names, case-insensitive, max 40 (e.g. 'ML,Spread,Totals'). Strongly recommended: without it every market is returned. Call get_markets for the exact names (also at https://odds-…

get_odds_summary Odds summary (best, average, fair)

Best, average, median, worst and margin-free fair price per market line across bookmakers, with which bookmakers have the best price. The compact way to answer 'where is the best price' or 'what is the fair price'. Pass one eventId, or up to 10 comma-separated ids (one request). Growth plan and above; lower plans get a sample response marked demo: true, which is not real data, so tell the user.

ParameterTypeDescription
eventId *stringOne event ID, or up to 10 comma-separated event IDs
bookmakersstringOptional: restrict to some of the key's selected bookmakers
includeExchangesbooleanAdd a separate block with the best exchange back price per outcome and its liquidity
linesstringmain (default): each market's main line. all: every line priced by 3+ bookmakers
marketsstringComma-separated market names, case-insensitive, max 20. Default ML,Spread,Totals

get_odds_movements Odds movements

Opening price, latest price and every recorded change for one market of one event at one bookmaker (prematch only, timestamps in Unix ms). Leave marketLine out for the main line. A 404 says what is missing and lists the markets or lines that do have history; use those.

ParameterTypeDescription
bookmaker *stringBookmaker name (e.g. 'Bet365')
eventId *stringEvent ID
market *stringMarket name from get_markets (e.g. 'ML', 'Spread', 'Totals')
marketLinestringHandicap/total line (e.g. '2.5', '-1.25'). Omit for the main line or markets without a line

get_updated_odds Odds changed since

Odds that changed since a Unix timestamp (at most 90 seconds old) for one bookmaker and sport, limited to the markets you name. A delta: only changed markets are returned. For polling code, not for one-off questions (use get_odds instead).

ParameterTypeDescription
bookmaker *stringBookmaker name (e.g. 'Bet365')
markets *stringComma-separated market names, max 40 (e.g. 'ML,Spread,Totals'). Required. Use get_markets for the exact names.
since *numberUnix timestamp in seconds, at most 90 seconds old
sport *stringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
limitnumberMax results, 1-10000

get_value_bets Value bets

Prices at one bookmaker that sit above a fair-odds estimate from market consensus, with expectedValue, betSide, the bookmaker's odds and bet link. Prematch, refreshed every few seconds. Filter by sport and league and use maxResults to keep the list short. expectedValue is bookmaker/fair x 100; edge % = expectedValue - 100 (103.42 is a 3.42% edge, below 100 is a negative edge). Never multiply it by 100. Expected value is an estimate, not a guaranteed outcome.

ParameterTypeDescription
bookmaker *stringBookmaker name (e.g. 'Bet365')
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
includeEventDetailsbooleanInclude teams, date, sport and league for each row
leaguestringLeague slug from get_leagues. Requires sport
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).
sportstringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')

get_arbitrage_bets Arbitrage opportunities

Price gaps across the named bookmakers where the best price for every outcome implies a total probability under 100%. Prematch only, sorted by profitMargin (already a percentage after exchange fees: 2.48 means 2.48%, do not multiply by 100), with stake split (optimalStakes), stake limits (maxStake) and bet links. Prices move fast and bookmakers can void or limit bets, so present results as calculated margins at the quoted prices, never as guaranteed.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names (e.g. 'Bet365,SingBet'). Every leg uses one of these
allCombinationsbooleantrue returns every bookmaker combination per event, market and line (default: only the best)
includeEventDetailsbooleanInclude teams, date, sport and league for each row
leaguestringLeague slug from get_leagues. Requires sport
limitnumberMaximum results (default 50, max 500)
marketsstringComma-separated market names, case-insensitive, max 40 (e.g. 'ML,Totals')
minProfitnumberMinimum profitMargin in percent, 0-100 (e.g. 1.5)
sportstringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')

get_dropping_odds Dropping odds

Odds that dropped the most from opening at sharp bookmakers, with drop percentages since opening and over 12h, 24h and 48h. Refreshed every few seconds. Paid plans. For player prop markets, market.label holds the player name. Always pass sport when the user mentions or implies one: without it results are dominated by player props.

ParameterTypeDescription
includeEventDetailsbooleanInclude teams, date, sport and league for each row
leaguestringSingle league slug. Requires sport. Mutually exclusive with leagues
leaguesstringComma-separated league slugs (e.g. 'england-premier-league,spain-laliga'). Mutually exclusive with league
limitnumberResults per page, 1-200 (default 50)
marketsstringComma-separated market names, case-insensitive. Supported: ML, Spread, Totals, Spread HT, Totals HT, Totals 1Q, Spread 1Q, Team Total Home, Team Total Away, First 5 Innings ML, First 5 Innings Spread,…
minDropnumberMinimum drop percentage (default 0)
pagenumberPage number, 1-indexed (default 1)
sortstringdrop (highest drop %, default), recent (latest movement) or kickoff (soonest event)
sportstringSport slug (e.g. 'football'). Always include it when the user mentions a sport
timeWindowstringWindow for drop filtering and sorting (default 'opening')

get_historical_events Historical events

Finished events for one sport and league in a date range (max 31 days; data from December 2025). Use the ids with get_historical_odds. To find a past match by team name use search_historical_events instead. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026).

ParameterTypeDescription
from *stringStart date in RFC3339 format (e.g. '2026-01-01T00:00:00Z')
league *stringLeague slug from get_leagues (e.g. 'england-premier-league')
sport *stringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
to *stringEnd date in RFC3339 format, at most 31 days after from
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).

search_historical_events Search historical events

Find finished events by team name across all leagues, optionally for one sport. Date span max 31 days (default: the last 31 days). Returns up to 100 events, newest first. Use the ids with get_historical_odds.

ParameterTypeDescription
query *stringTeam name fragment, minimum 3 characters
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
fromstringStart date in RFC3339 format
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).
sportstringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
tostringEnd date in RFC3339 format, at most 31 days after from

get_historical_odds Historical odds

Closing odds and the final score for one finished event, same shape as get_odds. Get the id from get_historical_events or search_historical_events. Pass markets to keep the response small.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names (max 30)
eventId *stringEvent ID of a finished event
marketsstringComma-separated market names (e.g. 'ML,Totals'). All markets when omitted

get_closing_lines Closing lines

Closing odds for every settled event across up to 10 leagues in one request, for closing line value (CLV) and model backtests. Date range up to 366 days, so a season fits in one sweep; at most 100 events per response, page with limit and skip. Paid plans. Each event is shaped like get_historical_odds.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names (max 30)
from *stringStart date in RFC3339 format
leagues *stringComma-separated league slugs (max 10)
markets *stringComma-separated market names (e.g. 'ML')
sport *stringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
to *stringEnd date in RFC3339 format, at most 366 days after from
limitnumberEvents per response (max 100)
skipnumberEvents to skip, for pagination

get_settlements Event settlements

What happened in up to 50 events: status (pending, live, awaiting_result, settled, cancelled), final score by period and a final flag (true = stop polling). Unknown ids are listed in notFound. Paid plans. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026).

ParameterTypeDescription
eventIds *stringComma-separated event IDs (1-50)

grade_bets Grade bets

Settle up to 50 bets: each is graded won, lost, void, half_won, half_lost, pending or ungradeable, with a reason, a final flag and the score it used. Describe each bet with the fields of an odds row from get_odds (market name as served, side, hdp, label). Football settles on 90 minutes. Re-send non-final selections at most once a minute. Read-only: it does not place or change anything. Paid plans.

ParameterTypeDescription
selections *arrayBets to grade, described with the fields of an odds row from get_odds

list_sgp_bookmakers List same game parlay bookmakers

List the bookmakers that quote same game parlays right now (the list grows; never assume a fixed set): name, sports, maxLegs, jurisdiction (the region the price applies to) and status (live, paused or degraded). Prefer bookmakers whose status is live; degraded means the status could not be checked and quotes may still work; paused means quotes are temporarily unavailable. Call this first, then get_sgp_legs. Included in all paid plans.

ParameterTypeDescription
sportstringSport slug from get_sports. Keeps only the bookmakers that cover the sport

get_sgp_legs Get same game parlay legs

List the legs of one pre-match event that can go into a same game parlay. Each leg has a copy-pasteable legId, market, hdp, label, side and, per bookmaker, eligible (can be combined there), price and updatedAt. Pass the legId values to quote_sgp; never build a legId by hand. The response also has bookmakers: one entry per requested bookmaker, in request order, with status ok, leg_unavailable, unsupported or temporarily_unavailable. When it is not ok, every leg reads eligible false at that bookmaker and nextAction says what to do: retry_later (call get_sgp_legs again after retryAfter seconds) o…

ParameterTypeDescription
bookmakers *stringComma-separated names from list_sgp_bookmakers, max 8 per request, from the key's selection
eventId *integerEvent ID from get_events. Must be pre-match
limitintegerLegs to return (default 200, max 1000)
marketsstringComma-separated market names to keep, max 40 (e.g. 'ML,Spread,Totals')
skipintegerLegs to skip, for paging (default 0)

quote_sgp Quote a same game parlay

Prices one same game parlay (2-10 legs from one pre-match event) at each requested bookmaker, using the bookmaker's own parlay price. Call get_sgp_legs first and pass its legId values; do not invent legs. Each bookmaker returns a status: ok (price, legsMultiplied, priceAdjustmentPct, links), not_combinable, leg_unavailable, suspended, unsupported, timeout or temporarily_unavailable, plus retryable, nextAction and reason. Branch on status and nextAction: change_legs (the legs do not combine there, replace one), remove_leg (drop the legs in legIds, or the slip exceeds that bookmaker's maxLegs),…

ParameterTypeDescription
bookmakers *stringComma-separated names from list_sgp_bookmakers, max 8 per request
eventId *integerEvent ID from get_events or get_sgp_legs. Must be pre-match
legs *array2-10 legs from the same event. Normally pass legId from get_sgp_legs. The explicit market/hdp/label/side form is for callers that already hold an /v3/odds row and must match it exactly

list_outrights List outright tournaments

List outright (futures) tournaments for a sport, sorted by date: id, name, date, status, league and bookmakerCount (0 = not priced yet). Golf only today: PGA Tour, DP World Tour, LIV Golf and the majors. Call this first, then get_outright_odds with the id. Needs the Outrights add-on: a 403 means the key does not have it, so tell the user the message (it links to where to add it) and do not retry.

ParameterTypeDescription
sport *stringSport slug. Currently 'golf'
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
leaguestringLeague slug: pga-tour, dp-world-tour, liv-golf or majors
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).
statusstringComma-separated: pending, live, settled, cancelled. Default pending,live

get_outright_odds Outright odds

Prices for one outright tournament from the named bookmakers. Golf markets: Winner, Top 5, Top 10, Top 20 (boundary ties under dead-heat rules), Top 5 (Incl. Ties), Top 10 (Incl. Ties), Top 20 (Incl. Ties) (ties paid in full) and Make Cut (only events with a cut). Runners carry label, participantId and odds (+ layOdds on exchanges), or yes/no for Make Cut, sorted shortest price first. A full field is large: pass markets and maxRunners. Needs the Outrights add-on: a 403 means the key does not have it, so tell the user the message and do not retry.

ParameterTypeDescription
bookmakers *stringComma-separated bookmaker names, max 30 (e.g. 'Bet365,SingBet'). Must be in the key's selection (get_selected_bookmakers).
id *numberOutright id from list_outrights
marketsstringOptional comma-separated market names to keep, e.g. 'Winner,Top 10 (Incl. Ties)' (filtered after the call)
maxRunnersnumberOptional: keep only the first N runners (shortest prices) per market

get_outright_results Outright results

Final results for one outright tournament: each golfer's position (shared when tied, null when cut, withdrawn or disqualified), madeCut and status, plus winners per market (Winner, Top N, Top N (Incl. Ties), Make Cut). Empty until the tournament is settled. Dead-heat and each-way terms are the bookmaker's rules. Needs the Outrights add-on (403 without it: tell the user, do not retry).

ParameterTypeDescription
id *numberOutright id from list_outrights

get_participants List participants

Teams or players for a sport, optionally filtered by name. Returns id and name (esports also game and shortCode). Use the id as participantId in get_events.

ParameterTypeDescription
sport *stringSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
maxResultsnumberOptional cap on the number of items returned to you (applied after the API call).
searchstringFilter by team/participant name

get_participant Get participant

Get one team or player by ID.

ParameterTypeDescription
id *numberParticipant ID (homeId/awayId on events)

get_mappings Bookmaker id mappings

Map our events and selections to a bookmaker's own event, market and outcome ids (for example Polymarket conditionId and token id, or Kalshi tickers), joinable to get_odds on (eventId, market, hdp, side). Look up by eventId(s), marketId(s) or outcomeId; with none of these it is a bulk sync of upcoming and live events, paged with cursor until nextCursor is null. Paid plans; the bookmaker must be in the key's selection.

ParameterTypeDescription
bookmaker *stringBookmaker name (e.g. 'Polymarket', 'Kalshi')
activebooleantrue or false; both when omitted
cursorstringBulk sync only: nextCursor from the previous page
eventIdstringOne of our event ids
eventIdsstringUp to 10 comma-separated event ids
fieldsstringOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
leaguestringBulk sync only: league slug, requires sport
limitnumberBulk sync only: rows per page, 1-5000 (default 1000)
marketstringExact market name as in get_odds, case-sensitive
marketIdstringThe bookmaker's market id
marketIdsstringUp to 10 comma-separated bookmaker market ids
outcomeIdstringThe bookmaker's outcome id (for Kalshi pass marketId too)
sportstringBulk sync only: sport slug

get_usage Request quota

Hourly request limit, requests remaining and reset time for this API key, read from the rate-limit headers of the latest API call in this session. If no call has been made yet it calls get_sports once, which counts as one request. Use it to plan bulk work or to explain a 429.

get_documentation API documentation

Fetch the complete Odds-API.io documentation as plain text (large). Use it for questions the tool descriptions do not answer, such as WebSocket details or market rules.