Tonight in a country
Prime time tonight on every TV channel in a country, from the local hour you choose, in one grid.
Free key and every planLive data
GEThttps://api.tvguideapi.com/v1/countries/{cc}/tonight
Try itRuns the real call with your key
200 OK
Parameters
| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| cc | path | string | required | Country code, ISO 3166-1 alpha-2. | GB |
| from_hour | query | integer | optional | Local hour to start from. Defaults to 19. | 19 |
Request
curl -H "Authorization: Bearer $TVG_KEY" \ "https://api.tvguideapi.com/v1/countries/GB/tonight"
$ch = curl_init("https://api.tvguideapi.com/v1/countries/GB/tonight");
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/countries/GB/tonight", {
headers: { Authorization: `Bearer ${process.env.TVG_KEY}` },
});
const { data, meta } = await r.json();
import os, requests
r = requests.get(
"https://api.tvguideapi.com/v1/countries/GB/tonight",
headers={"Authorization": f"Bearer {os.environ['TVG_KEY']}"},
)
data = r.json()["data"]
Sample response
{
"data": [
{
"channel": "ch_jw83a3xg",
"now": {
"title": "EastEnders",
"start": "2026-10-07T19:00:00Z",
"stop": "2026-10-07T19:30:00Z"
},
"next": {
"title": "The One Show",
"start": "2026-10-07T19:30:00Z"
}
},
{
"channel": "ch_7qk3m2xa",
"now": {
"title": "Emmerdale",
"start": "2026-10-07T19:00:00Z",
"stop": "2026-10-07T19:30:00Z"
},
"next": {
"title": "Coronation Street",
"start": "2026-10-07T19:30:00Z"
}
}
],
"meta": {
"count": 120,
"next": "c_8f21a0",
"took_ms": 41
}
}