Skip to main content
Glama

DunkAPI

Server Details

NBA player props by sportsbook since 2023, plus play-by-play, shot locations and odds. REST and MCP.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
noahowsh/dunkapi-mcp
GitHub Stars
0
Server Listing
DunkAPI MCP server
ChatGPT
DunkAPI
Claude
–

TDQS

A4/5.0

Scored across 24 tools

Disambiguation4/5

Most tools target a clearly distinct slice of data (full-game odds vs. alternate ladders vs. extra markets vs. line movement vs. market-implied probabilities), and descriptions actively cross-reference each other ('for the main line use get_odds', 'for each book's prices use get_player_props'), which prevents most misselection. The residual risk is the prop family (get_player_props, get_prop_probabilities, get_prop_history, get_prop_movement, get_prop_backtest) and shot-related overlap (get_shot_chart vs. get_plays), where boundaries are clear only if the description is read closely.

Naming Consistency5/5

Every tool is snake_case with a verb_noun pattern (get_*, list_*, search_*), and noun choices are disciplined and tied to the data type (odds, props, plays, probabilities, movement). No mixed conventions or vague verbs anywhere.

Tool Count3/5

24 tools is at the heavy end for a single-domain sports data API; while most earn their place, the four-to-five prop tools and the three probability/odds variants could plausibly be consolidated with parameters. The surface is defensible but sits in the borderline 16-25 range.

Completeness4/5

Coverage is broad and lifecycle-aware: discovery (list_games, list_teams, search_players), game detail, plays, box scores, player/team/season aggregates, standings, ratings, leaders, injuries, and a deep odds/props surface including historical backtesting. Minor gaps remain around live/in-game data and season-long or futures markets, but agents can work around them.

Available Tools

24 tools
get_alt_linesAlt linesA
Read-onlyIdempotent
Inspect

Use for alternate spreads and totals by sportsbook: every point on each book's ladder with its price (e.g. -8.5 at +240, over 230.5 at +165), for one game. Held for the NBA, the WNBA and men's college basketball from the 2023-24 season on, from up to five books (DraftKings, Pinnacle, Bovada and BetMGM on nearly every game, FanDuel on some). Games before Nov 12 2026 were captured once shortly before the start, so their opening and closing ladders are the same; from Nov 12 2026 upcoming games are captured up to three times a day before the start. Games not yet priced have none. Returns each book's closing ladder by default (its last before the start) or its opening one. side is home or away for spreads (point is that side's spread) and over or under for totals. For the main line use get_odds. 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league, market, bookmaker, +1 more. Returns: note, count, lines, league, +2 more

get_gameGameA
Read-onlyIdempotent
Inspect

Use for one game in full: score, both teams' box scores, every player's line, each sportsbook's opening and closing line, and the win-probability range. For the play-by-play use get_plays. Costs 5 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league. Returns: game, odds, plays, players, +3 more

get_game_probabilitiesGame probabilitiesA
Read-onlyIdempotent
Inspect

Use for what the market thinks of one game, not any one book's price: the average implied probability (margin in) and the fair probability (margin out) for the moneyline, each spread and each total, with how many books each rests on. Only identical lines are combined. Each book's last pre-game prices by default (snapshot_type reads latest until the start, closing after it); opening on request. For each book's prices use get_odds. Costs 5 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league, snapshot_type. Returns: note, tool, count, method, +10 more

get_injuriesInjuriesA
Read-onlyIdempotent
Inspect

Use for the injury report: every listed player's status (out, day-to-day), injury and expected return, as captured on the latest day (or the latest on or before date). NBA and WNBA. Costs 2 credits.

Inputs: date, team, league. Returns: date, note, count, injuries

get_leadersLeadersA
Read-onlyIdempotent
Inspect

Use for a season's statistical leaders (per game, shooting percentages with a volume floor, or totals) from every box score. Costs 5 credits.

Inputs: stat (required), limit, league, season, +2 more. Returns: stat, count, label, season, +2 more

get_line_movementLine movementA
Read-onlyIdempotent
Inspect

Use to see how a game's line moved before tip-off: our pre-game snapshots of each sportsbook's moneyline, spread and total (captured once a day, and every hour for games in the next four days). Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league, provider, all_snapshots. Returns: game, note, movement, snapshots

get_market_oddsMarket oddsA
Read-onlyIdempotent
Inspect

