Get Arr instance library
const url = 'https://example.com/api/v1/arr/library?instanceId=1&page=1&pageSize=100&sortDirection=asc';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/arr/library?instanceId=1&page=1&pageSize=100&sortDirection=asc'Fetches the full library from an Arr instance with quality profile, score, and progress information.
- For Radarr: Returns movies with file quality, custom format scores, and cutoff progress
- For Sonarr: Returns series with season summaries and episode statistics
- For Lidarr: Returns artists/albums (capability-gated; detailed payload fields deferred to later phases)
Results include Praxrr profile matching to indicate which items use managed profiles. Responses are cached server-side for 5 minutes. Supports server-side filtering, sorting, and pagination.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Arr instance ID
Pagination page number (1-based)
Maximum number of items per page. Values above 250 are capped at 250.
Optional sort field. Must be valid for the target Arr type (radarr, sonarr, or lidarr) or request will be rejected.
Sort order for the sortKey field.
Optional case-insensitive text filter applied before sorting and pagination.
Responses
Section titled “Responses”Library items with quality and score data
object
object
Radarr movie ID
TMDB ID
Movie title
Release year
Assigned quality profile ID
Assigned quality profile name
Whether the movie has a downloaded file
When the movie was added
TMDB popularity score
Quality of the downloaded file (null if no file)
File name of the downloaded file (null if no file)
Custom formats matched on the file
object
Custom format ID
Custom format name
Total custom format score
Per-custom-format score breakdown
object
Custom format name
Score assigned by the quality profile
Profile cutoff score threshold
Profile minimum score threshold
Score progress toward cutoff (0-1+)
Whether the cutoff score has been met
Whether the profile is managed by Praxrr
object
Praxrr database ID
Praxrr database name
Quality profile names in this database
Current page number
Current items per page
Total number of records after search/filtering before pagination
Total page count derived from totalRecords and pageSize
Indicates whether additional pages are available
object
object
Sonarr series ID
TVDB ID
Series title
First air year
Assigned quality profile ID
Assigned quality profile name
Series status (continuing, ended, etc.)
Whether the series is monitored
Number of seasons
Number of aired episodes
Number of episodes with files
Total episodes including unaired
Total size of all episode files in bytes
Percentage of episodes with files (0-100)
When the series was added
Season-level statistics
object
Season number (0 = specials)
Whether this season is monitored
Number of aired episodes
Number of episodes with files
Total episodes including unaired
Total size of episode files in bytes
Percentage of episodes with files (0-100)
Whether the profile is managed by Praxrr
object
Praxrr database ID
Praxrr database name
Quality profile names in this database
Current page number
Current items per page
Total number of records after search/filtering before pagination
Total page count derived from totalRecords and pageSize
Indicates whether additional pages are available
object
Placeholder contract for Lidarr library payload items. Lidarr-specific artist/album fields remain capability-gated for later phases.
object
object
Praxrr database ID
Praxrr database name
Quality profile names in this database
Current page number
Current items per page
Total number of records after search/filtering before pagination
Total page count derived from totalRecords and pageSize
Indicates whether additional pages are available
Example
{ "type": "radarr"}Invalid instanceId, page, or sort/query parameters
object
Error message
Examplegenerated
{ "error": "example"}Instance not found
object
Error message
Examplegenerated
{ "error": "example"}Failed to fetch library
object
Error message
Examplegenerated
{ "error": "example"}