Skip to main content
GET
Get market price history for an event
affiliate_ids is required on this endpoint. The parameter table marks it required. Pass 1 to 3 sportsbook ids (19, 19,23, or 19,23,22). Repeated ids count once. Omitting the parameter, a blank value, 0, or a non-numeric id returns HTTP 400: affiliate_ids is required; pass 1 to 3 sportsbook ids. More than 3 distinct ids returns HTTP 400: affiliate_ids accepts at most 3 sportsbook ids per request. The request is rejected before any history read. affiliate_ids=0 is not a scores-only sentinel here. market_ids still defaults to 1,2,3 (maximum 12).

Endpoint details

Returns recorded price changes for the requested markets and sportsbooks, subject to your plan’s historical-data access. Data can be available before, during, or after an event as prices are recorded. Each response is bounded by the requested limit. affiliate_ids is required on this endpoint. Pass 1 to 3 sportsbook ids, for example 19, 19,23, or 19,23,22. Repeated ids count once. Omitting the parameter, a blank value, 0, or a non-numeric id returns HTTP 400: affiliate_ids is required; pass 1 to 3 sportsbook ids. More than 3 distinct ids returns HTTP 400: affiliate_ids accepts at most 3 sportsbook ids per request. The request is rejected before any history read. affiliate_ids=0 is not a scores-only sentinel here.

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

Query Parameters

market_ids
string

Comma-separated market IDs to filter. Defaults to 1,2,3; maximum 12. Filtered literally, so live IDs are not added automatically; pass 41,42,43,96 for in-play history (for example 1,2,3,41,42,43,96).

affiliate_ids
string
required

Required. 1 to 3 comma-separated sportsbook ids. Examples: 19 (DraftKings), 19,23 (DraftKings and FanDuel), or 19,23,22 (DraftKings, FanDuel, and BetMGM). Repeated ids count once.

Missing, blank, 0, or a non-numeric id returns HTTP 400 with affiliate_ids is required; pass 1 to 3 sportsbook ids. More than 3 distinct ids returns HTTP 400 with affiliate_ids accepts at most 3 sportsbook ids per request. This endpoint does not treat affiliate_ids=0 as a scores-only sentinel.

from
string<date-time>

Inclusive start time (RFC3339)

to
string<date-time>

Inclusive end time (RFC3339)

limit
integer
default:1000

Maximum total rows across all requested markets and 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

Market price history, newest first. There is no paging cursor or truncation flag; narrow the request scope or time window if it reaches the limit.

meta
object
history
object[]