Flickr

List Flickr user albums

List a Flickr user's albums with counts and cover photos.

GET/v1/flickr/users/{userId}/albums
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
4
userIdstringrequiredpath

NSID (`12037949754@N01`) or path alias (`bees`).

min 1 chars · max 80 chars · pattern: ^(?:[0-9]{1,20}@N[0-9]{2}|[A-Za-z0-9][A-Za-z0-9._-]{0,79})$

cursorstringoptionalquery

Cursor from `page.nextCursor` of the previous response. It only works with the same filters. Send it without `page`; it keeps the page size it was issued with, so `limit` may be sent again and has no effect.

min 1 chars · max 2048 chars

pageintegeroptionalquery

Page number, 1-based. Default: 1. A page past the last returns an empty list with `hasMore: false`. Prefer `cursor` when continuing.

≥ 1 · ≤ 1000000

limitintegeroptionalquery

Rows per page, 1 to 100. Default: 100.

≥ 1 · ≤ 100

Response fields
60

Endpoint-specific response payload.

datalookupStatus
string

`found` when the entity exists; `not_found` when it does not exist or was deleted; `hidden` when the owner hides the data (EXIF); `private` when the group or pool is member-only; `restricted` when the group is age-restricted.

one of: found, not_found, hidden, private, restricted

A person as shown beside a photo or in a list.

datauserid
stringnullable

NSID.

datauseralias
stringnullable

Path alias used in URLs.

datausername
stringnullable

Display name, with bidi controls removed.

datauserrealName
stringnullable

Real name the person chose to show.

datauserlocation
stringnullable

Location the person chose to show.

datauserisPro
booleannullable

Whether the account is Pro.

datauserproTier
stringnullable

Pro badge, `standard` or `legacy`.

datausercreatedAt
stringnullable

Account creation time, ISO 8601 UTC.

The person's avatar at three sizes.

datauseravatarsmall
stringnullable

Square avatar URL, 100 pixels.

datauseravatarmedium
stringnullable

Avatar URL, 240 pixels.

datauseravatarlarge
stringnullable

Avatar URL, 500 pixels.

datauserprofileUrl
stringnullable

Profile page URL.

datauserphotosUrl
stringnullable

Photostream URL.

Albums on this page.

dataalbums[]id
string

Album id.

dataalbums[]url
stringnullable

Album page URL.

dataalbums[]title
stringnullable

Title.

dataalbums[]description
stringnullable

Description as HTML.

A person as shown beside a photo or in a list.

dataalbums[]ownerid
stringnullable

NSID.

dataalbums[]owneralias
stringnullable

Path alias used in URLs.

dataalbums[]ownername
stringnullable

Display name, with bidi controls removed.

dataalbums[]ownerrealName
stringnullable

Real name the person chose to show.

dataalbums[]ownerlocation
stringnullable

Location the person chose to show.

dataalbums[]ownerisPro
booleannullable

Whether the account is Pro.

dataalbums[]ownerproTier
stringnullable

Pro badge, `standard` or `legacy`.

dataalbums[]ownercreatedAt
stringnullable

Account creation time, ISO 8601 UTC.

The person's avatar at three sizes.

dataalbums[]owneravatarsmall
stringnullable

Square avatar URL, 100 pixels.

dataalbums[]owneravatarmedium
stringnullable

Avatar URL, 240 pixels.

dataalbums[]owneravatarlarge
stringnullable

Avatar URL, 500 pixels.

dataalbums[]ownerprofileUrl
stringnullable

Profile page URL.

dataalbums[]ownerphotosUrl
stringnullable

Photostream URL.

Album counts.

dataalbums[]countsphotos
integernullable

Photos.

dataalbums[]countsvideos
integernullable

Videos.

dataalbums[]countspublicPhotos
integernullable

Public photos.

dataalbums[]countsviews
integernullable

Views.

dataalbums[]countscomments
integernullable

Comments.

dataalbums[]sortType
stringnullable

How the owner sorts it, e.g. `manual-add-to-end`.

dataalbums[]primaryPhotoId
stringnullable

Primary photo id.

dataalbums[]primaryPhotoUrl
stringnullable

Primary photo URL, 150 pixels, when the record carries its secret.

dataalbums[]createdAt
stringnullable

Creation time, ISO 8601 UTC.

dataalbums[]updatedAt
stringnullable

Last change, ISO 8601 UTC.

Pagination state for the current page.

datapagepage
integer

Current page number.

≥ 0

datapagehasMore
boolean

Whether another page is available.

datapagenextPage
integernullable

Next page number; null on the last page.

≥ 0

datapagenextCursor
stringnullable

Cursor for the next page; null on the last page.

datapagetotalItems
integernullable

Total rows in the whole list; null when no usable total is available, including a page past the end and a photo search with a taken time bound. It can change between calls.

datapagereachableItems
integernullable

Rows this endpoint can reach. Smaller than `totalItems` where this endpoint stops early. Null when `totalItems` is null.

datapagelimit
integer

Rows requested for this page.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/flickr/users/bees/albums" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Flickr albums.