curl --request GET \
--url https://therundown.io/api/v2/events/{eventID}/markets/{marketID}/history \
--header 'X-TheRundown-Key: <api-key>'import requests
url = "https://therundown.io/api/v2/events/{eventID}/markets/{marketID}/history"
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/events/{eventID}/markets/{marketID}/history', 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/events/{eventID}/markets/{marketID}/history",
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/events/{eventID}/markets/{marketID}/history"
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/events/{eventID}/markets/{marketID}/history")
.header("X-TheRundown-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/events/{eventID}/markets/{marketID}/history")
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": {
"event_id": "09bfa53f8484a63e584398545c035932",
"market_id": 3,
"market_name": "totals"
},
"series": {
"19": {
"affiliate_name": "Affiliate 19",
"data": [
{
"t": "2026-02-10T14:00:00Z",
"p": "-110",
"l": "224.5",
"m": true
},
{
"t": "2026-02-11T09:30:00Z",
"p": "-112",
"l": "224.5",
"m": true
},
{
"t": "2026-02-11T22:00:00Z",
"p": "-108",
"l": "225.5",
"m": true
}
]
},
"23": {
"affiliate_name": "Affiliate 23",
"data": [
{
"t": "2026-02-10T14:05:00Z",
"p": "-108",
"l": "224.5",
"m": true
},
{
"t": "2026-02-11T10:00:00Z",
"p": "-110",
"l": "224.5",
"m": true
}
]
}
}
}{
"error": "chart history for this request would read more than 40000 history rows to apply participant_id, line, or main_line; pass fewer affiliate_ids or a tighter from/to window"
}Get line price chart data for a specific market
Chart market line prices over time by sportsbook. Discover the public participant_id first to separate sides such as Over and Under.
curl --request GET \
--url https://therundown.io/api/v2/events/{eventID}/markets/{marketID}/history \
--header 'X-TheRundown-Key: <api-key>'import requests
url = "https://therundown.io/api/v2/events/{eventID}/markets/{marketID}/history"
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/events/{eventID}/markets/{marketID}/history', 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/events/{eventID}/markets/{marketID}/history",
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/events/{eventID}/markets/{marketID}/history"
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/events/{eventID}/markets/{marketID}/history")
.header("X-TheRundown-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/events/{eventID}/markets/{marketID}/history")
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": {
"event_id": "09bfa53f8484a63e584398545c035932",
"market_id": 3,
"market_name": "totals"
},
"series": {
"19": {
"affiliate_name": "Affiliate 19",
"data": [
{
"t": "2026-02-10T14:00:00Z",
"p": "-110",
"l": "224.5",
"m": true
},
{
"t": "2026-02-11T09:30:00Z",
"p": "-112",
"l": "224.5",
"m": true
},
{
"t": "2026-02-11T22:00:00Z",
"p": "-108",
"l": "225.5",
"m": true
}
]
},
"23": {
"affiliate_name": "Affiliate 23",
"data": [
{
"t": "2026-02-10T14:05:00Z",
"p": "-108",
"l": "224.5",
"m": true
},
{
"t": "2026-02-11T10:00:00Z",
"p": "-110",
"l": "224.5",
"m": true
}
]
}
}
}{
"error": "chart history for this request would read more than 40000 history rows to apply participant_id, line, or main_line; pass fewer affiliate_ids or a tighter from/to window"
}Endpoint details
Returns time-series price data suitable for charting line movement. To chart one participant, first discover its publicparticipant_id with GET /api/v2/markets/participants for the same event and market, then pass that value here. For totals (market 3), discover the TYPE_RESULT Over and Under participants and request each side separately. Series are grouped by affiliate and can otherwise contain points for more than one participant. main_line=true keeps only the points that were the main line when written.Authorizations
Path Parameters
Query Parameters
Odds representation for supported REST prices. Omit the parameter or use american to preserve the existing American format. Supported values are american, decimal, fractional, and probability (a 0..1 fraction). Fractional odds are reduced ratio strings. Decimal and probability values preserve the source number or numeric-string type. Nulls, nonnumeric sentinels, off-board values such as 0 and 0.0001, and numeric values with absolute value below 100 remain unchanged. Price-delta fields remain in American-point difference units. Empty, repeated, or unsupported values return HTTP 400. WebSocket messages are unchanged.
american, decimal, fractional, probability 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.
When true, return only history rows (or chart points) that were the sportsbook's main line when written: is_main_line = true on history rows, m = true on chart points. Sorted by time, each change of the line value for a participant is a main-line move at that timestamp.
true, false