Find a same-book parlay price (alias)
curl --request POST \
--url https://therundown.io/api/v2/parlays/best-book \
--header 'Content-Type: application/json' \
--header 'X-TheRundown-Key: <api-key>' \
--data '
{
"legs": [
{
"event_id": "evt-0",
"market_id": 1
},
{
"event_id": "evt-1",
"market_id": 1
}
]
}
'import requests
url = "https://therundown.io/api/v2/parlays/best-book"
payload = { "legs": [
{
"event_id": "evt-0",
"market_id": 1
},
{
"event_id": "evt-1",
"market_id": 1
}
] }
headers = {
"X-TheRundown-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-TheRundown-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({legs: [{event_id: 'evt-0', market_id: 1}, {event_id: 'evt-1', market_id: 1}]})
};
fetch('https://therundown.io/api/v2/parlays/best-book', 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/parlays/best-book",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'legs' => [
[
'event_id' => 'evt-0',
'market_id' => 1
],
[
'event_id' => 'evt-1',
'market_id' => 1
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v2/parlays/best-book"
payload := strings.NewReader("{\n \"legs\": [\n {\n \"event_id\": \"evt-0\",\n \"market_id\": 1\n },\n {\n \"event_id\": \"evt-1\",\n \"market_id\": 1\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-TheRundown-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://therundown.io/api/v2/parlays/best-book")
.header("X-TheRundown-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"legs\": [\n {\n \"event_id\": \"evt-0\",\n \"market_id\": 1\n },\n {\n \"event_id\": \"evt-1\",\n \"market_id\": 1\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/parlays/best-book")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-TheRundown-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"legs\": [\n {\n \"event_id\": \"evt-0\",\n \"market_id\": 1\n },\n {\n \"event_id\": \"evt-1\",\n \"market_id\": 1\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"meta": {
"source": "mixed",
"as_of": "2026-12-05T01:00:00Z",
"count": 0,
"warnings": [
"best_same_book_combined_price does not guarantee sportsbook betslip eligibility"
]
},
"books": []
}
V2 Odds
V2: Find a same-book parlay price (alias)
Compare the mathematical combined price across books that currently have every requested leg open.
POST
/
api
/
v2
/
parlays
/
best-book
Find a same-book parlay price (alias)
curl --request POST \
--url https://therundown.io/api/v2/parlays/best-book \
--header 'Content-Type: application/json' \
--header 'X-TheRundown-Key: <api-key>' \
--data '
{
"legs": [
{
"event_id": "evt-0",
"market_id": 1
},
{
"event_id": "evt-1",
"market_id": 1
}
]
}
'import requests
url = "https://therundown.io/api/v2/parlays/best-book"
payload = { "legs": [
{
"event_id": "evt-0",
"market_id": 1
},
{
"event_id": "evt-1",
"market_id": 1
}
] }
headers = {
"X-TheRundown-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-TheRundown-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({legs: [{event_id: 'evt-0', market_id: 1}, {event_id: 'evt-1', market_id: 1}]})
};
fetch('https://therundown.io/api/v2/parlays/best-book', 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/parlays/best-book",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'legs' => [
[
'event_id' => 'evt-0',
'market_id' => 1
],
[
'event_id' => 'evt-1',
'market_id' => 1
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v2/parlays/best-book"
payload := strings.NewReader("{\n \"legs\": [\n {\n \"event_id\": \"evt-0\",\n \"market_id\": 1\n },\n {\n \"event_id\": \"evt-1\",\n \"market_id\": 1\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-TheRundown-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://therundown.io/api/v2/parlays/best-book")
.header("X-TheRundown-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"legs\": [\n {\n \"event_id\": \"evt-0\",\n \"market_id\": 1\n },\n {\n \"event_id\": \"evt-1\",\n \"market_id\": 1\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v2/parlays/best-book")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-TheRundown-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"legs\": [\n {\n \"event_id\": \"evt-0\",\n \"market_id\": 1\n },\n {\n \"event_id\": \"evt-1\",\n \"market_id\": 1\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"meta": {
"source": "mixed",
"as_of": "2026-12-05T01:00:00Z",
"count": 0,
"warnings": [
"best_same_book_combined_price does not guarantee sportsbook betslip eligibility"
]
},
"books": []
}
Endpoint details
Compare the mathematical combined price across books that currently have every requested leg open. This is a read-only calculation and does not place a bet. Authenticate with X-TheRundown-Key (recommended) or key=. Returned books, player props, live periods and data delay respect the subscription. No separate Pro gate applies; ordinary plan data/period/prop restrictions still apply. A request needs 2–25 legs. Each returned book costs one data point. The two routes are aliases of the same handler. Combined prices do not guarantee betslip/SGP eligibility, and incomplete books are omitted. The example shows two legs with no eligible book having a matching price for every leg; an empty books array is a valid result.Example response
Examples are shortened for readability; counts retain the source values.{
"meta": {
"source": "mixed",
"as_of": "2026-12-05T01:00:00Z",
"count": 0,
"warnings": [
"best_same_book_combined_price does not guarantee sportsbook betslip eligibility"
]
},
"books": []
}
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. |
books | array | Sportsbooks that currently have every requested leg open, sorted by combined decimal odds descending. |
books[].affiliate_id | integer | TheRundown sportsbook or exchange affiliate identifier. |
books[].affiliate_name | string | Display name of the sportsbook or exchange. |
books[].decimal_odds | number | Product of the selected legs’ decimal odds, rounded to four decimal places. |
books[].american_odds | number | Combined same-book price expressed as American odds. |
books[].best_same_book_combined_only | boolean | Always true: this is the mathematical same-book combined price, not confirmation of sportsbook betslip or same-game-parlay eligibility. |
books[].legs | array | The selections used for this same-book combined price. |
Authorizations
ApiKeyHeaderApiKeyQuery
Query Parameters
Body
application/json
ParlayBook request.
Response
Successful response. Arrays may be empty when no eligible records match.