Historical

Closing Lines Csv

Daily closing-line dump in CSV.

Metered: 1 credit per 1,000 rows delivered, minimum 1 credit. The response carries X-Export-Rows, X-Export-Credits and X-Export-Rate so the cost of a call is always visible. Rows are counted as DELIVERED, not as requested, so a wide limit on a thin slate costs only what it returns.

Returns one row per (game_date, home_team, away_team, player_name, market_key, line, source) tuple for the requested date. The natural key is enforced by a unique constraint on prop_closing_lines so duplicate rows are impossible; each row is the latest-snapshot archive for that prop close.

Designed for backtesters who want a flat-file daily snapshot rather than the JSON shape of /v1/sports/{sport_key}/closing-lines.

Headers: text/csv; Content-Disposition attachment named by date. Stream-safe for large windows up to limit=500000 rows.

The two trailing columns, retired and closed_on, are filled only on rows from a retired book (an operator that has closed; see RETIRED_SOURCES) and empty everywhere else, so the JSON twin and this file say the same thing about the same row.

Memory rule compliance: every row comes from prop_closing_lines, which only carries observed closing snapshots. We never synthesize a closing price.

get/v1/historical/closing-lines.csv

Request

  • Base URL: https://parlay-api.com
  • URL: https://parlay-api.com/v1/historical/closing-lines.csv
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter apiKey
    • HTTP bearer

Query parameters

datestring required

YYYY-MM-DD (UTC). One day per request.

sport_keystring nullable

Optional sport_key filter.

sourcestring nullable

Optional source filter (e.g. pinnacle, draftkings).

limitinteger

Response

Successful Response

unknown required

Changes

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