v5

OpenAPI 3.1.02026-08-02305676.6 KB
Events & Odds

Get Event Odds Closing

Closing line per outcome — the last snapshot at or before commence_time, per (book, market, outcome). The canonical CLV helper: a single call returns the closing price your bet should be measured against, instead of pulling /odds/history and post-processing to find the last pre-game row.

Paid tiers: full data. Free tier: redacted (structure only).

get/v1/sports/{sport_key}/events/{event_id}/odds/closing

Path parameters

sport_keystring required
event_idinteger required

Query parameters

marketsstring
bookmakersstring nullable

Comma-separated bookmaker keys (e.g. 'draftkings,fanduel'). Omitted = all books. Matches the-odds-api's bookmakers param.

Comma-separated bookmaker keys (e.g. 'draftkings,fanduel'). Omitted = all books. Matches the-odds-api's bookmakers param.

periodstring nullable

Game-period filter. Omitted = full-game markets only. Pass canonical codes ('q1', 'h1', 'p1', 'i6', 'f5') comma-separated, or 'all' to include every period.

Game-period filter. Omitted = full-game markets only. Pass canonical codes ('q1', 'h1', 'p1', 'i6', 'f5') comma-separated, or 'all' to include every period.

Response

Successful Response

idstring required
sport_keystring required
home_teamstring required
away_teamstring required
commence_timestring date-time required
upgrade_urlstring nullable