List albums
Your albums with title, photo count and cover photo.
GET https://cotlet.dev/api/v1/flickr/albums
read
Returns every album on your account, newest first, with its title, number of photos and cover photo. Use album_id from each item in the other endpoints. Photo count is the number Flickr shows on the album.
Parameters
| Name | Type | Description |
|---|---|---|
| limit integer | integer | 1 to 100. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/flickr/albums \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("flickr", "list_albums") const result = await cotlet.call('flickr', 'list_albums'); cotlet call flickr list_albums Example response
{
"albums": [
{
"album_id": "72177720330012345",
"title": "Lisbon 2026",
"photos": 41,
"cover_photo_id": "53917620011",
"url": "https://www.flickr.com/photos/yourname/albums/72177720330012345"
},
{
"album_id": "72177720330099880",
"title": "Sunday market",
"photos": 12,
"cover_photo_id": "53917620040",
"url": "https://www.flickr.com/photos/yourname/albums/72177720330099880"
}
],
"next_cursor": null
}