---
title: "Flickr API: Search | Perceptlayer"
description: "Search from Flickr as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/flickr/search
---

[APIs](https://perceptlayer.com/apis) / [Flickr](https://perceptlayer.com/apis/flickr) / Search

# Flickr: Search

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

GET `/v1/flickr/search` Needs terms

Note 

This endpoint needs the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints), 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 shell 

```
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](https://perceptlayer.com/apis/flickr?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.
