sportwizzard

v0.1.4
com.sportwizzard/sportwizzard Checked 2 days ago Published 4 months ago

Real-time sports betting data: odds, player props, edges and arbitrage from 35+ books and DFS apps.

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

list_events

List sporting events / fixtures (the spine of the API). Each event carries home/away team, start time, status and whether live odds exist (hasOdds). Filter by league, team, status or start-time window, then use the returned event id with get_event_odds. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
leaguestringLeague slug (e.g. mlb, wnba, mls, pga-tour, fifa-world-cup). See list_leagues.
limitintegerMax rows to return (page size). Default 50, server caps apply.
starts_afterstringISO-8601 timestamp; only events starting at/after this time.
starts_beforestringISO-8601 timestamp; only events starting at/before this time.
statusstringEvent status filter (e.g. scheduled, live, final).
team_idstringFilter to events involving this team UUID (from list_teams).

get_event

Full detail for a single event: teams, start time, status, league, venue, season year, final scores (when final), and rich game context — weather, confirmed/projected lineups, probable pitchers, and officials where the league provides them. The model-builder's pre-game context endpoint. Use an event id from list_events.

ParameterTypeDescription
event_id *stringEvent UUID (from list_events).

get_event_stats

The box score for a single event: every player's stat line (e.g. batting_stats/pitching_stats JSON per player) plus the team-level result row (scores, team stats). Use an event id from list_events; works for final and in-progress events that have stats.

ParameterTypeDescription
event_id *stringEvent UUID (from list_events).

get_event_odds

Get every sportsbook price for a single event: one flat row per book x market x selection, with american+decimal price, line, side, player/team, and SportWizzard's devigged fair odds where available. Use an event id from list_events.

ParameterTypeDescription
event_id *stringEvent UUID (from list_events).

get_odds

Core odds query. Returns a flat array of book prices scoped by any combination of event_id, player_id, team_id, sportsbook, market and league. Called unscoped it paginates hard — prefer scoping to at least one entity. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
event_idstringScope to one event (UUID from list_events).
leaguestringLeague slug filter.
limitintegerMax rows to return (page size). Default 50, server caps apply.
marketstringMarket type filter (e.g. MONEYLINE, SPREAD, PLAYER_TOTAL). See list_markets.
player_idstringScope to one player (UUID from list_players).
sportsbookstringSportsbook / DFS source id (e.g. draftkings, prizepicks). See list_sportsbooks.
team_idstringScope to one team (UUID from list_teams).

get_player_odds

All current book prices for a single player across events and markets (player props). Use a player id from list_players. Paginate with cursor.

ParameterTypeDescription
player_id *stringPlayer UUID (from list_players).
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
limitintegerMax rows to return (page size). Default 50, server caps apply.

get_team_odds

All current book prices for a single team across its events and markets. Use a team id from list_teams. Paginate with cursor.

ParameterTypeDescription
team_id *stringTeam UUID (from list_teams).
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
limitintegerMax rows to return (page size). Default 50, server caps apply.

get_edges

SportWizzard's edge finder: DFS/book offers that are +EV versus the devigged fair market, with the edge %, the book(s) setting fair value, and per-book odds. Filter by league, source (DFS/book), minimum edge, or a single event. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
event_idstringScope to a single event UUID.
leaguestringLeague slug filter.
limitintegerMax rows to return (page size). Default 50, server caps apply.
min_edgenumberMinimum edge threshold (e.g. 5 for 5%).
sourcestringDFS/book source id to find edges for (e.g. prizepicks, underdog).

get_arbitrage

Arbitrage scanner: cross-book opportunities with a guaranteed profit, including each leg (source, selection, odds) and the optimal stake fractions. Filter by type (two_way | three_way) and minimum profit %. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
limitintegerMax rows to return (page size). Default 50, server caps apply.
min_profitnumberMinimum guaranteed profit % (e.g. 1 for 1%).
typestringArbitrage type.

list_players

List players (reference resource). Filter by league and/or team. Returns player UUIDs to use with get_player_odds and get_player_stats. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
leaguestringLeague slug filter.
limitintegerMax rows to return (page size). Default 50, server caps apply.
teamstringTeam UUID filter.

list_teams

List teams (reference resource). Filter by league. Returns team UUIDs to use with list_events(team_id), get_team_odds and get_team_stats. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
leaguestringLeague slug filter.
limitintegerMax rows to return (page size). Default 50, server caps apply.

get_player_stats

Historical / season statistics for a single player. Use a player id from list_players; optionally scope to one season.

ParameterTypeDescription
player_id *stringPlayer UUID (from list_players).
seasonintegerSeason year (e.g. 2026). Omit for all available.

get_team_stats

Per-game team stats and results for a single team (scores, result, team stat JSON per event). Use a team id from list_teams; optionally scope to one season.

ParameterTypeDescription
team_id *stringTeam UUID (from list_teams).
seasonintegerSeason year (e.g. 2026). Omit for all available.

get_player_game_logs

Bulk per-game player stat rows (game logs) filtered by player, team, or event — the model-training data feed. At least one of player_id / team_id / event_id is required. Each row is one player-game with the raw stat JSON. Paginate with cursor.

ParameterTypeDescription
cursorstringOpaque pagination cursor. Pass the `nextCursor` from a previous response to fetch the next page.
event_idstringEvent UUID (from list_events).
limitintegerMax rows to return (page size). Default 50, server caps apply.
player_idstringPlayer UUID (from list_players).
team_idstringTeam UUID (from list_teams).

download_snapshot

Download the FULL live board — every market from every sportsbook (tens of MB gzip, 80k+ markets) — and save it to a file on disk instead of returning it (it would not fit in a context window). Provide an absolute save_path: a path ending in .gz keeps the gzip; any other path writes decompressed JSON. Returns the saved path, byte count and ETag. Re-poll cheaply by passing the returned etag: unchanged data returns not_modified without downloading.

ParameterTypeDescription
save_path *stringAbsolute file path to write the snapshot to. `.gz` suffix keeps it gzip-compressed; otherwise decompressed JSON is written.
etagstringOptional: the etag from a previous download. If the board hasn't changed the server returns 304 and nothing is downloaded.

get_account_usage

Your API plan and usage: plan tier, per-minute rate limit, monthly usage/cap where metered. Works without a key (shows the effective anonymous plan).

list_sportsbooks

List the sportsbooks and DFS platforms SportWizzard tracks, with a live market count each. Reference/discovery — call this to learn valid `sportsbook` filter values.

list_leagues

List the leagues currently covered (with live markets). Reference/discovery — call this to learn valid `league` filter values.

list_markets

List the market types SportWizzard supports, each with a live market count. Reference/discovery — call this to learn valid `market` filter values.

status

Platform status: total live markets and number of sportsbooks currently ingesting. A cheap health/coverage check.