Sports

Closing price and line per bookmaker, with the consensus

Cost: 5 credits. Paid tiers only — 403 on Free and Hobby.

One row per match that started in the range. For each bookmaker: the last head-to-head price, handicap line and total we recorded before the start — the closing snapshot, taken within about ten minutes of the first bounce. Then a consensus across those books: the median closing price on head-to-head, and on the line and total markets the most common closing line with the median price at that exact line.

home_point/away_point are the handicap on each side (-6.5 / +6.5) on the spreads market and the total on both sides of the totals market, where Over is the home side and Under the away side. The lines exist from 2026-09-29; rows recorded before that carry prices only. AFL and AFLW price history is kept permanently, so their closes accumulate season on season; every other sport is a rolling 90-day window. Betfair is never included. An unknown sport_key, a backwards range or a range over 92 days is an error and costs nothing.

get/v1/sports/{sport_key}/closing-lines

Request

  • Base URL: https://api.puntersedge.online
  • URL: https://api.puntersedge.online/v1/sports/{sport_key}/closing-lines
  • Auth: API key in header X-API-Key

Path parameters

sport_keystring required

Query parameters

fromstring nullable

ISO date/time. Matches that START on or after this; defaults to 7 days ago.

tostring nullable

ISO date/time. Matches that start on or before this; defaults to now. At most 92 days after from — page by month for a season.

bookmakersstring nullable

Comma-separated bookmaker keys, case-insensitive. An unrecognised key is a free 422 naming the valid keys.

Headers

X-API-Keystring
X-RapidAPI-Proxy-Secretstring

Response

Successful Response

unknown required

Changes

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