Prices

Current prices for a page of events (25 by default, up to 100), grouped by market as on /events/{event_id}/odds unless group_by=bookmaker. Pages follow events; a cursor works only with the filters and grouping it was issued for, so follow links.next. Filters apply to prices before grouping: an outcome or market with no matching price is left out, and an event with none has an empty markets list. Each price counts as one object towards your allowance, plus one per event.

get/odds

Request

  • Base URL: https://api.sockodds.com/v1
  • URL: https://api.sockodds.com/v1/odds
  • Auth: HTTP bearer

Query parameters

leaguestring
marketsstring

Comma-separated market keys, at most 20.

regionsstring

Comma-separated bookmaker regions, at most 20.

bookmakersstring

Comma-separated bookmaker keys, at most 20.

starts_afterstring date-time

UTC date and time. With neither starts_after nor starts_before, the list starts 48 hours ago (live and upcoming games plus the last two days); name a window to list older games.

starts_beforestring date-time

UTC date and time. Give starts_after, starts_before or both to list games outside the default window (from 48 hours ago).

alternatesboolean
group_by'market' | 'bookmaker'

How prices are grouped. market (the default) lists each market and outcome once, with every bookmaker's price under the outcome in prices, best price first. bookmaker lists each bookmaker with its own copy of the markets, the shape v1 launched with.

cursorstring
limitinteger

Response

Current prices

OR

Changes

No recorded changes to this operation across all 1 revision of this API.