Use for the extra betting markets of a game as history: the 1st half and 1st quarter winner, point spread and total, and the 2nd, 3rd and 4th quarter totals (NBA only). Pass game_id (from list_games or get_schedule) and market. For each sportsbook it returns the opening line (the first one we captured) and the closing line (the last one before the game started), each as the list of outcomes with their point and American price, plus captured_at and minutes_before_start (negative when the last capture came after our scheduled start, which the sportsbooks' listed start can run past). Most books were captured once, so opening and closing are often the same line. Held from May 2023 for the larger sportsbooks only; not every game has every market. Each game's lines are added the morning after it is played. Costs 10 credits a call; a game with no lines is refunded. Set estimate_only to get the price without being charged. For the full-game moneyline, spread and total use get_odds. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market (required), game_id (required), bookmaker, estimate_only. Returns: note, tool, books, count, +6 more

get_oddsOddsA
Read-onlyIdempotent
Inspect

Use for betting lines: each sportsbook's moneyline, spread and total for a game (opening and closing per book from July 2020; before that, each book's final pregame line only), with implied probabilities and, for finished games, whether the home side covered and the total went over against the median close. Pass game_id for one game (5 credits) or date for a day's games (10 credits). Prices are market information; no tool places, accepts or tracks wagers.

Inputs: date, league, game_id. Returns: note, tool, count, games, +2 more

get_playerPlayerA
Read-onlyIdempotent
Inspect

Use for a player's profile, per-season averages and shooting splits (regular season and postseason separately) and last 10 games. For every game use get_player_games. Costs 5 credits.

Inputs: player_id (required), league. Returns: player, seasons, recent_games

get_player_gamesPlayer gamesA
Read-onlyIdempotent
Inspect

Use for a player's game log: every game's box-score line with opponent and result, newest first, optionally one season. Costs 5 credits.

Inputs: player_id (required), limit, league, offset, +2 more. Returns: note, count, games, player_id, +1 more

get_player_propsPlayer propsA
Read-onlyIdempotent
Inspect

Use for player prop lines by sportsbook: over/under on points, rebounds, assists, threes, blocks, steals, the combos (points + rebounds + assists, points + rebounds, points + assists, rebounds + assists) and double- and triple-doubles (the NBA has them all; the WNBA has no blocks, steals or triple-doubles and college basketball has points, rebounds, assists and the combos), from May 2023 for the NBA and WNBA and the 2023-24 season for men's college basketball (DraftKings, FanDuel, BetMGM, ESPN BET, Pinnacle and others). Pass game_id for every player's props in one game, or player_id with from_date (and to_date) for one player across games (up to 100). A game costs 10 credits before it starts and 20 once it has (accounts opened before October 30 2026 pay 10 for every game). Returns the closing line by default (the last before the game starts) or the opening line, with each book's over and under prices. Each row has captured_at, scheduled_start and minutes_before_scheduled_start (negative when captured after the scheduled start); a row is kept when it was captured before the sportsbooks' listed start, which in the NBA is usually about 10 minutes after the scheduled one, so filter on minutes_before_scheduled_start > 0 for a strictly before-schedule backtest. Outside football the archive mostly holds one pre-game capture per line, so the opening and closing lines are usually the same; the opening line differs only where a second capture was taken (live capture from October 2026, and wherever else it is held). Set estimate_only to get the price without being charged. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: league, market, game_id, to_date, +5 more. Returns: note, tool, count, games, +6 more

get_playsPlaysA
Read-onlyIdempotent
Inspect

Use for play-by-play: every event of a game, or a player's or team's plays across a season, with shot location (feet), zone, our expected points, the score and the home win probability after each play (our model, on every game we hold). Filter to shots, makes or misses, a zone, a period or clutch time. Pass league for the WNBA (wnba), college (ncaam, ncaaw) or Australia's NBL (nbl); default NBA. Costs 10 credits.

Inputs: made, team, zone, limit, +9 more. Returns: note, count, plays, next_offset

get_prop_backtestProp backtestA
Read-onlyIdempotent
Inspect

Use to test an idea about player props without pulling every row: how often a kind of prop went over or under against what the market implied, across every finished game we hold prices for that fits your filters. Returns the hit rate, its 95% interval, the average implied and fair probabilities, and each season on its own. For example, points overs for players whose team was the road underdog. One result per player per game at the median closing line. It describes the past and recommends nothing. For one player game by game use get_prop_history. Costs 25 credits.

Inputs: market (required), side, team, league, +10 more. Returns: hits, note, side, tool, +25 more

get_prop_historyProp historyA
Read-onlyIdempotent
Inspect

