Flickr hub

Flickr Photo Contexts API

Where a photo appears: the albums, groups and photostreams that hold it.

GET /v1/flickr/photos/{photoId}/contexts

1 credit Failed requests are free

About this endpoint

GET /v1/flickr/photos/{photoId}/contexts returns data.photoId, data.streams, data.albums and data.groups. streams lists the photostream owners, each with the usual person summary. Each album carries id, title, owner, photoCount, videoCount, views and primaryPhotoId. Each group carries id, alias, name, memberCount, poolCount, iconUrl and coverPhoto.

Use it to find the other places a photo is collected without reading every album. An unknown photo returns lookupStatus: not_found and empty arrays.

Flickr Photo Contexts API FAQ

Why are groups sometimes empty?

A photo that is not in a public group pool returns an empty list. Groups that are private or member-only are not listed.

What do streams contain?

The photostream owners that hold the photo, as person summaries with id, alias, name and avatar.

How much does a contexts lookup 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.

Does it include private albums?

Only contexts the public record exposes. A missing or private context is not listed.