Get best prices by sport and date
curl --request GET \
--url https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date} \
--header 'X-TheRundown-Key: <api-key>'import requests
url = "https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}"
headers = {"X-TheRundown-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-TheRundown-Key': '<api-key>'}};
fetch('https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-TheRundown-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-TheRundown-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}")
.header("X-TheRundown-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-TheRundown-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"meta": {
"source": "db",
"as_of": "2026-12-05T01:04:00Z",
"count": 2,
"sport_id": 4,
"date": "2026-12-05",
"date_from": "2026-12-05T00:00:00Z",
"date_to": "2026-12-05T23:59:59.999999999Z"
},
"best_lines": [
{
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"market_id": 1,
"market_participant_id": 40539835,
"participant_id": 26,
"participant_type": 1,
"period_id": 0,
"line": "Dallas Mavericks",
"best": {
"id": 732500694,
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"affiliate_id": 30,
"affiliate_name": "Novig",
"market_id": 1,
"market_participant_id": 40539835,
"participant_id": 26,
"participant_type": 1,
"period_id": 0,
"line": "Dallas Mavericks",
"price": "292.0000",
"previous_price": "285.0000",
"implied_probability": 0.25510204081632654,
"move_bps": 46,
"is_main_line": true,
"updated_at": "2026-12-04T21:13:52Z",
"indexed_at": "2026-12-04T21:13:52Z",
"liquidity_usd": 188979.42
},
"book_count": 26,
"price_count": 26
},
{
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"market_id": 1,
"market_participant_id": 40987995,
"participant_id": 30,
"participant_type": 1,
"period_id": 0,
"line": "San Antonio Spurs",
"best": {
"id": 735414042,
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"affiliate_id": 16,
"affiliate_name": "Matchbook",
"market_id": 1,
"market_participant_id": 40987995,
"participant_id": 30,
"participant_type": 1,
"period_id": 0,
"line": "San Antonio Spurs",
"price": "-286.0000",
"previous_price": "-294.0000",
"implied_probability": 0.7409326424870466,
"move_bps": 53,
"is_main_line": true,
"updated_at": "2026-12-05T01:02:43Z",
"indexed_at": "2026-12-05T01:02:43Z"
},
"book_count": 26,
"price_count": 26
}
]
}
V2 Odds
V2: Get best prices by sport and date
Get one best open price per event/market/period/participant group on a sport date, with optional ranked alternatives.
GET
/
api
/
v2
/
sports
/
{sportID}
/
odds
/
best-lines
/
{date}
Get best prices by sport and date
curl --request GET \
--url https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date} \
--header 'X-TheRundown-Key: <api-key>'import requests
url = "https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}"
headers = {"X-TheRundown-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-TheRundown-Key': '<api-key>'}};
fetch('https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-TheRundown-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-TheRundown-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}")
.header("X-TheRundown-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/sports/{sportID}/odds/best-lines/{date}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-TheRundown-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"meta": {
"source": "db",
"as_of": "2026-12-05T01:04:00Z",
"count": 2,
"sport_id": 4,
"date": "2026-12-05",
"date_from": "2026-12-05T00:00:00Z",
"date_to": "2026-12-05T23:59:59.999999999Z"
},
"best_lines": [
{
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"market_id": 1,
"market_participant_id": 40539835,
"participant_id": 26,
"participant_type": 1,
"period_id": 0,
"line": "Dallas Mavericks",
"best": {
"id": 732500694,
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"affiliate_id": 30,
"affiliate_name": "Novig",
"market_id": 1,
"market_participant_id": 40539835,
"participant_id": 26,
"participant_type": 1,
"period_id": 0,
"line": "Dallas Mavericks",
"price": "292.0000",
"previous_price": "285.0000",
"implied_probability": 0.25510204081632654,
"move_bps": 46,
"is_main_line": true,
"updated_at": "2026-12-04T21:13:52Z",
"indexed_at": "2026-12-04T21:13:52Z",
"liquidity_usd": 188979.42
},
"book_count": 26,
"price_count": 26
},
{
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"market_id": 1,
"market_participant_id": 40987995,
"participant_id": 30,
"participant_type": 1,
"period_id": 0,
"line": "San Antonio Spurs",
"best": {
"id": 735414042,
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"affiliate_id": 16,
"affiliate_name": "Matchbook",
"market_id": 1,
"market_participant_id": 40987995,
"participant_id": 30,
"participant_type": 1,
"period_id": 0,
"line": "San Antonio Spurs",
"price": "-286.0000",
"previous_price": "-294.0000",
"implied_probability": 0.7409326424870466,
"move_bps": 53,
"is_main_line": true,
"updated_at": "2026-12-05T01:02:43Z",
"indexed_at": "2026-12-05T01:02:43Z"
},
"book_count": 26,
"price_count": 26
}
]
}
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.{
"meta": {
"source": "db",
"as_of": "2026-12-05T01:04:00Z",
"count": 2,
"sport_id": 4,
"date": "2026-12-05",
"date_from": "2026-12-05T00:00:00Z",
"date_to": "2026-12-05T23:59:59.999999999Z"
},
"best_lines": [
{
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"market_id": 1,
"market_participant_id": 40539835,
"participant_id": 26,
"participant_type": 1,
"period_id": 0,
"line": "Dallas Mavericks",
"best": {
"id": 732500694,
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"affiliate_id": 30,
"affiliate_name": "Novig",
"market_id": 1,
"market_participant_id": 40539835,
"participant_id": 26,
"participant_type": 1,
"period_id": 0,
"line": "Dallas Mavericks",
"price": "292.0000",
"previous_price": "285.0000",
"implied_probability": 0.25510204081632654,
"move_bps": 46,
"is_main_line": true,
"updated_at": "2026-12-04T21:13:52Z",
"indexed_at": "2026-12-04T21:13:52Z",
"liquidity_usd": 188979.42
},
"book_count": 26,
"price_count": 26
},
{
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"market_id": 1,
"market_participant_id": 40987995,
"participant_id": 30,
"participant_type": 1,
"period_id": 0,
"line": "San Antonio Spurs",
"best": {
"id": 735414042,
"event_id": "a2f69589bbb5da7ebccd57c2a5acae39",
"sport_id": 4,
"affiliate_id": 16,
"affiliate_name": "Matchbook",
"market_id": 1,
"market_participant_id": 40987995,
"participant_id": 30,
"participant_type": 1,
"period_id": 0,
"line": "San Antonio Spurs",
"price": "-286.0000",
"previous_price": "-294.0000",
"implied_probability": 0.7409326424870466,
"move_bps": 53,
"is_main_line": true,
"updated_at": "2026-12-05T01:02:43Z",
"indexed_at": "2026-12-05T01:02:43Z"
},
"book_count": 26,
"price_count": 26
}
]
}
Response fields
| Field | Type | Description |
|---|---|---|
meta | object | Response source, freshness, result count and diagnostic metadata. |
meta.source | string | Source used to serve the response. |
meta.as_of | string | Latest included price-update time; the current UTC response time when no price rows contribute. This is not a guaranteed observation or delivery timestamp. |
meta.count | integer | Number of rows returned. |
meta.sport_id | integer | Sport scope for sport/date discovery endpoints. |
meta.date | string | Event date scope. |
meta.date_from | string | UTC lower bound used for the event date scope. |
meta.date_to | string | UTC upper bound used for the event date scope. |
meta.window_minutes | integer | Lookback window used for steamer detection. |
meta.stale | boolean | True when the newest included price update is more than 15 minutes old; quiet books can still have valid unchanged prices. |
meta.warnings | array | Diagnostic notices about fallback reads, unavailable data or the age of the returned prices. Empty results may be accompanied by a warning. |
best_lines | array | One best-price row per matching event/market/period/participant group. |
best_lines[].event_id | string | TheRundown event identifier. |
best_lines[].sport_id | integer | TheRundown sport or league identifier; see the Sports reference. |
best_lines[].market_id | integer | TheRundown market-definition identifier. |
best_lines[].market_participant_id | integer | Identifier of the event-market participant row. |
best_lines[].participant_id | integer | Identifier of the team, player or other selection participant. |
best_lines[].participant_type | integer | Numeric participant-kind identifier, when supplied. |
best_lines[].period_id | integer | Market period identifier; 0 is full game. |
best_lines[].line | string | Best selected line for this event/market/participant selection. |
best_lines[].best | object | Highest-ranked matching open price; omitted when no eligible price is available. |
best_lines[].all | array | Ranked prices for this selection, returned only when include_all=true. |
best_lines[].book_count | integer | Number of distinct sportsbooks with matching prices. |
best_lines[].price_count | integer | Number of matching price rows considered for this selection. |
Authorizations
ApiKeyHeaderApiKeyQuery
Path Parameters
Query Parameters
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 Response
Successful response. Arrays may be empty when no eligible records match.