get_line_movement
10 creditsTime-seriesPOST /v1/get_line_movement
Daily snapshots of each sportsbook's line before tip-off
Use it when you want how a game's line moved in the days before tip-off, from our daily snapshots.
Parameters
game_idstringrequired- Game id.
providerstringoptional- 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.dunkapi.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.dunkapi.com/v1/get_line_movement \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401585601"
}'Response
json
{
"game": {
"game_id": "401585601",
"season": 2024,
"season_type": "regular",
"date": "2024-03-16",
"starts_at": "2024-03-17T00:30:00.000Z",
"status": "final",
"home": {
"team_id": "13",
"abbrev": "LAL",
"name": "Los Angeles Lakers",
"score": 121
},
"away": {
"team_id": "9",
"abbrev": "GS",
"name": "Golden State Warriors",
"score": 128
},
"periods": 4,
"overtime_periods": 0,
"neutral_site": false,
"conference_game": false,
"venue": "crypto.com Arena",
"city": "Los Angeles",
"attendance": 18997
},
"movement": {},
"snapshots": 0,
"note": "No daily snapshots for this game. We capture every posted line once a day before tip-off, 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.scorenumbergame.awayobjectgame.away.team_idstringgame.away.abbrevstringgame.away.namestringgame.away.scorenumbergame.periodsnumbergame.overtime_periodsnumbergame.neutral_sitebooleangame.conference_gamebooleangame.venuestringgame.citystringgame.attendancenumbermovementobjectsnapshotsnumbernotestring
Related endpoints
get_game5 cr
Takes the game_id this one returns.
One game: both box scores, every player's line, each book's line, win probability
get_player5 cr
Returns the game_id this one takes.
Profile, per-season averages and shooting splits, last 10 games
get_player_games5 cr
Returns the game_id this one takes.
A player's full game log
list_games2 cr
Takes the team this one returns.
Games with scores by season, date, range or team
Try it
500 credits free on signup: 50 calls to get_line_movement, and no card.