Stremio Addons Documentation
Developers

API

Public REST API reference.

We expose a public, read-only REST API under https://stremio-addons.net/api/v0/*. No authentication is required and CORS is open to all origins (*).

The /api/v0/* API is experimental and comes with no stability guarantees; endpoints may change without notice.

Usage terms

Use of the API is subject to our Terms of use. In short:

  • Attribution. If you display data from the API, include clear, visible credit link back to stremio-addons.net.
  • No competing use. Using the data in any way that competes with, substitutes for, or otherwise harms Stremio Addons is not permitted without prior written permission.

Endpoints

GET /api/v0/categories

List all categories: the category labels plus the nsfw category, which matches addons by their nsfw flag.

Order: by name, ascending.

  • 200: CategoryList.
  • 500: { error: "Failed to fetch categories" }

Example

curl https://stremio-addons.net/api/v0/categories

GET /api/v0/addons

Paginated approved addons. Only top-level addons are listed, each with its approved instances inline (an instance never appears as its own top-level entry).

Query parameters:

NameTypeDefaultNotes
pageint ≥11Ignored when cursor or after is given.
limitint 1–100100Clamped to range.
searchstringCase-insensitive match on name, description, or slug.
nsfwenuminclude allonly | exclude. Filters on the addon's nsfw flag.
categorystringCategory slug; repeatable (?category=a&category=b), OR-matched. Multi-word slugs use + (e.g. ?category=tv+shows).
sort_byenumcreatedAtcreatedAt | stars.
orderenumdescasc | desc.
cursorstringOpaque cursor from a previous response's pagination.nextCursor. Returns the rows after it.
afteruuidDeprecated, use cursor. Skip rows up to and including this addon under the current sort.

Order: by sort_by (default createdAt) in the order direction (default desc).

Use whichever paging style fits your use case: cursor is ideal for infinite scroll and for crawling the whole list, while page and limit work great for regular numbered pagination.

Cursor paging

Every response carries pagination.nextCursor, including plain page requests and the first request. Pass it back as cursor to get the next page, and stop when it is null.

  • Send the same sort_by and order the cursor was issued for. A cursor doesn't carry the filters, so send search, nsfw and category again on every request.
  • A cursor keeps working after the addon it points at is archived or removed: it holds the position, not a reference to the addon.
  • With sort_by=stars, an addon whose star count changes between requests can move across the cursor and be skipped or returned twice. Use sort_by=createdAt&order=asc to crawl the full list.
  • When cursor or after is applied, page is reported as 1, hasPreviousPage is true, and total and totalPages count the rows from the cursor onward.
curl "https://stremio-addons.net/api/v0/addons?sort_by=createdAt&order=asc"
# then, with pagination.nextCursor from that response:
curl "https://stremio-addons.net/api/v0/addons?sort_by=createdAt&order=asc&cursor=<nextCursor>"
  • 200: AddonList:

    {
      "addons": [
        /* AddonWithInstances */
      ],
      "pagination": {
        "page": 1,
        "limit": 100,
        "total": 0,
        "totalPages": 0,
        "hasNextPage": false,
        "hasPreviousPage": false,
        "nextCursor": null
      }
    }
  • 400: { error: "Invalid query parameter(s): ..." }, naming each offending parameter. Besides malformed values, this covers:

    • a cursor issued for a different sort_by or order;
    • cursor and after sent together;
    • an after uuid that isn't an addon in the filtered set.
  • 500: { error: "Failed to fetch addons" }

Example

curl "https://stremio-addons.net/api/v0/addons?search=torrent&sort_by=stars&order=desc&limit=25"

GET /api/v0/addons/{uuidOrSlug}

Single approved addon by UUID or slug. Includes approved instances.

  • 200: AddonDetail
  • 400: { error: "UUID or slug is required" }
  • 404: { error: "Addon not found" }
  • 500: { error: "Internal Server Error" }

Example

curl https://stremio-addons.net/api/v0/addons/stremio-addons.net

GET /api/v0/rising

Approved addons gaining the most stars in the last 24 hours ("Top Rising"), ranked by star velocity rather than lifetime totals. Only top-level addons are listed (instances are excluded).

Query parameters:

NameTypeDefaultNotes
limitint 1–10010Clamped to range.
nsfwenuminclude allonly | exclude. Filters on the addon's nsfw flag.
categorystringCategory slug; repeatable (?category=a&category=b), OR-matched. Multi-word slugs use + (e.g. ?category=tv+shows).

Order: by stars gained in the last 24 hours, descending.

  • 200: { "addons": RisingAddon[] }
  • 400: { error: "Invalid query parameter(s): ..." }
  • 500: { error: "Failed to fetch rising addons" }

Example

curl "https://stremio-addons.net/api/v0/rising?limit=5"

Responses

All responses are JSON unless noted otherwise. Successful requests return 200; errors return the matching HTTP status with a { "error": string } body.

Responses are cached for up to a day (Cache-Control: public, max-age=86400), so newly approved addons and rating changes may take some time to appear.

Object shapes

Category

{
  name: string; // human-readable label, e.g. "TV Shows"
  slug: string; // url-safe identifier, e.g. "tv+shows"
}

CategoryList

{
  categories: Category[];
}

Addon

{
  uuid: string;
  url: string; // {SITE_URL}/addons/{slug}
  manifestUrl: string;
  manifest: object; // Stremio manifest object at the time of indexation
  slug: string;
  stars: number; // number of users who starred the addon
  nsfw: boolean; // made for adult (18+) content; the `nsfw` filter and `category=nsfw` match on this flag
  categories: Category[]; // includes the `nsfw` category when `nsfw` is true
  configureUrl: string | null; // null unless manifest.behaviorHints.configurable
  createdAt: string; // ISO 8601
  updatedAt: string; // ISO 8601
}

AddonWithInstances

Addon plus:

{
  instances: Addon[];
}

AddonDetail

Addon plus:

{
  documentation: string | null; // raw markdown, not HTML
  instances: AddonDetail[]; // approved instances
}

RisingAddon

Addon plus:

{
  recentStars: number; // stars gained in the last 24 hours (the ranking basis)
}

Pagination

{
  page: number;
  limit: number;
  total: number;
  totalPages: number;
  hasNextPage: boolean; // nextCursor !== null
  hasPreviousPage: boolean;
  nextCursor: string | null; // pass as ?cursor= for the next page; null on the last page
}

AddonList

{
  addons: AddonWithInstances[];
  pagination: Pagination;
}

Feedback

Have a use case the current endpoints don't cover? Let us know.

On this page