APIs / Flickr / Search

Flickr: Search

Search from Flickr as JSON. 1 credit per successful call.

GET /v1/flickr/searchNeeds terms

Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
textstringRequiredUp to 255 characters
pageintegerOptionalAny
per_pageintegerOptionalAny
sortstringOptionalrelevance, date-posted-desc, interestingness-desc
tagsstringOptionalUp to 255 characters
user_idstringOptionalUp to 64 characters
group_idstringOptionalUp to 64 characters
licensestringOptionalUp to 2 characters
safe_searchintegerOptional1, 2, 3
content_typeintegerOptional1, 2, 3, 7

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/flickr/search?text=mountain+sunrise&per_page=3" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.