Get closing lines for a sport and date
Changed onReturns events with the latest recorded price for each available line and sportsbook at or before each event's scheduled start time. Before an event starts, the snapshot is provisional. Period markets use the event start time as their closing cutoff.
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. Events can be returned without prices when no recorded lines match the filters. Use market history for price changes over time; see the Historical Odds guide.
Request
- Base URLhttps://therundown.io
- AuthAPI key in header X-TheRundown-Key
Path parameters
Sport ID. Common values: 1=NCAAF, 2=NFL, 3=MLB, 4=NBA, 5=NCAAB, 6=NHL, 7=UFC, 8=WNBA, 9=CFL, 10=MLS, 11=EPL, 16=UEFA Champions League, 33=UEFA Europa League, 34=Liga MX, 38=ATP Tennis, 39=WTA Tennis, 40=PGA Tour Golf, 41=Formula 1
Query parameters
UTC offset in minutes for the date boundary. Use 300 for US Central, 240 for Eastern, 360 for Mountain, 420 for Pacific. Without this, the API day boundary is midnight UTC.
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.
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.
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.
Comma-separated event status strings to include (e.g. STATUS_IN_PROGRESS,STATUS_HALFTIME). Applied before exclude_status.
Comma-separated event status strings to exclude. Applied after event_status.
Exclude currently closed lines when true. Omit or set false to retrieve completed historical snapshots; an event can remain when no prices match.
Response
Events with closing market prices
Example response
{
"events": [
{
"event_id": "816efd1e5767d7133b5bc70c77173a18",
"event_uuid": "11f1-197d-e93ea800-8c2a-ef6a554ca62d",
"sport_id": 4,
"schedule": {
"season_type": "Regular Season",
"season_year": 2026
},
"markets": [
{
"market_id": 1,
"name": "Money Line",
"participants": [
{
"id": 51,
"name": "New England Patriots"
}
]
}
],
"live_game_state": {
"sport": "mlb",
"last_play": {
"participants": [
{
"role": "batter"
}
]
},
"football": {
"down_distance_text": "3rd & 4 at KC 38",
"short_down_distance_text": "3rd & 4"
}
},
"affiliate_source_ids": {
"19": "31580014",
"23": "34031-88749503"
}
}
]
}Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- info
endpoint added
- info