Plex EPG API

The EPG (Electronic Program Guide) is responsible for obtaining metadata for what is airing on each channel and when

GitHub OpenAPI
Business capability
Electronic Programme Guide Management BC-3730.20

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /livetv/epg/channelmap Compute the best channel map for a lineup · Compute the best channel map #
Ask an LLM
“How do I get the best channel map for a TV lineup on my device?”
“Can I compute a channel map from a device and lineup URI?”
Tell an agent
Compute the best channel map for device {device} and lineup {lineup}.
Build a channel map using device {device} and lineup {lineup}.
GET /livetv/epg/channels List channels for a TV lineup · Get channels for a lineup #
Ask an LLM
“Which channels are in a TV lineup?”
“Can I get the channel lineup for an EPG provider?”
Tell an agent
List the channels for lineup {lineup}.
Show the channel lineup {lineup} from the EPG provider.
GET /livetv/epg/countries List countries with EPG data · Get all countries #
Ask an LLM
“In which countries is EPG data available?”
“What flavors of EPG data exist per country?”
Tell an agent
List all countries with EPG data.
Show the EPG flavors available for each country.
GET /livetv/epg/countries/{country}/{epgId}/lineups Find TV lineups for a postal code · Get lineups for a country via postal code #
Ask an LLM
“Which TV lineups are available in a given postal code?”
“Can I look up lineups by postal code for a country and EPG provider?”
Tell an agent
Find lineups for postal code {postalCode} in {country} via EPG provider {epgId}.
List TV lineups for {country} EPG provider {epgId} near postal code {postalCode}.
GET /livetv/epg/countries/{country}/{epgId}/regions List regions for a country · Get regions for a country #
Ask an LLM
“What regions does an EPG provider cover in a country?”
“Can I list regions for a country and EPG provider?”
Tell an agent
List regions for {country} via EPG provider {epgId}.
Show the regions covered by EPG provider {epgId} in {country}.
GET /livetv/epg/countries/{country}/{epgId}/regions/{region}/lineups List TV lineups for a region · Get lineups for a region #
Ask an LLM
“Which TV lineups are available in a region?”
“Can I get the lineup for a region within an EPG provider?”
Tell an agent
List TV lineups for region {region} in {country} via EPG provider {epgId}.
Show the lineup available in region {region} of {country} for EPG provider {epgId}.
GET /livetv/epg/languages List languages for EPG data · Get all languages #
Ask an LLM
“Which languages is EPG data available in?”
“What language options exist for TV listings?”
Tell an agent
List all languages for EPG data.
Show the EPG language options.
GET /livetv/epg/lineup Compute the best lineup for a device · Compute the best lineup #
Ask an LLM
“How do I get the best TV lineup for my device?”
“Can I compute a lineup from a device and lineup group?”
Tell an agent
Compute the best lineup for device {device} in lineup group {lineupGroup}.
Build a lineup for device {device} from lineup group {lineupGroup}.
GET /livetv/epg/lineupchannels List channels across several lineups · Get the channels for mulitple lineups #
Ask an LLM
“Can I get the channels for multiple TV lineups at once?”
“Which channels are in each of several lineups?”
Tell an agent
List the channels across lineups {lineup}.
Show every channel in lineups {lineup}.
GET /tv.plex.providers.epg.{identifier}:{deviceId}/lineups/dvr/channels Get channels for a TV provider lineup · Get channels for a lineup #
Ask an LLM
“How do I get the channels for a TV provider's lineup?”
“Can I filter a provider's channel list by genre?”
Tell an agent
Get the channels for TV provider {identifier} on device {deviceId}.
Show {genre} channels for TV provider {identifier} on device {deviceId}.
GET /tv.plex.providers.epg.{identifier}:{deviceId}/grid Get what airs on a channel today · Get airing information #
Ask an LLM
“What is scheduled to air on a TV channel today?”
“Can I get a channel's program grid for a specific date?”
Tell an agent
Get airing info for channel grid {channelGridKey} on {date} for {identifier} device {deviceId}.
Show today's programs on {identifier} channel {channelGridKey} from device {deviceId}.
GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow Get watch-now hubs for a TV provider · Get hubs #
Ask an LLM
“What is currently airing on a TV provider right now?”
“Can I get the watch-now hubs for a TV provider?”
Tell an agent
Get the watch-now hubs for TV provider {identifier} on device {deviceId}.
Show what is currently airing on TV provider {identifier} for device {deviceId}.
GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow/all Get all currently airing shows · Get currently airing #
Ask an LLM
“Which shows are airing on a TV provider right now?”
“Can I list every currently airing program for a provider?”
Tell an agent
Get all currently airing shows for TV provider {identifier} on device {deviceId}.
Show every program airing now on TV provider {identifier} for device {deviceId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/plex:plex-epg-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

plex-epg-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plex Media Server EPG API
  version: '1.2.2

    '
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  description: '# API Info

    ## Content Types

    The API supports responses in both XML and JSON, and clients can request one or the other using the standard `Accept` HTTP header.'
servers:
- url: https://{IP-description}.{identifier}.plex.direct:{port}
  variables:
    IP-description:
      default: 1-2-3-4
      description: A `-` separated string of the IPv4 or IPv6 address components
    identifier:
      default: 0123456789abcdef0123456789abcdef
      description: The unique identifier of this particular PMS
    port:
      default: '32400'
security:
- user_token:
  - shared user
  - admin
tags:


# --- truncated at 32 KB (73 KB total) ---
# Full source: https://artifacts.apis.io/plex/openapi/plex-epg-api-openapi.yml