Sonarr Parse API

The Parse API from Sonarr, for parse.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v5/parse Parse a series title or path · Get api parse #
Ask an LLM
“How do I parse a series title to get its season and episode?”
“Can I parse a file path to find the series it belongs to?”
Tell an agent
Parse the series title {title}.
Parse the file path {path}.

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-parse-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sonarr-parse-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonarr Parse 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: Parse
paths:
  /api/v5/parse:
    get:
      tags:
      - Parse
      parameters:
      - name: title
        in: query
        schema:
          type: string
      - name: path
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParseResource'
      summary: Get api parse
      x-summary-source: derived
      operationId: getApiV5Parse
      x-operation-id-source: derived
components:
  schemas:
    MonitorTypes:
      enum:
      - unknown
      - all
      - future
      - missing
      - existing
      - firstSeason
      - lastSeason
      - latestSeason
      - pilot
      - recent
      - monitorSpecials
      - unmonitorSpecials
      - none
      - skip
      type: string
    Language:
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
      additionalProperties: false
    NewItemMonitorTypes:
      enum:
      - all
      - none
      type: string
    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
    SeriesTranslationResource:
      type: object
      properties:
        language:
          $ref: '#/components/schemas/Language'
        title:
          type:
          - string
          - 'null'
        overview:
          type:
          - string
          - 'null'
      additionalProperties: false
    MediaCoverTypes:
      enum:
      - unknown
      - poster
      - banner
      - fanart
      - screenshot
      - headshot
      - clearlogo
      type: string
    PrivacyLevel:
      enum:
      - normal
      - password
      - apiKey
      - userName
      type: string
    AlternateTitleResource:
      type: object
      properties:
        title:
          type:
          - string
          - 'null'
        seasonNumber:
          type:
          - integer
          - 'null'
          format: int32
        sceneSeasonNumber:
          type:
          - integer
          - 'null'
          format: int32
        sceneOrigin:
          type:
          - string
          - 'null'
        comment:
          type:
          - string
          - 'null'
      additionalProperties: false
    SeriesResource:
      type: object
      properties:
        id:
          type: integer
          format: int32
        title:
          type:
          - string
          - 'null'
        alternateTitles:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/AlternateTitleResource'
        sortTitle:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/SeriesStatusType'
        ended:
          type: boolean
          readOnly: true
        profileName:
          type:
          - string
          - 'null'
        overview:
          type:
          - string
          - 'null'
        nextAiring:
          type:
          - string
          - 'null'
          format: date-time
        previousAiring:
          type:
          - string
          - 'null'
          format: date-time
        network:
          type:
          - string
          - 'null'
        airTime:
          type:
          - string
          - 'null'
        images:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MediaCover'
        language:
          $ref: '#/components/schemas/Language'
        originalLanguage:
          $ref: '#/components/schemas/Language'
        remotePoster:
          type:
          - string
          - 'null'
        seasonType:
          type:
          - string
          - 'null'
        seasons:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SeasonResource'
        seasonTypes:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SeasonTypeResource'
        translations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SeriesTranslationResource'
        year:
          type: integer
          format: int32
        path:
          type:
          - string
          - 'null'
        pendingPath:
          type:
          - string
          - 'null'
        qualityProfileId:
          type: integer
          format: int32
        seasonFolder:
          type: boolean
        monitored:
          type: boolean
        monitorNewItems:
          $ref: '#/components/schemas/NewItemMonitorTypes'
        useSceneNumbering:
          type: boolean
        runtime:
          type: integer
          format: int32
        tvdbId:
          type: integer
          format: int32
        tvRageId:
          type: integer
          format: int32
        tvMazeId:
          type: integer
          format: int32
        tmdbId:
          type: integer
          format: int32
        malIds:
          uniqueItems: true
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        aniListIds:
          uniqueItems: true
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        firstAired:
          type:
          - string
          - 'null'
          format: date-time
        lastAired:
          type:
          - string
          - 'null'
          format: date-time
        seriesType:
          $ref: '#/components/schemas/SeriesTypes'
        originalTitle:
          type:
          - string
          - 'null'
        cleanTitle:
          type:
          - string
          - 'null'
        cleanOriginalTitle:
          type:
          - string
          - 'null'
        imdbId:
          type:
          - string
          - 'null'
        titleSlug:
          type:
          - string
          - 'null'
        rootFolderPath:
          type:
          - string
          - 'null'
        folder:
          type:
          - string
          - 'null'
        folders:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SeriesFolderResource'
        certification:
          type:
          - string
          - 'null'
        genres:
          type:
          - array
          - 'null'
          items:
            type: string
        originalCountry:
          type:
          - string
          - 'null'
        tags:
          uniqueItems: true
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        added:
          type: string
          format: date-time
        addOptions:
          $ref: '#/components/schemas/AddSeriesOptions'
        ratings:
          $ref: '#/components/schemas/Ratings'
        statistics:
          $ref: '#/components/schemas/SeriesStatisticsResource'
        episodesChanged:
          type:
          - boolean
          - 'null'
      additionalProperties: false
    SeasonStatisticsResource:
      type: object
      properties:
        nextAiring:
          type:
          - string
          - 'null'
          format: date-time
        previousAiring:
          type:
          - string
          - 'null'
          format: date-time
        episodeFileCount:
          type: integer
          format: int32
        episodeCount:
          type: integer
          format: int32
        totalEpisodeCount:
          type: integer
          format: int32
        monitoredEpisodeCount:
          type: integer
          format: int32
        sizeOnDisk:
          type: integer
          format: int64
        releaseGroups:
          type:
          - array
          - 'null'
          items:
            type: string
        releaseTypes:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ReleaseType'
        episodeFileQualities:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Quality'
        percentOfEpisodes:
          type: number
          format: double
          readOnly: true
      additionalProperties: false
    Ratings:
      type: object
      properties:
        votes:
          type: integer
          format: int32
        value:
          type: number
          format: double
      additionalProperties: false
    CustomFormatResource:
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        includeCustomFormatWhenRenaming:
          type:
          - boolean
          - 'null'
        specifications:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFormatSpecificationSchema'
      additionalProperties: false
    SeriesTitleInfo:
      type: object
      properties:
        title:
          type:
          - string
          - 'null'
        titleWithoutYear:
          type:
          - string
          - 'null'
        year:
          type: integer
          format: int32
        allTitles:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    SeriesStatisticsResource:
      type: object
      properties:
        seasonCount:
          type: integer
          format: int32
        episodeFileCount:
          type: integer
          format: int32
        episodeCount:
          type: integer
          format: int32
        totalEpisodeCount:
          type: integer
          format: int32
        monitoredEpisodeCount:
          type: integer
          format: int32
        sizeOnDisk:
          type: integer
          format: int64
        releaseGroups:
          type:
          - array
          - 'null'
          items:
            type: string
        releaseTypes:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ReleaseType'
        episodeFileQualities:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Quality'
        percentOfEpisodes:
          type: number
          format: double
          readOnly: true
      additionalProperties: false
    AddSeriesOptions:
      type: object
      properties:
        ignoreEpisodesWithFiles:
          type: boolean
        ignoreEpisodesWithoutFiles:
          type: boolean
        monitor:
          $ref: '#/components/schemas/MonitorTypes'
        searchForMissingEpisodes:
          type: boolean
        searchForCutoffUnmetEpisodes:
          type: boolean
      additionalProperties: false
    MediaInfoSubtitleStreamResource:
      type: object
      properties:
        language:
          type:
          - string
          - 'null'
        format:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        forced:
          type:
          - boolean
          - 'null'
        hearingImpaired:
          type:
          - boolean
          - 'null'
      additionalProperties: false
    ParsedEpisodeInfo:
      type: object
      properties:
        releaseTitle:
          type:
          - string
          - 'null'
        seriesTitle:
          type:
          - string
          - 'null'
        seriesTitleInfo:
          $ref: '#/components/schemas/SeriesTitleInfo'
        quality:
          $ref: '#/components/schemas/QualityModel'
        seasonNumbers:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        episodeNumbers:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        absoluteEpisodeNumbers:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        specialAbsoluteEpisodeNumbers:
          type:
          - array
          - 'null'
          items:
            type: number
            format: double
        airDate:
          type:
          - string
          - 'null'
        languages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Language'
        fullSeason:
          type: boolean
        isPartialSeason:
          type: boolean
        isMultiSeason:
          type: boolean
          readOnly: true
        isSeasonExtra:
          type: boolean
        isSeasonTitle:
          type: boolean
        isSplitEpisode:
          type: boolean
        isMiniSeries:
          type: boolean
        special:
          type: boolean
        releaseGroup:
          type:
          - string
          - 'null'
        releaseHash:
          type:
          - string
          - 'null'
        seasonPart:
          type: integer
          format: int32
        releaseTokens:
          type:
          - string
          - 'null'
        dailyPart:
          type:
          - integer
          - 'null'
          format: int32
        isDaily:
          type: boolean
          readOnly: true
        isAbsoluteNumbering:
          type: boolean
          readOnly: true
        isPossibleSpecialEpisode:
          type: boolean
          readOnly: true
        isPossibleSceneSeasonSpecial:
          type: boolean
          readOnly: true
        releaseType:
          $ref: '#/components/schemas/ReleaseType'
      additionalProperties: false
    SelectOption:
      type: object
      properties:
        value:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        order:
          type: integer
          format: int32
        hint:
          type:
          - string
          - 'null'
      additionalProperties: false
    ReleaseType:
      enum:
      - unknown
      - singleEpisode
      - multiEpisode
      - seasonPack
      type: string
    Field:
      type: object
      properties:
        order:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        label:
          type:
          - string
          - 'null'
        unit:
          type:
          - string
          - 'null'
        helpText:
          type:
          - string
          - 'null'
        helpTextWarning:
          type:
          - string
          - 'null'
        helpLink:
          type:
          - string
          - 'null'
        value: {}
        type:
          type:
          - string
          - 'null'
        advanced:
          type: boolean
        selectOptions:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SelectOption'
        selectOptionsProviderAction:
          type:
          - string
          - 'null'
        section:
          type:
          - string
          - 'null'
        hidden:
          type:
          - string
          - 'null'
        privacy:
          $ref: '#/components/schemas/PrivacyLevel'
        placeholder:
          type:
          - string
          - 'null'
        isFloat:
          type: boolean
      additionalProperties: false
    SeriesStatusType:
      enum:
      - continuing
      - ended
      - upcoming
      - deleted
      type: string
    MediaCover:
      type: object
      properties:
        coverType:
          $ref: '#/components/schemas/MediaCoverTypes'
        url:
          type:
          - string
          - 'null'
        remoteUrl:
          type:
          - string
          - 'null'
      additionalProperties: false
    QualityModel:
      type: object
      properties:
        quality:
          $ref: '#/components/schemas/Quality'
        revision:
          $ref: '#/components/schemas/Revision'
      additionalProperties: false
    SeriesTypes:
      enum:
      - standard
      - daily
      - anime
      type: string
    Revision:
      type: object
      properties:
        version:
          type: integer
          format: int32
        real:
          type: integer
          format: int32
        isRepack:
          type: boolean
      additionalProperties: false
    EpisodeResource:
      type: object
      properties:
        id:
          type: integer
          format: int32
        seriesId:
          type: integer
          format: int32
        tvdbId:
          type: integer
          format: int32
        episodeFileId:
          type: integer
          format: int32
        seasonNumber:
          type: integer
          format: int32
        episodeNumber:
          type: integer
          format: int32
        title:
          type:
          - string
          - 'null'
        airDate:
          type:
          - string
          - 'null'
        airDateUtc:
          type:
          - string
          - 'null'
          format: date-time
        lastSearchTime:
          type:
          - string
          - 'null'
          format: date-time
        runtime:
          type: integer
          format: int32
        finaleType:
          type:
          - string
          - 'null'
        overview:
          type:
          - string
          - 'null'
        episodeFile:
          $ref: '#/components/schemas/EpisodeFileResource'
        hasFile:
          type: boolean
        monitored:
          type: boolean
        absoluteEpisodeNumber:
          type:
          - integer
          - 'null'
          format: int32
        sceneAbsoluteEpisodeNumber:
          type:
          - integer
          - 'null'
          format: int32
        sceneEpisodeNumber:
          type:
          - integer
          - 'null'
          format: int32
        sceneSeasonNumber:
          type:
          - integer
          - 'null'
          format: int32
        unverifiedSceneNumbering:
          type: boolean
        endTime:
          type:
          - string
          - 'null'
          format: date-time
        grabDate:
          type:
          - string
          - 'null'
          format: date-time
        series:
          $ref: '#/components/schemas/SeriesResource'
        images:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MediaCover'
      additionalProperties: false
    SeasonResource:
      type: object
      properties:
        seasonNumber:
          type: integer
          format: int32
        monitored:
          type: boolean
        title:
          type:
          - string
          - 'null'
        statistics:
          $ref: '#/components/schemas/SeasonStatisticsResource'
        images:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MediaCover'
      additionalProperties: false
    ParseResource:
      type: object
      properties:
        id:
          type: integer
          format: int32
        title:
          type:
          - string
          - 'null'
        parsedEpisodeInfo:
          $ref: '#/components/schemas/ParsedEpisodeInfo'
        series:
          $ref: '#/components/schemas/SeriesResource'
        episodes:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EpisodeResource'
        languages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Language'
        customFormats:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFormatResource'
        customFormatScore:
          type: integer
          format: int32
      additionalProperties: false
    EpisodeFileResource:
      type: object
      properties:
        id:
          type: integer
          format: int32
        seriesId:
          type: integer
          format: int32
        seasonNumber:
          type: integer
          format: int32
        relativePath:
          type:
          - string
          - 'null'
        path:
          type:
          - string
          - 'null'
        size:
          type: integer
          format: int64
        dateAdded:
          type: string
          format: date-time
        sceneName:
          type:
          - string
          - 'null'
        releaseGroup:
          type:
          - string
          - 'null'
        languages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Language'
        quality:
          $ref: '#/components/schemas/QualityModel'
        customFormats:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFormatResource'
        customFormatScore:
          type: integer
          format: int32
        indexerFlags:
          type:
          - integer
          - 'null'
          format: int32
        releaseType:
          $ref: '#/components/schemas/ReleaseType'
        mediaInfo:
          $ref: '#/components/schemas/MediaInfoResource'
        qualityCutoffNotMet:
          type: boolean
      additionalProperties: false
    SeasonTypeResource:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        type:
          type:
          - string
          - 'null'
        seasonNumbers:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        episodeCount:
          type: integer
          format: int32
      additionalProperties: false
    SeriesFolderResource:
      required:
      - folder
      - language
      type: object
      properties:
        language:
          $ref: '#/components/schemas/Language'
        folder:
          type:
          - string
          - 'null'
      additionalProperties: false
    QualitySource:
      enum:
      - unknown
      - television
      - televisionRaw
      - web
      - webRip
      - dvd
      - bluray
      - blurayRaw
      type: string
    MediaInfoResource:
      type: object
      properties:
        id:
          type: integer
          format: int32
        videoBitDepth:
          type: integer
          format: int32
        videoBitrate:
          type: integer
          format: int64
        videoCodec:
          type:
          - string
          - 'null'
        videoFps:
          type: number
          format: double
        videoDynamicRange:
          type:
          - string
          - 'null'
        videoDynamicRangeType:
          type:
          - string
          - 'null'
        resolution:
          type:
          - string
          - 'null'
        runTime:
          type:
          - string
          - 'null'
        scanType:
          type:
          - string
          - 'null'
        audioStreams:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MediaInfoAudioStreamResource'
        subtitleStreams:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MediaInfoSubtitleStreamResource'
      additionalProperties: false
    CustomFormatSpecificationSchema:
      required:
      - fields
      - implementation
      - implementationName
      - infoLink
      - name
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        implementation:
          type:
          - string
          - 'null'
        implementationName:
          type:
          - string
          - 'null'
        infoLink:
          type:
          - string
          - 'null'
        negate:
          type: boolean
        required:
          type: boolean
        fields:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Field'
        presets:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFormatSpecificationSchema'
      additionalProperties: false
    MediaInfoAudioStreamResource:
      type: object
      properties:
        language:
          type:
          - string
          - 'null'
        codec:
          type:
          - string
          - 'null'
        profile:
          type:
          - string
          - 'null'
        bitrate:
          type: integer
          format: int64
        channels:
          type: number
          format: double
        channelPositions:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
      additionalProperties: false
  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