FastballAPI

io.github.noahowsh/fastballapi · v1.1.6 · location-and-travel

FastballAPI is healthy: it completed an MCP handshake in 1087 ms and exposes 23 tools.

MLB since 2015 plus college: pitches, plate appearances, box scores, odds by book. REST and MCP.

Endpoint: https://mcp.fastballapi.com/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count23
Latency1087 ms
Last checked (UTC)2026-12-01T07:30:19.717Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T07:30:19.717ZHealthy1087
2026-11-28T21:30:31.849ZHealthy2456
2026-11-26T13:20:26.275ZHealthy2021
2026-11-24T06:50:19.348ZHealthy2136
2026-11-22T02:15:27.725ZHealthy469
2026-11-19T23:15:17.076ZHealthy958
2026-11-17T21:25:27.157ZHealthy901
2026-11-15T20:55:42.243ZHealthy1104
2026-11-13T21:51:07.973ZHealthy3009
2026-11-11T23:45:40.542ZHealthy2144
2026-11-10T02:45:31.908ZHealthy1956
2026-11-08T07:05:22.979ZHealthy1017
2026-11-06T12:35:45.929ZHealthy746
2026-11-04T18:50:34.022ZHealthy2358
2026-11-03T02:05:30.319ZHealthy1967
2026-11-01T10:35:22.177ZHealthy487
2026-10-30T20:00:23.382ZHealthy901
2026-10-29T05:55:26.345ZHealthy921
2026-10-27T16:25:12.761ZHealthy529
2026-10-26T04:15:19.732ZHealthy237

Tools (23)

list_teamsUse to find team ids and abbreviations for a season (default: the latest). Every other tool takes a team as an id or abbreviation. Costs 1 credit.
get_gamesUse to list games with runs, hits and errors 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.
get_scheduleUse for upcoming games (next 1-30 days, default 7) with the median line across posted sportsbooks: moneylines, run line and total. For every book's line use get_odds. Costs 2 credits. Prices are market information; no tool places, accepts or tracks wagers.
get_gameUse for one game in full: line score, every batter's and pitcher's line, each sportsbook's opening and closing line, and the win-probability range. For every plate appearance use get_plate_appearances. Costs 5 credits. Prices are market information; no tool places, accepts or tracks wagers.
get_standingsUse for a season's regular-season standings computed from every final game: record, home and away, last 10, runs scored and allowed, run differential and Pythagorean win percentage. Costs 2 credits.
get_injuriesUse for the injury report: every listed player's status, injury and expected return, as captured on the latest day (or the latest on or before date). Costs 2 credits.
search_playersUse to find a player's id by name (partial names work). Costs 1 credit.
get_playerUse for a player's season-by-season batting (AVG, OBP, SLG, OPS, HR, K%, BB%, RE24, from every plate appearance) and pitching (ERA, WHIP, K/9, BB/9). Costs 5 credits.
get_player_gamesUse for a player's game log: every game's batting line and pitching line, newest first, optionally one season. Costs 5 credits.
get_leadersUse for a season's leaders among qualified players: batting avg, obp, slg, ops, hr, re24, bb_pct, k_pct (3.1 plate appearances per team game) or pitching era, whip, so, k_per_9, bb_per_9 (1 inning per team game). Costs 5 credits.
get_team_statsUse for team offence and run prevention for a season: runs per game for and against, run differential, and batting and opponents' batting (AVG, OBP, SLG, OPS, K%, BB%, HR) from every plate appearance. Costs 5 credits.
get_plate_appearancesUse for plate-appearance play-by-play: a whole game in order, or a batter's, pitcher's or team's season, with the base-out state before, the result, the batted ball (trajectory and location), runs, the home win probability after (our model, every plate appearance since 2015) and our run value (RE24)
get_pitchesUse for pitch-by-pitch data: every pitch of a game, or a pitcher's or batter's season, with the count, pitch type, velocity, location and result. Velocity is whole mph as published, cut down rather than rounded (95.8 reads 95), so averages run about half a mile per hour under the published one-decim
get_pitch_mixUse for a pitcher's arsenal in a season: each pitch type's usage, average and top velocity, whiff rate per swing and ball rate. Velocities come from whole-mph readings cut down rather than rounded, so the averages run about half a mile per hour under the published one-decimal figures. Costs 5 credit
get_spray_chartUse for where a batter or team hits the ball: balls in play by trajectory (ground ball, line drive, fly ball, pop-up) and by field (left, center, right), with hit rates; include_balls adds each ball's location for drawing. Counts the regular season and postseason together unless season_type says oth
get_oddsUse for betting lines: each sportsbook's moneyline, run line 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 favourite won and the total went over against the median
get_line_movementUse to see how a game's line moved before first pitch: our pre-game snapshots of each sportsbook's moneyline, run line 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.
get_ratingsUse 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.
get_player_propsUse for player prop lines by sportsbook: over/under on hits, home runs, total bases, RBI, pitcher strikeouts and pitcher outs, from May 2023 (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
get_prop_historyUse to see how a player did against his prop line over time: for one market (hits, home runs, total bases, RBI, pitcher strikeouts or pitcher outs), 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
get_prop_movementUse 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. Pr
get_market_oddsUse for the extra betting markets of a game as history: the first 5 innings winner, run line and total, and the 1st inning total and three-way result (the 1st inning total at 0.5 is the no-run-first-inning market). Pass game_id (from get_games or get_schedule) and market. For each sportsbook it retu
get_alt_linesUse for alternate run lines and totals by sportsbook: every point on each book's ladder with its price (e.g. -2.5 at +190, over 9.5 at +140), for one game. Held for MLB games from the 2023 season on, from five books (DraftKings, FanDuel, BetMGM, Bovada, Pinnacle). Games before Nov 12 2026 were captu