Home

Awesome

API

Overview

Channels

https://iptv-org.github.io/api/channels.json
[
  //...
  {
    "id": "AnhuiTV.cn",
    "name": "Anhui TV",
    "alt_names": ["安徽卫视"],
    "network": "Anhui",
    "owners": ["China Central Television"],
    "country": "CN",
    "subdivision": "CN-AH",
    "city": "Hefei",
    "broadcast_area": ["s/CN-AH"],
    "languages": ["zho"],
    "categories": ["general"],
    "is_nsfw": false,
    "launched": "2016-07-28",
    "closed": "2020-05-31",
    "replaced_by": "CCTV1.cn",
    "website": "http://www.ahtv.cn/",
    "logo": "https://example.com/logo.png"
  }
  //...
]
FieldTypeDescription
idstringUnique channel ID
namestringFull name of the channel
alt_namesarrayList of alternative channel names
networkstring or nullName of the network operating the channel
ownersarrayList of channel owners
countrystringCountry code from which the broadcast is transmitted (ISO 3166-1 alpha-2)
subdivisionstring or nullCode of the subdivision (e.g., provinces or states) from which the broadcast is transmitted (ISO 3166-2)
citystring or nullName of the city from which the broadcast is transmitted
broadcast_areaarrayList of codes describing the broadcasting area (r/<region_code>, c/<country_code>, s/<subdivision_code>)
languagesarrayList of languages broadcast
categoriesarrayList of categories to which this channel belongs
is_nsfwbooleanIndicates whether the channel broadcasts adult content
launchedstring or nullLaunch date of the channel (YYYY-MM-DD)
closedstring or nullDate on which the channel closed (YYYY-MM-DD)
replaced_bystring or nullThe ID of the channel that this channel was replaced by
websitestring or nullOfficial website URL
logostringLogo URL

Source of data: https://github.com/iptv-org/database

Streams

https://iptv-org.github.io/api/streams.json
[
  //...
  {
    "channel": "BBCNews.uk",
    "url": "http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/index.m3u8",
    "timeshift": "2",
    "http_referrer": "http://example.com/",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
  }
  //...
]
FieldTypeDescription
channelstringChannel ID
urlstringStream URL
timeshiftstring or nullIndicates the shift of the program schedule
http_referrerstring or nullThe Referer request header for the stream
user_agentstring or nullThe User-Agent request header for the stream

Source of data: https://github.com/iptv-org/iptv

Guides

https://iptv-org.github.io/api/guides.json
[
  //...
  {
    "channel": "BBCNews.uk",
    "site": "bt.com",
    "site_id": "hsx4",
    "site_name": "BBC News",
    "lang": "en"
  }
  //...
]
FieldTypeDescription
channelstring or nullChannel ID
sitestringSite domain name
site_idstringUnique channel ID used on the site
site_namestringChannel name used on the site
langstringLanguage of the guide (ISO 639-1 code)

Source of data: https://github.com/iptv-org/epg

Categories

https://iptv-org.github.io/api/categories.json
[
  //...
  {
    "id": "documentary",
    "name": "Documentary"
  }
  //...
]
FieldTypeDescription
idstringCategory ID
namestringName of the category

Source of data: https://github.com/iptv-org/database

Languages

https://iptv-org.github.io/api/languages.json
[
  //...
  {
    "name": "French",
    "code": "fra"
  }
  //...
]
FieldTypeDescription
namestringLanguage name
codestringISO 639-3 code of the language

Source of data: https://github.com/iptv-org/database

Countries

https://iptv-org.github.io/api/countries.json
[
  //...
  {
    "name": "Canada",
    "code": "CA",
    "languages": ["eng", "fra"],
    "flag": "🇨🇦"
  }
  //...
]
FieldTypeDescription
namestringName of the country
codestringISO 3166-1 alpha-2 code of the country
languagesarrayList of official languages of the country (ISO 639-3 code)
flagstringCountry flag emoji

Source of data: https://github.com/iptv-org/database

Subdivisions

https://iptv-org.github.io/api/subdivisions.json
[
  //...
  {
    "country": "CA",
    "name": "Ontario",
    "code": "CA-ON"
  }
  //...
]
FieldTypeDescription
countrystringISO 3166-1 alpha-2 code of the country
namestringSubdivision name
codestringISO 3166-2 code of the subdivision

Source of data: https://github.com/iptv-org/database

Regions

https://iptv-org.github.io/api/regions.json
[
  //...
  {
    "code": "MAGHREB",
    "name": "Maghreb",
    "countries": ["DZ", "LY", "MA", "MR", "TN"]
  }
  //...
]
FieldTypeDescription
codestringCode of the region
namestringFull name of the region
countriesarrayList of countries in the region

Source of data: https://github.com/iptv-org/database

Blocklist

https://iptv-org.github.io/api/blocklist.json
[
  //...
  {
    "channel": "AnimalPlanetEast.us",
    "ref": "https://github.com/iptv-org/iptv/issues/1831"
  }
  //...
]
FieldTypeDescription
channelstringChannel ID
refstringLink to removal request or DMCA takedown notice

Source of data: https://github.com/iptv-org/database

Contribution

If you find a bug or want to contribute to the code or documentation, you can help by submitting an issue or a pull request.