GetOdds

v0.1.3
com.getoddsapi/getodds Checked 4 days ago Published 16 days ago

Odds API: bet365, DraftKings, FanDuel, Pinnacle, BetRivers, Novig, PrizePicks, Underdog, Pick6.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_public_board Public odds board for one sport (no key)

DraftKings moneyline, spread and total prices (read through ESPN odds data) for one sport, with the capture time of every row. No API key, no credits; cached up to five minutes, so check observed_at before treating a price as current.

ParameterTypeDescription
sport *string

get_odds_board Mixed upcoming-games odds board (no key)

The next DraftKings Sportsbook (New Jersey) prices across leagues, as shown on the getoddsapi.com homepage. No API key, no credits.

get_sandbox_odds Keyless sandbox odds (no key)

Keyless sandbox read of stored odds for trying request shapes before signing up. Rate-limited per IP. Depends on the /api/v1/sandbox endpoints; if they are not live yet the tool says so and suggests get_public_board.

ParameterTypeDescription
limitinteger
marketstring
sportstring

create_free_key Create a free GetOdds key by email

Create a free-tier key (1,000 requests a UTC day, 60 a minute, no card) for the user's own email address. Only call this when the user asked for a key and gave their email. The key is shown once: tell the user to store it as GETODDS_API_KEY. Depends on POST /api/v1/agent/signup.

ParameterTypeDescription
email *string
agent_namestring
use_casestring

get_odds Stored sportsbook odds

DraftKings (via ESPN) stored game odds by league and market. Set fresh_only to drop rows not captured recently. One credit per successful call.

ParameterTypeDescription
event_idstring
fresh_onlyboolean
limitinteger
marketstring
offsetinteger
sportstring

search_events Search events by team name

Literal, case-insensitive team-name search over retained events. Returns source-specific event ids for get_odds and get_line_history.

ParameterTypeDescription
q *string
limitinteger
sportstring

get_line_history Retained price changes for an event or offer

Retained price changes for one event_id or offer_id (DraftKings via ESPN). Not a complete tick history: it holds the changes GetOdds captured.

ParameterTypeDescription
event_idstring
limitinteger
marketstring
offer_idstring

get_pickem_lines Pick'em player lines

Player prop thresholds from PrizePicks, Underdog or DraftKings Pick6 (source=draftkings), or FanDuel. Lines only; pick'em boards have no per-line odds. The key must have the source granted.

ParameterTypeDescription
limitinteger
sourcestring

get_fanduel_markets FanDuel native game markets

FanDuel native markets and selections by league. Filters keep FanDuel exact case. The key needs the fanduel source and FanDuel selected as a bookmaker in the dashboard.

ParameterTypeDescription
leaguestring
limitinteger