Sonarr Statistics API

The Statistics API from Sonarr — 1 operation(s) for statistics.

Operations 1

GET /api/v5/statistics Get api statistics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sonarr:sonarr-statistics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sonarr-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonarr Statistics API
  description: Sonarr API docs - The v5 API docs apply to Sonarr v5 only.
  license:
    name: GPL-3.0
    url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
  version: 5.0.0
servers:
- url: '{protocol}://{hostpath}'
  variables:
    protocol:
      default: http
      enum:
      - http
      - https
    hostpath:
      default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: Statistics
paths:
  /api/v5/statistics:
    get:
      tags:
      - Statistics
      parameters:
      - name: rootFolderPaths
        in: query
        schema:
          type: array
          items:
            type: string
      - name: rootFolderPathsNot
        in: query
        schema:
          type: boolean
      - name: tagIds
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: tagIdsNot
        in: query
        schema:
          type: boolean
      - name: qualityProfileIds
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: qualityProfileIdsNot
        in: query
        schema:
          type: boolean
      - name: monitored
        in: query
        schema:
          type: boolean
      - name: seriesTypes
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SeriesTypes'
      - name: seriesTypesNot
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatisticsResource'
      summary: Get api statistics
      x-summary-source: derived
      operationId: getApiV5Statistics
      x-operation-id-source: derived
components:
  schemas:
    Quality:
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        source:
          $ref: '#/components/schemas/QualitySource'
        resolution:
          type: integer
          format: int32
      additionalProperties: false
    QualityStatisticsResource:
      required:
      - quality
      type: object
      properties:
        quality:
          $ref: '#/components/schemas/Quality'
        episodeFileCount:
          type: integer
          format: int32
        sizeOnDisk:
          type: integer
          format: int64
      additionalProperties: false
    QualityProfileStatisticsResource:
      required:
      - name
      type: object
      properties:
        qualityProfileId:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        seriesCount:
          type: integer
          format: int32
        episodeFileCount:
          type: integer
          format: int32
        sizeOnDisk:
          type: integer
          format: int64
      additionalProperties: false
    StatisticsResource:
      required:
      - qualityProfileStatistics
      - qualityStatistics
      - tagStatistics
      type: object
      properties:
        id:
          type: integer
          format: int32
        seriesCount:
          type: integer
          format: int32
        monitoredSeriesCount:
          type: integer
          format: int32
        completedSeriesCount:
          type: integer
          format: int32
        continuingSeriesCount:
          type: integer
          format: int32
        endedSeriesCount:
          type: integer
          format: int32
        upcomingSeriesCount:
          type: integer
          format: int32
        deletedSeriesCount:
          type: integer
          format: int32
        standardSeriesCount:
          type: integer
          format: int32
        dailySeriesCount:
          type: integer
          format: int32
        animeSeriesCount:
          type: integer
          format: int32
        seasonCount:
          type: integer
          format: int32
        completedSeasonCount:
          type: integer
          format: int32
        totalEpisodeCount:
          type: integer
          format: int32
        monitoredEpisodeCount:
          type: integer
          format: int32
        downloadedEpisodeCount:
          type: integer
          format: int32
        missingEpisodeCount:
          type: integer
          format: int32
        unairedEpisodeCount:
          type: integer
          format: int32
        episodeFileCount:
          type: integer
          format: int32
        sizeOnDisk:
          type: integer
          format: int64
        qualityProfileStatistics:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QualityProfileStatisticsResource'
        qualityStatistics:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/QualityStatisticsResource'
        tagStatistics:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TagStatisticsResource'
      additionalProperties: false
    SeriesTypes:
      enum:
      - standard
      - daily
      - anime
      type: string
    TagStatisticsResource:
      required:
      - label
      type: object
      properties:
        tagId:
          type: integer
          format: int32
        label:
          type:
          - string
          - 'null'
        seriesCount:
          type: integer
          format: int32
        episodeFileCount:
          type: integer
          format: int32
        sizeOnDisk:
          type: integer
          format: int64
      additionalProperties: false
    QualitySource:
      enum:
      - unknown
      - television
      - televisionRaw
      - web
      - webRip
      - dvd
      - bluray
      - blurayRaw
      type: string
  securitySchemes:
    X-Api-Key:
      type: apiKey
      description: Apikey passed as header
      name: X-Api-Key
      in: header
    apikey:
      type: apiKey
      description: Apikey passed as query parameter
      name: apikey
      in: query