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.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
text | string | Required | Up to 255 characters |
page | integer | Optional | Any |
per_page | integer | Optional | Any |
sort | string | Optional | relevance, date-posted-desc, interestingness-desc |
tags | string | Optional | Up to 255 characters |
user_id | string | Optional | Up to 64 characters |
group_id | string | Optional | Up to 64 characters |
license | string | Optional | Up to 2 characters |
safe_search | integer | Optional | 1, 2, 3 |
content_type | integer | Optional | 1, 2, 3, 7 |
Example request
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.