hoopodds
v0.1.0Live basketball odds from 6 bookmakers: competitions, games, history and line discrepancies.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_competitions
Basketball competitions that have upcoming games with odds, with the number of games in each. Use it to find the exact competition name for the other tools.
list_games
Upcoming games in one competition with each bookmaker's main moneyline, handicap (spread, line = home team's handicap) and total, in decimal odds. Full game only unless include_periods is true.
| Parameter | Type | Description |
|---|---|---|
competition * | string | Competition name, case-insensitive, e.g. "NBA" or "Europe - Euroleague" (see list_competitions) |
include_periods | boolean | Also return halves and quarters (larger response) |
get_game
One game by id with every bookmaker's main lines for every period. Works for finished games too, returning their closing odds.
| Parameter | Type | Description |
|---|---|---|
game_id * | integer | The game id (see list_games). |
include_alternate_lines | boolean | Also return every alternate handicap and total line (larger response) |
get_game_history
Every price change for a game, newest first (Data plan). Use it for line movement and closing odds.
| Parameter | Type | Description |
|---|---|---|
game_id * | integer | The game id (see list_games). |
limit | integer | Maximum number of price changes to return (default 100). |
market | string | Only price changes for this market. |
period | string | Only price changes for this period, e.g. 'ft' for the full game. |
provider | string | Only this bookmaker, e.g. pinnacle (see list_providers) |
list_discrepancies
The biggest cross-bookmaker differences on main lines for upcoming games: moneyline prices, handicap lines and totals (Pro and Data plans).
| Parameter | Type | Description |
|---|---|---|
competition | string | Competition name, case-insensitive, e.g. 'NBA' (see list_competitions). |
limit | integer | Maximum number of discrepancies to return (default 5). |
period | string | Period to compare, e.g. 'ft' for the full game (default 'ft'). |
list_providers
The bookmakers covered and when each was last collected.