get_odds
5 creditsStats + aggregationPOST /v1/get_odds
Every sportsbook's moneyline, run line and total for a game (5) or a day (10)
Use it when you need each sportsbook's moneyline, run line and total for a game or a day, with results against the median close, to backtest.
Parameters
game_idstringoptionaldatestringoptional- A day's games, YYYY-MM-DD (US Eastern).
Notes
- Over MCP, ask for it in plain English and the client calls
get_oddsitself. Point any MCP client athttps://mcp.fastballapi.com/mcp?key=YOUR_API_KEY. - Each call costs 5 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_odds \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401569531"
}'Response
json
{
"games": [
{
"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,
"books": [
{
"provider": "ESPN BET",
"home_ml_open": -175,
"home_ml_close": -195,
"away_ml_open": 150,
"away_ml_close": 160,
"home_close_prob": 0.661,
"away_close_prob": 0.385,
"home_run_line_open": -1.5,
"home_run_line_close": -1.5,
"run_line_home_odds": 110,
"run_line_away_odds": -130,
"total_open": 8.5,
"total_close": 8.5,
"over_odds": 100,
"under_odds": -120,
"captured_at": "2026-10-07T21:34:31.907Z"
}
],
"result": {
"median_home_ml": -195,
"median_total": 8.5,
"favourite_won": true,
"over": false
}
}
],
"count": 1
}Response fields
games[]array- List of objects
games[].game_idstringgames[].seasonnumbergames[].season_typestringgames[].datestringgames[].starts_atstringgames[].statusstringgames[].homeobjectgames[].home.team_idstringgames[].home.abbrevstringgames[].home.namestringgames[].home.runsnumbergames[].home.hitsnumbergames[].home.errorsnumbergames[].awayobjectgames[].away.team_idstringgames[].away.abbrevstringgames[].away.namestringgames[].away.runsnumbergames[].away.hitsnumbergames[].away.errorsnumbergames[].inningsnumbergames[].extra_inningsbooleangames[].venuestringgames[].citystringgames[].attendancenumbergames[].books[]array- List of objects
games[].books[].providerstringgames[].books[].home_ml_opennumbergames[].books[].home_ml_closenumbergames[].books[].away_ml_opennumbergames[].books[].away_ml_closenumbergames[].books[].home_close_probnumbergames[].books[].away_close_probnumbergames[].books[].home_run_line_opennumbergames[].books[].home_run_line_closenumbergames[].books[].run_line_home_oddsnumbergames[].books[].run_line_away_oddsnumbergames[].books[].total_opennumbergames[].books[].total_closenumber
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_line_movement10 cr
Takes the game_id this one returns.
Daily snapshots of each sportsbook's line before first pitch
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: 100 calls to get_odds, and no card.