API
Overview of Comicarr's REST and legacy API surfaces.
Comicarr exposes two API surfaces. Both require API_ENABLED=True and a valid API_KEY configured in Settings > General.
The modern API. JSON request/response bodies, Api-Key header authentication, pagination, and event streaming.
- Base URL:
/rest/ - Auth:
Api-Keyheader - Format: JSON
Command-dispatch API compatible with Mylar3. Useful for existing integrations and tools that already speak the Mylar3 protocol.
- Base URL:
/api?cmd=COMMAND - Auth:
apikeyquery parameter - Format: JSON
Quick Comparison
| Feature | REST API | Legacy API |
|---|---|---|
| Base URL | /rest/ | /api?cmd= |
| Authentication | Api-Key header | apikey query param |
| Pagination | limit/offset params | Not supported |
| Event streaming | Supported | Not supported |
| Mylar3 compatible | No | Yes |