Market odds
get_market_oddsUse for the extra betting markets of a game as history: both teams to score, draw no bet, double chance, and the 1st half result, total and goal handicap, for the Premier League, La Liga, Serie A, the Bundesliga, Ligue 1, MLS and the Champions League. Pass game_id (from get_schedule or list_games) 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 for the larger sportsbooks only: both teams to score from May 2023, the other markets from August 2023 (later in some leagues); not every match has every market. Each match's lines are added the morning after it is played. 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; no tool places, accepts or tracks wagers.
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 |
|---|---|---|---|
| league | No | League. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl. | |
| market | Yes | The market: btts (both teams to score: Yes or No), draw_no_bet (draw no bet: home or away, a draw voids it), double_chance (double chance: two of home, draw and away (e.g. Arsenal or Draw)), h2h_h1 (1st half result: home, draw or away), totals_h1 (1st half total goals), spreads_h1 (1st half goal handicap) | |
| game_id | Yes | Game id from get_schedule or list_games. | |
| 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 |