InsightSocial API
Flickr

Flickr Photos Search API reference

Your first 10 calls are free, no card needed. Pricing and FAQ

Get a free API key
Example request
curl "https://api.insightsocial.app/v1/flickr/photos/search" \
  -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
GET
/v1/flickr/photos/search

Search Flickr photos by text, tags, dates, licence, media, user or place.

Beta. The source's own structure under our naming rules (snake_case keys, string ids, ISO times where the source gives a timestamp), not one of the schema-2 entities. Fields may change. See Beta endpoints.

20 credits per call.

Paginates by cursor: see Pagination.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

limit?integer

Rows per page, 1 to 100. Default: 100.

Range1 <= value <= 100
query?string

Free text to match photo titles, descriptions or tags.

tags?string

Space- or comma-separated tags.

tag_mode?string

Whether every tag or any tag must match. Default: all.

Value in

  • "all"
  • "any"
sort?string

Order. Default: relevance. For a taken window use date-taken-asc or date-taken-desc: pages end as soon as the window is passed. Newest-first sorts can repeat a row; uploaded_from/uploaded_to give a stable walk.

Value in

  • "relevance"
  • "date-posted-desc"
  • "date-taken-asc"
  • "date-taken-desc"
  • "interestingness-desc"
license?string

Licence ids, comma-separated. 0 all rights reserved; 1 to 6 and 11 to 16 Creative Commons; 7 no known copyright; 8 US government work; 9 and 10 public domain.

media?string

Restrict results to photos or videos.

Value in

  • "photos"
  • "videos"
uploaded_from?string

Earliest upload time, ISO 8601 or a date. A date-only value means 00:00 UTC on that day.

uploaded_to?string

Latest upload time, ISO 8601 or a date. A date-only value means 00:00 UTC on that day; to include the whole day, pass a full time such as 2024-01-31T23:59:59Z.

taken_from?string

Earliest taken time as in dates.takenAt, ISO 8601 or a date (00:00). A time zone or offset is ignored. Before taken_to. Pages can hold fewer rows than limit; sort by taken date to end paging at the window.

taken_to?string

Latest taken time as in dates.takenAt, ISO 8601 or a date (00:00; use 2024-01-31T23:59:59 for a whole day). A time zone or offset is ignored. Pages can hold fewer rows than limit.

user_id?string

Only this user photos.

latitude?number

Latitude for a geo search.

Range-90 <= value <= 90
longitude?number

Longitude for a geo search.

Range-180 <= value <= 180
radius?number

Radius in kilometres for a geo search.

Range0 <= value <= 32
has_geo?boolean

Only geotagged photos.

cursor?string

Pass pagination.next_cursor from the previous response to get the next page. Keep the other parameters the same.

dry_run?"1"

Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.

Value in

  • "1"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.insightsocial.app/v1/flickr/photos/search"
{  "success": true,  "platform": "string",  "endpoint": "string",  "schema_version": "2",  "pagination": {    "next_cursor": "string",    "has_more": true,    "page_size": 0,    "stopped_at": "since"  },  "unavailable": [    "string"  ],  "credits_used": 0,  "credits_remaining": 0,  "request_id": "string",  "cached": true,  "idempotent_replay": true,  "charge_reason": "string",  "free_call": true,  "data": {    "property1": null,    "property2": null  }}