get_odds
Read-only
Use for betting lines: each sportsbook's moneyline, run line and total for a game (opening and closing per book from July 2020 from The Odds API, and from 2024 from ESPN; ESPN's final line only before that), with implied probabilities and, for finished games, whether the favourite won and the total went over against the median close. Pass game_id for one game (5 credits) or date for a day's games (10 credits).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | A day's games, YYYY-MM-DD (US Eastern). | |
| league | No | League. Defaults to mlb. One of: mlb, ncaabase. | |
| game_id | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tool | No | ||
| count | No | ||
| games | No | ||
| credits | No | ||
| estimate_only | No |