Get Closing Lines
Get closing lines (last odds before match start). 5 credits.
EXCLUSIVE. Returns the final odds snapshot for each bookmaker before each match commenced. Essential for CLV (closing line value) analysis.
"Before commenced" is enforced, not assumed. A price quoted at or after the listed start time is an in play price, not a closing line, and is excluded; so is a row whose start time we cannot read, because we cannot attest which side of first serve it falls on. A fixture with no such price is therefore absent from the response rather than represented by an in play price. That trims coverage on books that reprice during a match: measured 2026-09-04 over 30 days of table tennis, 54,120 of the 55,353 bovada side rows this endpoint used to return were quoted after the start time.
Supports every sport key in GET /v1/sports. Pinnacle closing lines available for the soccer competitions in that list.
Bookmakers: pinnacle (default), draftkings, fanduel, betmgm, caesars, bovada, and more.
Depth is bounded by your plan's historical window; an explicit daysFrom beyond it returns 403 HISTORICAL_LIMIT.
Example: GET /v1/sports/soccer_epl/closing-lines?bookmakers=pinnacle&daysFrom=7
Response includes h2h (3-way with draw for soccer), spreads, and totals. Each event includes the bookmaker's last update timestamp before kickoff.
Request
- Base URL: https://parlay-api.com
- URL: https://parlay-api.com/v1/sports/{sport_key}/closing-lines
- Auth: one of:
- API key in header X-API-Key
- API key in query parameter apiKey
- HTTP bearer
Path parameters
Query parameters
Repeating this parameter is the same as the comma form: ?markets=h2h&markets=spreads and ?markets=h2h,spreads are one request, billed identically, and return the union. A value repeated across occurrences is counted once.
sleep_iter_15 #514: max closing-line rows returned. Default 10000 effectively returns all (preserves prior behavior). Lower for top-N quick views.
Page offset within the result set. Combine with limit for pagination.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.