Skip to content

Unofficial Plex API Documentation

Michael Shepanski edited this page Jun 9, 2015 · 49 revisions

Thought this would be a good place to document the various API features I have found when writing this API to help others out. So without further adieu lets, begin.

MyPlex (hosted on plex.tv)

API Request Headers

Some APIs require more parameters than others. The Plex Web Client tends to always send all of the headers below. Thus, I found providing all of the following has also given me good results.

  • X-Plex-Token - REQUIRED; Auth token from sign_in link above.
  • X-Plex-Platform - Platform name, eg iOS, MacOSX, Android, LG, etc.
  • X-Plex-Platform-Version - OS version, eg 4.3.1, 10.6.7, 3.2.
  • X-Plex-Provides - One or more of {player,controller,server}.
  • X-Plex-Product - Plex app name, eg Laika, Plex Media Server, Media Link.
  • X-Plex-Version - Plex app version number (any string?).
  • X-Plex-Device - Device name and model number, eg iPhone3, Motorola XOOM.
  • X-Plex-Client-Identifier - UUID, SN, or other number unique per device.

Plex Media Server

Library Sections

Movie Section

Show Section

Videos

Show & Season

Plex Client (via Plex Media Server)

Navigation

Playback