Skip to main content
GET
Get team totals for a line

Authorizations

X-TheRundown-Key
string
header
required

Recommended API key request header for new integrations

Path Parameters

id
string
required

Line ID (line_id), not an event ID. Find it in a V1 event response at lines.{affiliate_id}.line_id, or with include=all_periods at line_periods.{affiliate_id}.{period}.moneyline.line_id (every period of a sportsbook's line shares the same line ID). Each line ID belongs to one sportsbook.

Query Parameters

include
enum<string>

Set to all_periods to include period team totals and, with live odds access, in-play team totals (returned under period_live_full_game). For full in-play team-total history use GET /api/v2/events/{eventID}/markets/history?market_ids=96.

Available options:
all_periods

Response

200 - application/json

Team totals

team_totals_away
object[]

Full-game away team-total rows. Each row has team_id plus the fields of a V1 total row, for example line_id, affiliate_id, total_over, total_over_money, total_under, total_under_money and date_updated. Omitted when there are no rows.

team_totals_home
object[]

Full-game home team-total rows, shaped like team_totals_away. Omitted when there are no rows.

team_total_periods_away
object

With include=all_periods, away rows grouped by period key (period_full_game, period_first_half, period_second_half, period_first_period through period_fourth_period, and period_live_full_game). Period keys with no rows are omitted.

team_total_periods_home
object

With include=all_periods, home rows grouped by period key, shaped like team_total_periods_away.