Market odds
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 returns the opening line (the first one we captured) and the closing line (the last one before the game started), each as the list of outcomes with their point and American price, plus captured_at and minutes_before_start (negative when the last capture came after our scheduled start, which the sportsbooks' listed start can run past). Most books were captured once, so opening and closing are often the same line. Held from May 2023 for the larger sportsbooks only (the 1st inning three-way result from October 2023); not every game has every market. Costs 10 credits a call; a game with no lines is refunded. Set estimate_only to get the price without being charged. For the full-game moneyline, spread and total use get_odds. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"game_id": "<game_id>",
"market": "<market>"
},
"name": "get_market_odds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | 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) | |
| game_id | Yes | Game id from get_games or get_schedule. | |
| bookmaker | No | One bookmaker key, e.g. draftkings, fanduel, pinnacle. | |
| estimate_only | No | Return what this call would cost, without charging or running it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tool | No | ||
| books | Yes | ||
| count | Yes | ||
| label | Yes | ||
| market | Yes | ||
| credits | No | ||
| game_id | Yes | ||
| estimate_only | No | ||
| scheduled_start | Yes |