API

Overview of Comicarr's REST and legacy API surfaces.

Comicarr exposes two API surfaces. The REST API is always available and protected by authentication middleware. A valid API_KEY must be configured in Settings > General.

The modern API. JSON request/response bodies, X-Api-Key header authentication, pagination, and event streaming.

  • Base URL: /api/
  • Auth: X-Api-Key header
  • 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: apikey query parameter
  • Format: JSON

Quick Comparison

FeatureREST APILegacy API
Base URL/api//api?cmd=
AuthenticationX-Api-Key headerapikey query param
Paginationlimit/offset paramsNot supported
Event streamingSupportedNot supported
Mylar3 compatibleNoYes

Getting Started

On this page