hoopodds

v0.1.0
io.github.CloudCorpRecords/hoopodds Checked 4 days ago Published 19 days ago

Live 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.

ParameterTypeDescription
competition *stringCompetition name, case-insensitive, e.g. "NBA" or "Europe - Euroleague" (see list_competitions)
include_periodsbooleanAlso 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.

ParameterTypeDescription
game_id *integerThe game id (see list_games).
include_alternate_linesbooleanAlso 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.

ParameterTypeDescription
game_id *integerThe game id (see list_games).
limitintegerMaximum number of price changes to return (default 100).
marketstringOnly price changes for this market.
periodstringOnly price changes for this period, e.g. 'ft' for the full game.
providerstringOnly 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).

ParameterTypeDescription
competitionstringCompetition name, case-insensitive, e.g. 'NBA' (see list_competitions).
limitintegerMaximum number of discrepancies to return (default 5).
periodstringPeriod to compare, e.g. 'ft' for the full game (default 'ft').

list_providers

The bookmakers covered and when each was last collected.