get_line_movement
10 creditsTime-seriesPOST /v1/get_line_movement
Daily snapshots of each sportsbook's line before first pitch
Use it when you want how a game's line moved in the days before first pitch, from our daily snapshots.
Parameters
game_idstringrequiredproviderstringoptional- One sportsbook, e.g. DraftKings.
Notes
- Over MCP, ask for it in plain English and the client calls
get_line_movementitself. Point any MCP client athttps://mcp.fastballapi.com/mcp?key=YOUR_API_KEY. - Each call costs 10 credits, taken before it runs and refunded if the server errors.
- Not the call you need? Find the right call by what you are trying to answer.
Request
curl -X POST https://mcp.fastballapi.com/v1/get_line_movement \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401569531"
}'Response
json
{
"game": {
"game_id": "401569531",
"season": 2024,
"season_type": "regular",
"date": "2024-06-15",
"starts_at": "2024-06-15T20:05:00.000Z",
"status": "final",
"home": {
"team_id": "1",
"abbrev": "BAL",
"name": "Baltimore Orioles",
"runs": 6,
"hits": 11,
"errors": 0
},
"away": {
"team_id": "22",
"abbrev": "PHI",
"name": "Philadelphia Phillies",
"runs": 2,
"hits": 7,
"errors": 1
},
"innings": 9,
"extra_innings": false,
"venue": "Oriole Park at Camden Yards",
"city": "Baltimore",
"attendance": 44555
},
"movement": {},
"snapshots": 0,
"note": "No daily snapshots for this game. We capture every posted line once a day before first pitch, from the brand's launch; earlier games carry opening and closing lines in get_odds."
}Response fields
gameobjectgame.game_idstringgame.seasonnumbergame.season_typestringgame.datestringgame.starts_atstringgame.statusstringgame.homeobjectgame.home.team_idstringgame.home.abbrevstringgame.home.namestringgame.home.runsnumbergame.home.hitsnumbergame.home.errorsnumbergame.awayobjectgame.away.team_idstringgame.away.abbrevstringgame.away.namestringgame.away.runsnumbergame.away.hitsnumbergame.away.errorsnumbergame.inningsnumbergame.extra_inningsbooleangame.venuestringgame.citystringgame.attendancenumbermovementobjectsnapshotsnumbernotestring
Related endpoints
get_game5 cr
Takes the game_id this one returns.
One game: every batting and pitching line, each book's line, win probability
get_player_games5 cr
Returns the game_id this one takes.
A player's full batting and pitching game log
get_games2 cr
Takes the team this one returns.
Games with runs, hits and errors by season, date, range or team
get_schedule2 cr
Takes the team this one returns.
Upcoming games with the median line across sportsbooks
Try it
500 credits free on signup: 50 calls to get_line_movement, and no card.