Skip to content

get_market_odds

10 creditsStats + aggregationPOST /v1/get_market_odds

Opening and closing lines by sportsbook for the first-5-innings and first-inning markets (history from May 2023)

Use it when you need a game's first-5-innings or first-inning lines as history: each sportsbook's opening and closing price on the first 5 innings winner, run line and total, or the 1st inning total (no run in the 1st).

Parameters

game_idstringrequired
Game id from get_games or get_schedule.
marketenum: h2h_1st_5_innings | totals_1st_5_innings | spreads_1st_5_innings | totals_1st_1_innings | h2h_3_way_1st_1_inningsrequired
The market: h2h_1st_5_innings (first 5 innings winner), totals_1st_5_innings (first 5 innings total runs), spreads_1st_5_innings (first 5 innings run line), totals_1st_1_innings (1st inning total runs (the 0.5 line is no run / a run in the 1st)), h2h_3_way_1st_1_innings (1st inning result: home, tied or away)
bookmakerstringoptional
One bookmaker key, e.g. draftkings, fanduel, pinnacle.
estimate_onlybooleanoptional
Return what this call would cost, without charging or running it.

Notes

  • Over MCP, ask for it in plain English and the client calls get_market_odds itself. Point any MCP client at https://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_market_odds \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "game_id": "401696294",
  "market": "totals_1st_1_innings"
}'

Response

json
{
  "game_id": "401696294",
  "market": "totals_1st_1_innings",
  "label": "1st inning total runs (the 0.5 line is no run / a run in the 1st)",
  "scheduled_start": "2025-07-10T00:10:00.000Z",
  "books": [
    {
      "bookmaker": "betmgm",
      "opening": [
        {
          "outcome": "Over",
          "point": 0.5,
          "price": 100
        },
        {
          "outcome": "Under",
          "point": 0.5,
          "price": -130
        }
      ],
      "opening_captured_at": "2025-07-09T23:40:37.000Z",
      "closing": [
        {
          "outcome": "Over",
          "point": 0.5,
          "price": 100
        },
        {
          "outcome": "Under",
          "point": 0.5,
          "price": -130
        }
      ],
      "closing_captured_at": "2025-07-09T23:40:37.000Z",
      "minutes_before_start": 29.4
    },
    {
      "bookmaker": "betonlineag",
      "opening": [
        {
          "outcome": "Over",
          "point": 0.5,
          "price": 110
        },
        {
          "outcome": "Under",
          "point": 0.5,
          "price": -147
        }
      ],
      "opening_captured_at": "2025-07-09T23:40:37.000Z",
      "closing": [
        {
          "outcome": "Over",
          "point": 0.5,
          "price": 110
        },
        {
          "outcome": "Under",
          "point": 0.5,
          "price": -147
        }
      ],
      "closing_captured_at": "2025-07-09T23:40:37.000Z",
      "minutes_before_start": 29.4
    },
    {
      "bookmaker": "bovada",
      "opening": [
        {
          "outcome": "Over",
          "point": 1.5,
          "price": 240
        },
        {
          "outcome": "Under",
          "point": 1.5,
          "price": -340
        }
      ],
      "opening_captured_at": "2025-07-09T23:40:37.000Z",
      "closing": [
        {
          "outcome": "Over",
          "point": 1.5,
          "price": 240
        },
        {
          "outcome": "Under",
          "point": 1.5,
          "price": -340
        }
      ],
      "closing_captured_at": "2025-07-09T23:40:37.000Z",
      "minutes_before_start": 29.4
    }
  ],
  "count": 6
}

Response fields

game_idstring
marketstring
labelstring
scheduled_startstring
books[]array
List of objects
books[].bookmakerstring
books[].opening[]array
List of objects
books[].opening[].outcomestring
books[].opening[].pointnumber
books[].opening[].pricenumber
books[].opening_captured_atstring
books[].closing[]array
List of objects
books[].closing[].outcomestring
books[].closing[].pointnumber
books[].closing[].pricenumber
books[].closing_captured_atstring
books[].minutes_before_startnumber
countnumber

Related endpoints

Try it

500 free credits every month: 50 calls to get_market_odds, and no card.