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

odds_format
enum<string>
default:american

Odds representation for supported REST prices. Omit the parameter or use american to preserve the existing American format. Supported values are american, decimal, fractional, and probability (a 0..1 fraction). Fractional odds are reduced ratio strings. Decimal and probability values preserve the source number or numeric-string type. Nulls, nonnumeric sentinels, off-board values such as 0 and 0.0001, and numeric values with absolute value below 100 remain unchanged. Price-delta fields remain in American-point difference units. Empty, repeated, or unsupported values return HTTP 400. WebSocket messages are unchanged.

Available options:
american,
decimal,
fractional,
probability
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[]