Skip to content

API Reference

The Sublarr REST API is documented live, generated from the running backend so it cannot drift from the code.

SurfaceURLPurpose
Swagger UIhttp://<HOST>:5765/api/docsInteractive browser — click any endpoint, fill the form, run a real request.
OpenAPI JSONhttp://<HOST>:5765/api/v1/openapi.jsonMachine-readable spec. Feed this into Postman, Insomnia, Bruno, or a code generator.

Both endpoints are anonymous-readable so you can browse them before authenticating.

All API calls require an X-Api-Key header. The key is set in Settings → General → Authentication. Paste it once into Swagger UI’s Authorize dialog (top right) and every “Try it out” call you make from there will include it.

Terminal window
curl -H "X-Api-Key: <API_KEY>" http://<HOST>:5765/api/v1/health
EndpointWhat it does
GET /api/v1/healthLiveness probe — returns { "status": "ok" }.
GET /api/v1/libraryPaginated list of every series Sublarr knows about.
GET /api/v1/wantedItems currently waiting for a subtitle search.
POST /api/v1/wanted/{id}/searchTrigger an immediate provider search for one wanted item.
GET /api/v1/activityRecent download + translation history.
GET /api/v1/scheduler/jobsList background jobs and their next-fire time.

For everything else — and the full request/response schemas — open Swagger UI.

A hand-maintained list would lag behind the code on every release. The Swagger UI is generated from Python type hints and Pydantic models at runtime, so it is always in sync with the running version. Treat the live UI as the source of truth.