v5

OpenAPI 3.1.02026-08-02305676.6 KB
Best Line

Get Event Best Line

Return the best price across all books for every (market, player, line) tuple on an event.

markets is an optional comma-separated filter (e.g. markets=h2h,spreads,pitcher_strikeouts). When omitted, every market on the event is included.

bookmakers is an optional comma-separated book-key filter (the-odds-api-compatible, same as on the odds endpoints). Omitted = every comparable book; unknown keys match nothing. Useful to shop only the books you hold accounts at.

Each line in the response carries a sides dict mapping side name (e.g. "Over"/"Under" or team names) to the best price across all books, plus an all_prices array sorted best-first so consumers can render runner-ups without a second request.

get/v1/sports/{sport_key}/events/{event_id}/best-line

Path parameters

sport_keystring required
event_idinteger required

Query parameters

marketsstring nullable
bookmakersstring nullable

Response

Successful Response

idstring required
sport_keystring required
home_teamstring required
away_teamstring required
commence_timestring date-time required
books_consideredstring[] required
redactedboolean
upgrade_urlstring nullable