Flickr API
by flickr.com
Image and photo
Added on February 6th, 2011
Checked and working on November 8th, 2026
Visit flickr.com →
What it does
The Flickr API gives access to public Flickr data such as photos, videos, tags, profiles, groups, galleries and places, and lets users upload and manage their own photos through your app. Search photos by text, tags, location or licence, for example to find Creative Commons photos. Responses are JSON or XML (REST), and SOAP and XML-RPC are also supported. Free for non-commercial use with a free API key; commercial use needs permission.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free for non-commercial use with a free API key; commercial use needs permission.
- Commercial use
- Not on the free plan
- From the browser
- Yes (CORS)
- Formats
- JSON, XML
- Interface
- REST, HTTP-GET, SOAP, XML-RPC
- Provider
- flickr.com
- Last checked
- Working on November 8th, 2026
More information: https://www.flickr.com/services/api/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://www.flickr.com/services/rest/?method=flickr.photos.search&api_key=YOUR_API_KEY&text=london&format=json&nojsoncallback=1'
JavaScript
const response = await fetch("https://www.flickr.com/services/rest/?method=flickr.photos.search&api_key=YOUR_API_KEY&text=london&format=json&nojsoncallback=1");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://www.flickr.com/services/rest/?method=flickr.photos.search&api_key=YOUR_API_KEY&text=london&format=json&nojsoncallback=1",
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.