Use to see how a player did against his prop line over time: for one market (points, rebounds, assists, threes, blocks, steals, one of the combos (points + rebounds + assists, points + rebounds, points + assists, rebounds + assists), double-double or triple-double), one row per game with the closing line (the median across books, or one book's), the opening line (the same as the close wherever only one capture was taken), the prices, what the player actually recorded from our box scores and the result against the line, plus the over rate, up to 200 games a call. Costs 10 credits for every 25 games already played that a call covers, and at least 10 a call (accounts opened before November 1 2026 pay 10 a call). Set estimate_only to get the price without being charged. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market (required), player_id (required), limit, league, +4 more. Returns: note, stat, tool, count, +10 more

get_prop_movementProp movementA
Read-onlyIdempotent
Inspect

Use to see how one player's prop line moved before a game: every capture we hold, book by book and oldest first, with the line, both prices and the minutes before the start. line_change is the last capture's line minus the first's. The number of captures varies by game and book. Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market (required), game_id (required), player_id (required), league, +1 more. Returns: note, tool, books, count, +6 more

get_prop_probabilitiesProp probabilitiesA
Read-onlyIdempotent
Inspect

Use for what the market thinks of the player props in one game, not any one book's price: for each player and each line, the average implied probability (margin in) and the fair probability (margin out), with how many books each rests on. Only identical lines are combined, and a yes/no market whose books post only the yes price has no fair probability. Latest pre-game prices. For each book's prices use get_player_props. Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league, market, player_id. Returns: note, tool, count, props, +5 more

get_ratingsRatingsA
Read-onlyIdempotent
Inspect

Use for our team power ratings (Elo from every final game in our data), ranked, as of the end of a season or today. Costs 2 credits.

Inputs: limit, league, season. Returns: count, total, method, season, +1 more

get_scheduleScheduleA
Read-onlyIdempotent
Inspect

Use for upcoming games (next 1-30 days, default 7) with the median line across posted sportsbooks: spread, total and moneylines. For every book's line use get_odds. Costs 2 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: days, team, league. Returns: days, count, games

get_shot_chartShot chartA
Read-onlyIdempotent
Inspect

Use for a shot profile: attempts, makes, percentage, points per shot and expected points per shot in each zone (restricted area, paint, midrange, corner three, above-the-break three, free throws) for a player, a team, a team's opponents or one game. include_shots adds every located shot's x/y and result for drawing a chart. Costs 10 credits.

Inputs: team, league, season, game_id, +4 more. Returns: note, share, shots, zones, +5 more

get_standingsStandingsA
Read-onlyIdempotent
Inspect

Use for a season's regular-season standings computed from every final game: overall, conference, home and away records, points for and against, margin and last 10. Costs 2 credits.

Inputs: league, season. Returns: note, count, season, standings

get_team_statsTeam statsA
Read-onlyIdempotent
Inspect

Use for team efficiency for a season: pace, offensive, defensive and net rating per 100 possessions, the four factors (eFG%, turnover %, offensive rebound %, free throw rate) and three-point rate, plus per-game box score averages (shooting, rebounds, steals, blocks and blocks against, fouls and fouls drawn, point margin, overtime periods), from every box score. Pass before (a date) for the numbers as they stood going into that day, for models that must not see later games. Costs 5 credits.

Inputs: team, before, league, season, +1 more. Returns: count, teams, before, method, +1 more

list_gamesList gamesA
Read-onlyIdempotent
Inspect

Use to list games with scores by season, date, date range or team, newest first. For upcoming games with lines use get_schedule; for one game's box score use get_game. Costs 2 credits.

Inputs: to, date, from, team, +6 more. Returns: note, count, games, next_offset

list_teamsList teamsA
Read-onlyIdempotent
Inspect

Use to find team ids and abbreviations for a season (default: the latest). Every other tool takes a team as an id or abbreviation. Pass league for the WNBA (wnba), college (ncaam, ncaaw) or Australia's NBL (nbl); default NBA. Costs 1 credit.

Inputs: league, season. Returns: count, teams, season

search_playersSearch playersA
Read-onlyIdempotent
Inspect

Use to find a player's id by name (partial names work), most recent players first. Pass league for the WNBA (wnba), college (ncaam, ncaaw) or Australia's NBL (nbl); default NBA. Costs 1 credit.

Inputs: name (required), limit, league. Returns: note, count, players

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Live sports betting player props MCP server covering NBA, MLB, NFL, NHL, NCAA, and soccer. Unified from real sportsbooks into one REST API and a real MCP server (Streamable HTTP). Free tier, no card required.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Props-first sports odds API with a hosted MCP server. Live odds and player props (moneyline, spreads, totals) across US sportsbooks, normalized to JSON. Tools: get_odds, get_props, get_events, get_books. API-key auth, free tier.
      MIT No Attribution
    • A
      license
      A
      quality
      B
      maintenance
      Provides MCP clients with sportsbook prices and pick'em lines across DraftKings, FanDuel, BetRivers, PrizePicks, Underdog and Pick6, including capture times and line history. Two tools work without an account, with the remainder requiring a free API key.
      9
      506 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Live sports betting odds, cross-book +EV, and graded player-prop resolution across 13 books.
      11
      648 npm
      1
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.