API Reference¶
This page documents the HTTP endpoints your server exposes. Most users never touch these directly — Stremio calls them for you — but they’re useful for debugging and integrations.
Beginner Tip
You don’t need to understand this page to use the app. It’s here for the curious and for developers building on top of it.
Authentication¶
There are two kinds of protected routes:
- Addon token (
{token}in the URL) Every Stremio-facing route is scoped to a per-user token, e.g.
/stremio/{token}/manifest.json. Invalid or expired tokens are rejected (or shown a subscription prompt).- Admin session (web panel)
All
/api/admin/**and management routes require you to be logged into the web panel. Unauthenticated requests are redirected to/login.
Stremio addon endpoints¶
These follow the standard Stremio addon protocol.
Endpoint |
Purpose |
|---|---|
|
The addon manifest — declares catalogs and capabilities for this user |
|
A catalog listing (latest / popular / custom) |
|
Same, with extra filters (genre, search, skip/pagination) |
|
Detailed metadata for one title, including the episode list for series |
|
Subtitles for a title/episode, sourced from subtitle files in your channels |
The manifest¶
The manifest is dynamic per user. Its name and description reflect subscription state
(e.g. Telegram — Expires 28 Mar 2026), and its version encodes the expiry so Stremio
detects updates when you change a subscription.
Streaming endpoints¶
Endpoint |
Purpose |
|---|---|
|
The actual video stream (supports range requests for seeking) |
|
A public thumbnail image for a Telegram file (used as artwork) |
|
Serves a subtitle file (small, served fully in memory) |
|
Live and recent stream telemetry |
|
Detailed telemetry for a single stream |
How proxying affects the stream URL
When an HTTP Proxy URL is configured, the app builds the stream link by prepending the
proxy address in front of the /dl/... URL. With “Show Both” enabled, both the proxied and
direct links are offered to the player.
Admin & management API (session-protected)¶
The web panel is powered by a large set of /api/... endpoints. Highlights:
Area |
Example endpoints |
|---|---|
Media |
|
Rescan / metadata |
|
Manual add |
|
Custom catalogs |
|
Tokens & access |
|
Subscriptions |
|
Requests |
|
System & tools |
|
Response format & errors¶
Successful API calls return JSON.
Stremio endpoints return the shapes Stremio expects (manifest, catalog metas, streams).
Common error behaviors:
401 / redirect to
/login— you’re not authenticated to the admin panel.Token rejected — an invalid or expired addon token.
Empty catalog/streams — usually means nothing matched or the item has no files yet.
Good to Know
CORS is open (*) so Stremio clients on any origin can talk to your addon.