Getting started
Static JSON files and images, free, no key, served by GitHub Pages and rebuilt every night.

Files

All files are under https://cdn.worldwide-tv.dev/database/.

FileContentUse it to
channels.jsonevery channel, its IDs and its logoshow a logo from our ID, an iptv-org or Wikidata ID
logos.jsonevery logo file, with its size and datelist the logos, refresh a cache
logos/<id>[.white].pngone logo (PNG, transparent)display it
Plain files, no key and no rate limit of their own: download them once a day (they change at most once a night) rather than at every request. New fields may be added; existing ones are never renamed or removed without changing version.

channels.json

{"version": 1, "channels": [...]}: every channel of the database, closed and merged ones included.

id
string required
Our channel ID, e.g. ch_dhk02zjhwa. Never changes, never reused.
slug
string required
Readable name, e.g. france-3-alsace.fr. May change when the channel is renamed.
name
string required
Name of the channel.
aliases
string[] required
Its other names (may be empty).
country
string required
Country code, lowercase (uk for the United Kingdom).
status
active | closed | merged required
merged: the channel became parent.
parent
string | null
An edition's main channel, or the channel a merged one became.
website
string | null
Its website.
iptv
string | null
Its iptv-org ID: France3.fr, or France3.fr@Alsace for an edition.
wikidata
string | null
Its Wikidata ID (Q and digits), when it is known.
logo
string | null
Address of its logo. For an edition without a logo of its own, its channel's.
logo_white
string | null
Address of the version for dark backgrounds, when there is one.
logo_from
string | null
Set when logo is not the channel's own: the ID of the channel it comes from (its parent).
{
  "id": "ch_dhk02zjhwa", "slug": "france-3-alsace.fr", "name": "France 3 Alsace", "aliases": [],
  "country": "fr", "status": "active", "parent": "ch_1r840gxdj5", "website": "https://www.france.tv/france-3/",
  "iptv": "France3.fr@Alsace", "wikidata": null,
  "logo": "https://cdn.worldwide-tv.dev/database/logos/ch_dhk02zjhwa.png",
  "logo_white": "https://cdn.worldwide-tv.dev/database/logos/ch_dhk02zjhwa.white.png",
  "logo_from": null
}

logos.json

A list with one record per logo file (a white version is a record of its own).

channel
string required
Our channel ID.
slug
string required
Readable name of the channel.
iptv
string | null
Its iptv-org ID.
country
string required
Country code, lowercase.
parent
string | null
For an edition, our ID of its channel.
variant
string | null
white for the version made for dark backgrounds, else null.
width, height
int required
Size in pixels (longest side 500 to 2,000).
format
string required
Always PNG.
url
string required
Address of the image.
updated
string required
Date of the last change of the image (YYYY-MM-DD): refresh a cached copy when it changes.

Examples

Logo of a channel from its iptv-org ID:

const base = 'https://cdn.worldwide-tv.dev/database/'
const { channels } = await (await fetch(`${base}channels.json`)).json()
const channel = channels.find(c => c.iptv === 'France3.fr@Alsace')
channel?.logo

Logo of a channel from a TV guide ID: see TV guides (the guides and their link to our channels are published by the epg repository).

Good to know