Skip to main content
GET
Get spread price history for a line

Authorizations

X-TheRundown-Key
string
header
required

Recommended API key request header for new integrations

Path Parameters

id
string
required

Line ID (line_id), not an event ID. Find it in a V1 event response at lines.{affiliate_id}.line_id, or with include=all_periods at line_periods.{affiliate_id}.{period}.moneyline.line_id (every period of a sportsbook's line shares the same line ID). Each line ID belongs to one sportsbook.

Query Parameters

include
enum<string>

Without include, only the pregame full-game price history is returned. With include=all_periods, rows are grouped by period (period_full_game, halves, quarters/periods) and in-play rows are returned under period_live_full_game (live full game, halves, and quarters/periods together; tell them apart by period_id and period_description). Live rows require a subscription with live odds access. Each period returns at most the newest 1,000 rows with no pagination; for full in-play history use GET /api/v2/events/{eventID}/markets/history?market_ids=41,42,43,96 with from/to and limit up to 5000.

Available options:
all_periods

Response

Spreads. An unknown line ID returns {"spreads": []}.

spreads
object[]