Skip to main content
GET
Get closing prices for an event

Endpoint details

Returns the latest recorded price for each available line and sportsbook at or before the event’s scheduled start time. Before the event starts, the snapshot is provisional. Period markets use the event start time as their closing cutoff. The response always uses an events array, even for one event ID. Historical-data access and the event-date lookback depend on your plan. Omit hide_closed or use false to include currently closed prices in completed-event snapshots. The event can be returned without prices when no recorded lines match the filters. For price changes over time, use GET /api/v2/events/{eventID}/markets/history or GET /api/v2/events/{eventID}/markets/{marketID}/history. See the Historical Odds guide for examples.

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
default:1,2,3

Comma-separated market IDs. Defaults to 1,2,3 (Moneyline, Spread, Total); for soccer leagues and NHL the default is 1,2,3,563. The soccer 3-way moneyline (home/draw/away) is served on market 1 as three participants; market 563 carries the NHL 60-minute regulation-time line. Limit: 12 market IDs per request. Requests with more than 12 IDs are rejected with a 400: split larger requests into batches of 12, or omit the parameter to use the default. On market-definition endpoints (/api/v2/events/{eventID}/markets, /api/v2/sports/{sportID}/markets/{date}), omitting market_ids returns all available market definitions instead of the default set. Common IDs: 1=Moneyline, 2=Spread, 3=Total, 29=Player Points, 35=Player Rebounds, 38=Three Pointers, 39=Player Assists, 93=Player PRA, 94=Team Totals. Live variants: 41=Live ML, 42=Live Spread, 43=Live Total.

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.

main_line
enum<string>
default:false

Only return main lines (primary odds, not alternates). On opening and closing endpoints, this selects main lines in the snapshot. Use history to follow which line was main at each timestamp.

Available options:
true,
false
hide_closed
enum<string>
default:false

Exclude currently closed lines when true. Omit or set false to retrieve completed historical snapshots; an event can remain when no prices match.

Available options:
true,
false

Response

Event with closing prices

meta
object | null
events
object[]