Flickr
Flickr
Flickr photo search
GET /flickr/v1/searchFlickr photos matching text or tags, 25 a page: id, link, title, description, license, owner, faves, comments, likes and every image size with its URL and dimensions. Filter by license, media type, taken or upload dates, orientation, dominant colour, style, minimum size, content type (photos, screenshots, art), safe-search level, a place (lat/lon with radius), Flickr Commons and photos in galleries (the filters applied are echoed in applied_filters); sort by relevance, date or interestingness. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
q | string | Search text (q or tags is required). Example: sunset |
tags | string | Comma-separated tags to match. |
license | string | Comma-separated Flickr license ids: 0 All Rights Reserved, 1 CC BY-NC-SA 2.0, 2 CC BY-NC 2.0, 3 CC BY-NC-ND 2.0, 4 CC BY 2.0, 5 CC BY-SA 2.0, 6 CC BY-ND 2.0, 7 No known copyright restrictions, 8 US Government Work, 9 CC0, 10 Public Domain Mark, 11-16 the CC 4.0 licenses (BY, BY-SA, BY-ND, BY-NC, BY-NC-SA, BY-NC-ND). Example: 4,5,9,10 |
sort | relevance | date-posted-desc | date-posted-asc | date-taken-desc | date-taken-asc | interestingness-desc | Sort order. Example: relevance |
media | all | photos | videos | all (default), photos or videos. Example: all |
min_taken_date | string | Taken on or after (YYYY-MM-DD). |
max_taken_date | string | Taken on or before (YYYY-MM-DD). |
min_upload_date | string | Uploaded on or after (YYYY-MM-DD). |
max_upload_date | string | Uploaded on or before (YYYY-MM-DD). |
orientation | string | Comma-separated: landscape, portrait, square, panorama. |
color | string | Dominant colour(s), comma-separated: red, dark_orange, orange, yellow, school_bus_yellow, green, lime, cyan, blue, violet, pink, pale_pink, white, gray, black. |
style | string | Comma-separated: blackandwhite, depthoffield, minimalism, pattern. |
min_width | integer | Minimum width in pixels. |
min_height | integer | Minimum height in pixels. |
content_type | string | Comma-separated: photos, screenshots, art, virtual. |
safe_search | safe | moderate | restricted | safe, moderate or restricted. |
lat | number | Latitude of a place to search around (with `lon`). |
lon | number | Longitude of a place to search around (with `lat`). |
radius_km | number | Radius around lat/lon in km (default 5, max 32). |
is_commons | boolean | Only photos from The Commons (public-domain archives). |
in_gallery | boolean | Only photos that appear in a gallery. |
page | integer | Page number, starting at 1. Example: 1 |
Every endpoint also takes: raw、fields、fresh、output、records
No sample yet
This endpoint has no published sample. Use “Test this endpoint” to run it in the console playground.