Broadcast rights history
Who held the TV rights to a competition, by country and season, from the yearly versions of public broadcaster lists.
Paid plansLive data
GEThttps://api.tvguideapi.com/v1/rights
Try itRuns the real call with your key
200 OK
Parameters
| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| competition | query | string | required | The competition. | Premier League |
| country | query | string | optional | A country code. | TH |
| season | query | string | optional | A season. | 2019-20 |
Before the listings began, this is the only record we hold of who showed what.
Request
curl -H "Authorization: Bearer $TVG_KEY" \ "https://api.tvguideapi.com/v1/rights?competition=Premier%20League"
$ch = curl_init("https://api.tvguideapi.com/v1/rights?competition=Premier%20League");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("TVG_KEY")],
]);
$answer = json_decode(curl_exec($ch), true);
const r = await fetch("https://api.tvguideapi.com/v1/rights?competition=Premier%20League", {
headers: { Authorization: `Bearer ${process.env.TVG_KEY}` },
});
const { data, meta } = await r.json();
import os, requests
r = requests.get(
"https://api.tvguideapi.com/v1/rights?competition=Premier%20League",
headers={"Authorization": f"Bearer {os.environ['TVG_KEY']}"},
)
data = r.json()["data"]
Sample response
{
"data": [
{
"competition": "Premier League",
"country": "TH",
"season": "2019-20",
"holders": [
"TrueVisions"
],
"source": "wikipedia"
}
],
"meta": {
"count": 1,
"next": null,
"took_ms": 41
}
}