tvschedule.org
API Docs / Directory

Directory guide

Countries, channels and the ids every other endpoint takes.

The directory is where every id comes from. Countries list their channels; each channel has one stable id that the listings, XMLTV and statistics all take. The whole directory is on the free key.

Finding a channel

Search by name, alias or call sign, and narrow it by country when a name is used in several:

curl
curl "https://api.tvschedule.org/v1/channels/search/BBC+One?country=GB" -H "X-API-Key: $TVS_KEY"

A country at a time

/v1/countries/{cc}/channels lists every channel in a country, 100 at a time by default; follow next_cursor for the rest (pagination).