Skip to main content
GET
Get line price chart data for a specific market

Endpoint details

Returns time-series price data suitable for charting line movement. To chart one participant, first discover its public participant_id with GET /api/v2/markets/participants for the same event and market, then pass that value here. For totals (market 3), discover the TYPE_RESULT Over and Under participants and request each side separately. Series are grouped by affiliate and can otherwise contain points for more than one participant. main_line=true keeps only the points that were the main line when written.

Authorizations

X-TheRundown-Key
string
header
required

Recommended API key request header for new integrations

Path Parameters

eventID
string
required

Canonical V2 event ID from the event_id field returned by event endpoints

marketID
integer
required

Market ID

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
participant_id
integer

Filter by the public canonical participant_id returned by GET /api/v2/markets/participants for this event and market. For totals (market 3), use the discovered TYPE_RESULT Over or Under participant ID; do not substitute the participant record id.

affiliate_ids
string

Comma-separated sportsbook/affiliate IDs to filter. Common values include DraftKings (19), FanDuel (23), BetMGM (22), BookMaker (7), BetCRIS (9), Pinnacle (3), Polymarket US (31), Circa Sports (32), Bet105 (33), and Heritage Sports (34). Availability varies by sport and market. On V2 event endpoints (/api/v2/sports/{sportID}/events/{date}, /api/v2/events/{eventID}, and their openers/closing siblings), affiliate_ids=0 is a scores-only sentinel: the response keeps events, scores, and status and omits markets and price objects. Other endpoints that share this parameter treat affiliate_ids as a sportsbook filter only.

line
string

Filter by line value

from
string<date-time>

Inclusive start time (RFC3339)

to
string<date-time>

Inclusive end time (RFC3339)

limit
integer
default:1000

Maximum total points across all returned sportsbooks. Invalid or out-of-range values use 1000.

Required range: x <= 5000
main_line
enum<string>
default:false

When true, return only history rows (or chart points) that were the sportsbook's main line when written: is_main_line = true on history rows, m = true on chart points. Sorted by time, each change of the line value for a participant is a main-line move at that timestamp.

Available options:
true,
false

Response

Chart series data, oldest first. The limit applies across all returned sportsbooks; there is no paging cursor or truncation flag.

meta
object
series
object

Keyed by affiliate ID