V2 Events

Get best available line for an event

Returns the best moneyline, spread, and total across all sportsbooks.

get/api/v2/events/{eventID}/best-line

Request

  • Base URL
    https://therundown.io
  • Auth
    API key in header X-TheRundown-Key

Path parameters

eventIDstring required

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

Query parameters

period'period_full_game' | 'period_first_half' | 'period_second_half' | 'period_first_period' | 'period_second_period' | 'period_third_period' | 'period_fourth_period' | 'period_live_full_game' | 'period_live_first_half' | 'period_live_second_half' | 'period_live_first_period' | 'period_live_second_period' | 'period_live_third_period' | 'period_live_fourth_period'

Period to get best line for

affiliate_idsstring

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.

Response

Best lines

event_idstring
periodsobject

Period-specific best lines keyed by period name

Changes

No recorded changes to this operation across all 15 revisions of this API.