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

Parameters: list_albums
NameTypeDescription
limit integer integer 1 to 100. Default: 50.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/flickr/albums \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("flickr", "list_albums")
Node.js
const result = await cotlet.call('flickr', 'list_albums');
CLI
cotlet call flickr list_albums

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.