/albums List albums
Filter albums and return them a page at a time. Pending albums are left out of the list by default.
Query parameters
pageinteger- Page number, starting at 1.Default 1
per_pageinteger- Items per page. Out of range returns 422.Default 401–100
typestring- Album type.Values in album_type
categorystring- Album category, such as
doujinorgame.Values in album_category formatstring- Disc format, such as
cdorvinyl.Values in disc_format artist_idinteger- Only list albums this artist worked on, in any role.
release_event_idinteger- Only list albums first released at this event.
yearinteger- Release year.1900–2100
attributes[key]string- Filter by attribute, up to 5, for example
attributes[cover_character]=射命丸文. Write attributes that point to an entry or other content asentry:12. Only text, URL, choice and reference attributes can be filtered. include_pendingboolean- Also list pending content (live, waiting for review).Default false
sortstringnewby release date, newest first;addedby when the album entered the database, newest first;trendingby popularity over the last 30 days;top_ratedby rating ranking (updated once a day).Default newnewaddedtrendingtop_ratedsearchstring- Search titles, other names, catalog numbers, barcodes and credited names. At least 2 characters without spaces, or 1 if it has kanji or kana; at most 3 words. Without
sort, results are sorted by relevance.≤ 100
Response data
albumsAlbumSimple[]- The albums on this page.
paginationPagination- Pagination info, see Pagination.
Status codes
- 422
VALIDATION_FAILEDInvalid parameters;detailslists the reasons by parameter name.
AlbumSimple has no titles and can only show the original name. To show translated names in the reader’s language, request the album detail.
Example
https://api.cdcat.net/v1/albums?category=doujin&per_page=2