Skip to main content
GET
Get best prices by sport and date

Endpoint details

Get one best open price per event/market/period/participant group on a sport date, with optional ranked alternatives. Authenticate with X-TheRundown-Key (recommended) or key=. Returned books, player props, live periods and data delay respect the subscription. API Starter+ best-lines access is required; history-window restrictions also apply to dated reads. X-Datapoints is the number of returned result rows; repeated prices nested within a bulk best-line row are not counted again. limit caps grouped rows, while sample_limit caps raw candidate prices read before grouping.

Example response

Examples are shortened for readability; counts retain the source values.

Response fields

Authorizations

X-TheRundown-Key
string
header
required

Recommended API key request header for new integrations

Path Parameters

sportID
integer
required

Sport ID.

date
string
required

Event date in YYYY-MM-DD format or Unix epoch timestamp.

Query Parameters

odds_format
enum<string>
default:american

Odds representation for REST prices. Absent or american preserves the existing response. Fractional odds are reduced ratio strings; decimal and probability retain each source field's number/string type. Probability is a 0..1 fraction. Off-board placeholders (including 0 and 0.0001), nulls and nonnumeric sentinel strings stay unchanged. Numeric values with absolute value below 100 are not converted. Price-delta fields retain American-point difference units. Empty, repeated or unsupported values return 400. WebSockets are unchanged.

Available options:
american,
decimal,
fractional,
probability
market_id
integer
required

Market ID to price.

period_id
integer
default:0

Market period. Defaults to the full-game period.

participant_id
integer

Optional participant to price across all events on the date.

participant_type
integer

Participant type identifier.

market_participant_id
integer<int64>

Exact market participant row to price.

side
enum<string>

Use over or under to rank total-style markets by bettor-favorable line before price.

Available options:
over,
under
line
string

Exact line to match. Omit to rank main lines by bettor-favorable line, then price.

include_alternates
boolean
default:false

Include alternate and extended lines in the ranking pool.

affiliate_ids
string

Comma-separated sportsbook affiliate IDs to include.

include_all
boolean
default:false

Include ranked matching prices under each best-line row.

all_limit
integer
default:5

Maximum ranked prices per best-line row when include_all=true.

Required range: 1 <= x <= 25
sample_limit
integer
default:10000

Maximum raw price rows to inspect before grouping.

Required range: 1 <= x <= 20000
limit
integer
default:250

Maximum best-line rows to return.

Required range: 1 <= x <= 1000
offset
integer
default:0

Minutes from UTC used to interpret the requested date; defaults to 0.

Response

Successful response. Arrays may be empty when no eligible records match.

BulkBestLine response.

meta
object

Response source, freshness, result count and diagnostic metadata.

best_lines
object[]

One best-price row per matching event/market/period/participant group.