Get a channel
One TV channel in full: its names, owner, country, languages, categories, logo, website, launch year and the guide feeds behind it.
Free key and every planLive data
GEThttps://api.tvguideapi.com/v1/channels/{id}
Try itRuns the real call with your key
200 OK
Parameters
| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| id | path | string | required | The channel id. Ids come from Find a channel. | ch_jw83a3xg |
| fields | query | list | optional | Only these fields, comma separated. | start,title,episode |
Request
curl -H "Authorization: Bearer $TVG_KEY" \ "https://api.tvguideapi.com/v1/channels/ch_jw83a3xg"
$ch = curl_init("https://api.tvguideapi.com/v1/channels/ch_jw83a3xg");
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/channels/ch_jw83a3xg", {
headers: { Authorization: `Bearer ${process.env.TVG_KEY}` },
});
const { data, meta } = await r.json();
import os, requests
r = requests.get(
"https://api.tvguideapi.com/v1/channels/ch_jw83a3xg",
headers={"Authorization": f"Bearer {os.environ['TVG_KEY']}"},
)
data = r.json()["data"]
Sample response
{
"data": {
"id": "ch_jw83a3xg",
"name": "BBC One",
"country": "GB",
"languages": [
"eng"
],
"categories": [
"general"
],
"owner": "BBC",
"launched": 1936,
"website": "https://www.bbc.co.uk/bbcone",
"feeds": 3
},
"meta": {
"took_ms": 23
}
}