Flickr Albums API
A user’s albums with photo counts, covers and sort order, page by page.
GET /v1/flickr/users/{userId}/albums1 credit Failed requests are free
About this endpoint
GET /v1/flickr/users/{userId}/albums returns data.user and a page of data.albums. Each album carries id, url, title, description, owner, counts (photos, videos, publicPhotos, views and comments), sortType, primaryPhotoId, primaryPhotoUrl, createdAt and updatedAt.
sortType tells you how the owner arranged the album, for example manual-add-to-end. Use the album id with GET /v1/flickr/albums/{albumId} to read the photos inside. Paging uses limit, page and page.nextCursor, with at most 100 albums a page.
Flickr Albums API FAQ
How do I list the photos in one album?
Take the album id from this response and call GET /v1/flickr/albums/{albumId} with your user id. This route lists albums, not their photos.
What is primaryPhotoUrl?
A 150 pixel cover image URL when the album record carries the photo secret. It can be null for an album without an available cover.
How much does an album page cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.
Are create and update dates always present?
Not always. The album list carries them when the record shows them; the single album route can return null dates because its primary request does not include them.
Other Flickr endpoints
- PhotoGET /v1/flickr/photos/{photoId}
- CommentsGET /v1/flickr/photos/{photoId}/comments
- EXIFGET /v1/flickr/photos/{photoId}/exif
- Favourited byGET /v1/flickr/photos/{photoId}/favorites
- ContextsGET /v1/flickr/photos/{photoId}/contexts
- UserGET /v1/flickr/users/{userId}
- PhotostreamGET /v1/flickr/users/{userId}/photos
- GalleriesGET /v1/flickr/users/{userId}/galleries