Plex Live TV API

LiveTV contains the playback sessions of a channel from a DVR device

GitHub OpenAPI
Business capability
OTT & Streaming Delivery BC-3740.20

Operations 4

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/sessions List live TV sessions · Get all sessions #
Ask an LLM
“Which live TV sessions are currently running?”
“Can I get metadata for every live TV session at once?”
Tell an agent
List all live TV sessions.
Show metadata for every live TV session.
GET /livetv/sessions/{sessionId} Get a live TV session · Get a single session #
Ask an LLM
“Is there a way to see what's currently playing on a live TV session?”
“Can I fetch the metadata for a single live TV session?”
Tell an agent
Get live TV session {sessionId}.
Show the metadata for live TV session {sessionId}.
GET /livetv/sessions/{sessionId}/{consumerId}/index.m3u8 Get a live TV playlist index · Get a session playlist index #
Ask an LLM
“How do I get the playlist index for a live TV session?”
“Can I get an M3U8 index for a live TV session?”
Tell an agent
Get the playlist index for live TV session {sessionId} for consumer {consumerId}.
Get the M3U8 index of live TV session {sessionId} for consumer {consumerId}.
GET /livetv/sessions/{sessionId}/{consumerId}/{segmentId} Get a live TV segment · Get a single session segment #
Ask an LLM
“How do I fetch one segment of a live TV session?”
“Can I request a single segment of a live TV stream by ID?”
Tell an agent
Get segment {segmentId} of live TV session {sessionId} for consumer {consumerId}.
Fetch live TV segment {segmentId} from session {sessionId} for consumer {consumerId}.

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-live-tv-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-live-tv-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plex Media Server Live TV 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 (32 KB total) ---
# Full source: https://artifacts.apis.io/plex/openapi/plex-live-tv-api-openapi.yml