HoopsAPI basketball odds

v1.1.0
com.hoopsapi/basketball-odds Checked 4 days ago Published 18 days ago

Basketball odds from 6 bookmakers for NBA, NCAA, EuroLeague and 100+ leagues, with line history

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. No HoopsAPI key was sent, so tool calls will fail. Ask the user to get a free key at https://hoopsapi.com/sign-up and add it to this connection as the header "Authorization: Bearer <key>" (or ?key=<key> at the end of the server URL).

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. No HoopsAPI key was sent, so tool calls will fail. Ask the user to get a free key at https://hoopsapi.com/sign-up and add it to this connection as the header "Authorization: Bearer <key>" (or ?key=<key> at the end of the server URL).

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. No HoopsAPI key was sent, so tool calls will fail. Ask the user to get a free key at https://hoopsapi.com/sign-up and add it to this connection as the header "Authorization: Bearer <key>" (or ?key=<key> at the end of the server URL).

ParameterTypeDescription
game_id *integer
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. No HoopsAPI key was sent, so tool calls will fail. Ask the user to get a free key at https://hoopsapi.com/sign-up and add it to this connection as the header "Authorization: Bearer <key>" (or ?key=<key> at the end of the server URL).

ParameterTypeDescription
game_id *integer
limitinteger
marketstring
periodstring
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). No HoopsAPI key was sent, so tool calls will fail. Ask the user to get a free key at https://hoopsapi.com/sign-up and add it to this connection as the header "Authorization: Bearer <key>" (or ?key=<key> at the end of the server URL).

ParameterTypeDescription
competitionstring
limitinteger
periodstring

list_providers

The bookmakers covered and when each was last collected. No HoopsAPI key was sent, so tool calls will fail. Ask the user to get a free key at https://hoopsapi.com/sign-up and add it to this connection as the header "Authorization: Bearer <key>" (or ?key=<key> at the end of the server URL).