Skip to main content
GET
Get outliers

Endpoint details

Compare one book’s open prices against matching prices at other eligible books. Authenticate with X-TheRundown-Key (recommended) or key=. Returned books, player props, live periods and data delay respect the subscription. No extra product-tier gate applies beyond the subscription’s allowed data and date window. X-Datapoints is the number of returned result rows; repeated prices nested within a bulk best-line row are not counted again. This endpoint’s peer mean is raw implied probability; use the consensus endpoint for de-vigged fair values. If affiliate_ids excludes affiliate_id, the result is empty.

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

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
sport_id
integer
required

Required positive sport or league ID.

Required range: x >= 1
date
string

Event date as YYYY-MM-DD or Unix epoch timestamp. Omit for today, interpreted with offset.

affiliate_id
integer
required

Required positive affiliate ID of the target book to compare with its peers.

Required range: x >= 1
offset
integer
default:0

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

market_id
integer

Optional positive market ID. When supplied, period/participant/line/side/include_alternates filters below apply.

Required range: x >= 1
period_id
integer
default:0

Period ID; omitted or malformed uses 0 (full game). Applied only when market_id is supplied.

participant_id
integer

Optional exact participant ID. 0 or omission does not restrict participant. Applied only when market_id is supplied.

participant_type
integer

Optional numeric participant type. 0 or omission does not restrict type. Applied only when market_id is supplied.

market_participant_id
integer<int64>

Optional exact market participant ID. Applied only when market_id is supplied.

side
enum<string>

Use over or under to rank total lines from the bettor’s perspective; omit for price-only selection. Applied only when market_id is supplied.

Available options:
over,
under
line
string

Exact stored line string to match, after whitespace trimming. Applied only when market_id is supplied.

include_alternates
boolean
default:false

Consider alternate/extended lines when no exact line is specified; malformed values use false. Applied only when market_id is supplied.

affiliate_ids
string

Comma-separated positive affiliate IDs, intersected with the caller’s allowed books. Invalid or blank list entries are ignored.

min_peers
integer
default:2

Minimum eligible peer prices. Omitted, malformed or below 1 uses 2.

Required range: x >= 1
sample_limit
integer
default:1000

Maximum target-book candidates read before ranking. Omitted, malformed or below 1 uses 1000; capped at 5000.

Required range: 1 <= x <= 5000
limit
integer
default:25

Maximum returned rows. Omitted, malformed or below 1 uses 25; values above 100 are capped at 100.

Required range: 1 <= x <= 100

Response

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

Outlier response.

meta
object

Response source, freshness, result count and diagnostic metadata.

outliers
object[]

Target-book prices ranked by their distance from the matching peer-book mean implied probability.