Flickr

Get Flickr photo contexts

Get the albums and groups that hold a Flickr photo.

GET/v1/flickr/photos/{photoId}/contexts
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
photoIdstringrequiredpath

Photo id, e.g. `2362225867`.

pattern: ^[0-9]{1,20}$

Response fields
56

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

dataphotoId
string

Photo the contexts belong to.

The photostreams the photo appears in, as the people who own them.

datastreams[]id
stringnullable

NSID.

datastreams[]alias
stringnullable

Path alias used in URLs.

datastreams[]name
stringnullable

Display name, with bidi controls removed.

datastreams[]realName
stringnullable

Real name the person chose to show.

datastreams[]location
stringnullable

Location the person chose to show.

datastreams[]isPro
booleannullable

Whether the account is Pro.

datastreams[]proTier
stringnullable

Pro badge, `standard` or `legacy`.

datastreams[]createdAt
stringnullable

Account creation time, ISO 8601 UTC.

The person's avatar at three sizes.

datastreams[]avatarsmall
stringnullable

Square avatar URL, 100 pixels.

datastreams[]avatarmedium
stringnullable

Avatar URL, 240 pixels.

datastreams[]avatarlarge
stringnullable

Avatar URL, 500 pixels.

datastreams[]profileUrl
stringnullable

Profile page URL.

datastreams[]photosUrl
stringnullable

Photostream URL.

Albums the photo is in.

dataalbums[]id
string

Album id.

dataalbums[]title
stringnullable

Album title.

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.

dataalbums[]photoCount
integernullable

Photos.

dataalbums[]videoCount
integernullable

Videos.

dataalbums[]views
integernullable

Views.

dataalbums[]primaryPhotoId
stringnullable

Primary photo id.

Groups the photo is in.

datagroups[]id
stringnullable

Group NSID.

datagroups[]alias
stringnullable

Path alias used in the group URL.

datagroups[]name
stringnullable

Group name as plain text.

datagroups[]memberCount
integernullable

Members.

datagroups[]poolCount
integernullable

Photos in the group pool.

datagroups[]iconUrl
stringnullable

Group icon URL.

Cover photo URLs.

datagroups[]coverPhotoh
stringnullable

Cover, 1600 pixels.

datagroups[]coverPhotol
stringnullable

Cover, 1024 pixels.

datagroups[]coverPhotos
stringnullable

Cover, 240 pixels.

datagroups[]coverPhotot
stringnullable

Cover, 100 pixels.

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/photos/2362225867/contexts" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Flickr contexts.