Flickr Scraper avatar

Flickr Scraper

Try for free

Pay $1.00 for 1,000 results

Go to Store
Flickr Scraper

Flickr Scraper

web.harvester/flickr-scraper
Try for free

Pay $1.00 for 1,000 results

This actor scrapes photos and videos from the https://www.flickr.com website.

You can access the Flickr Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "7gOyad7If1DaSJkbu"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/web.harvester~flickr-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-web.harvester-flickr-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/web.harvester~flickr-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-web.harvester-flickr-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/web.harvester~flickr-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-web.harvester-flickr-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "searchUrls": {
135            "title": "Search URLs",
136            "type": "array",
137            "description": "This is not affected by the other search options (except the desiredMediaCount).<br><br>Valid url example: https://www.flickr.com/search/?text=cat&[otherParam=otherValue]",
138            "default": [],
139            "items": {
140              "type": "object",
141              "required": [
142                "url"
143              ],
144              "properties": {
145                "url": {
146                  "type": "string",
147                  "title": "URL of a web page",
148                  "format": "uri"
149                }
150              }
151            }
152          },
153          "searchQueries": {
154            "title": "Search queries",
155            "type": "array",
156            "description": "",
157            "default": [],
158            "items": {
159              "type": "string"
160            }
161          },
162          "desiredMediaCount": {
163            "title": "Desired media count (per query)",
164            "minimum": 1,
165            "maximum": 4000,
166            "type": "integer",
167            "description": "Desired media count per query max 4000 due to limitations of flickr, can be overcome by using date ranges (minDate and maxDate)",
168            "default": 100
169          },
170          "sortType": {
171            "title": "Sort type",
172            "enum": [
173              "RELEVANCE",
174              "DATE_UPLOADED",
175              "DATE_TAKEN",
176              "INTERESTING"
177            ],
178            "type": "string",
179            "description": "",
180            "default": "RELEVANCE"
181          },
182          "licenseType": {
183            "title": "License type",
184            "enum": [
185              "ALL",
186              "ALL_CREATIVE_COMMONS",
187              "COMMERCIAL_USE_ALLOWED",
188              "MODIFICATION_ALLOWED",
189              "COMMERCIAL_USE_AND_MODIFICATION_ALLOWED",
190              "NO_KNOWN_COPYRIGHT_RESTRICTIONS",
191              "UNITED_STATES_GOVERNMENT_WORK"
192            ],
193            "type": "string",
194            "description": "",
195            "default": "ALL"
196          },
197          "mediaMinSize": {
198            "title": "Minimum media size",
199            "enum": [
200              "SMALL",
201              "MEDIUM",
202              "LARGE"
203            ],
204            "type": "string",
205            "description": "",
206            "default": "SMALL"
207          },
208          "includePhotos": {
209            "title": "Include photos",
210            "type": "boolean",
211            "description": "",
212            "default": true
213          },
214          "includeScreenshots": {
215            "title": "Include screenshots",
216            "type": "boolean",
217            "description": "",
218            "default": true
219          },
220          "includeIllustrations": {
221            "title": "Include illustrations/art",
222            "type": "boolean",
223            "description": "",
224            "default": true
225          },
226          "includeVirtualPhotography": {
227            "title": "Include virtual photography",
228            "type": "boolean",
229            "description": "",
230            "default": true
231          },
232          "includeVideos": {
233            "title": "Include videos",
234            "type": "boolean",
235            "description": "",
236            "default": false
237          },
238          "landscape": {
239            "title": "Landscape orientation",
240            "type": "boolean",
241            "description": "",
242            "default": true
243          },
244          "portrait": {
245            "title": "Portrait orientation",
246            "type": "boolean",
247            "description": "",
248            "default": true
249          },
250          "square": {
251            "title": "Square orientation",
252            "type": "boolean",
253            "description": "",
254            "default": true
255          },
256          "panorama": {
257            "title": "Panorama orientation",
258            "type": "boolean",
259            "description": "",
260            "default": true
261          },
262          "shallowDepthOfField": {
263            "title": "Shallow depth of field",
264            "type": "boolean",
265            "description": "",
266            "default": false
267          },
268          "minimalism": {
269            "title": "Minimalism",
270            "type": "boolean",
271            "description": "",
272            "default": false
273          },
274          "blackAndWhite": {
275            "title": "Black and white",
276            "type": "boolean",
277            "description": "",
278            "default": false
279          },
280          "pattern": {
281            "title": "Pattern",
282            "type": "boolean",
283            "description": "",
284            "default": false
285          },
286          "dateSearchType": {
287            "title": "Date search type",
288            "enum": [
289              "DATE_TAKEN",
290              "DATE_UPLOADED"
291            ],
292            "type": "string",
293            "description": "",
294            "default": "DATE_TAKEN"
295          },
296          "minDate": {
297            "title": "Min date",
298            "pattern": "(\\d{4}-\\d{2}-\\d{2}|(\\d+)\\s?\\S+)",
299            "type": "string",
300            "description": ""
301          },
302          "maxDate": {
303            "title": "Max date",
304            "pattern": "(\\d{4}-\\d{2}-\\d{2}|(\\d+)\\s?\\S+)",
305            "type": "string",
306            "description": ""
307          },
308          "red": {
309            "title": "Red",
310            "type": "boolean",
311            "description": "",
312            "default": false
313          },
314          "darkOrange": {
315            "title": "Dark orange",
316            "type": "boolean",
317            "description": "",
318            "default": false
319          },
320          "orange": {
321            "title": "Orange",
322            "type": "boolean",
323            "description": "",
324            "default": false
325          },
326          "palePink": {
327            "title": "Pale pink",
328            "type": "boolean",
329            "description": "",
330            "default": false
331          },
332          "lemonYellow": {
333            "title": "Lemon yellow",
334            "type": "boolean",
335            "description": "",
336            "default": false
337          },
338          "schoolBusYellow": {
339            "title": "School bus yellow",
340            "type": "boolean",
341            "description": "",
342            "default": false
343          },
344          "green": {
345            "title": "Green",
346            "type": "boolean",
347            "description": "",
348            "default": false
349          },
350          "darkLimeGreen": {
351            "title": "Dark lime green",
352            "type": "boolean",
353            "description": "",
354            "default": false
355          },
356          "cyan": {
357            "title": "Cyan",
358            "type": "boolean",
359            "description": "",
360            "default": false
361          },
362          "blue": {
363            "title": "Blue",
364            "type": "boolean",
365            "description": "",
366            "default": false
367          },
368          "violet": {
369            "title": "Violet",
370            "type": "boolean",
371            "description": "",
372            "default": false
373          },
374          "pink": {
375            "title": "Pink",
376            "type": "boolean",
377            "description": "",
378            "default": false
379          },
380          "white": {
381            "title": "White",
382            "type": "boolean",
383            "description": "",
384            "default": false
385          },
386          "gray": {
387            "title": "Gray",
388            "type": "boolean",
389            "description": "",
390            "default": false
391          },
392          "black": {
393            "title": "Black",
394            "type": "boolean",
395            "description": "",
396            "default": false
397          },
398          "proxyConfiguration": {
399            "title": "Proxy configuration",
400            "type": "object",
401            "description": "This is required if you want to use Apify Proxy.",
402            "default": {
403              "useApifyProxy": true
404            }
405          }
406        }
407      },
408      "runsResponseSchema": {
409        "type": "object",
410        "properties": {
411          "data": {
412            "type": "object",
413            "properties": {
414              "id": {
415                "type": "string"
416              },
417              "actId": {
418                "type": "string"
419              },
420              "userId": {
421                "type": "string"
422              },
423              "startedAt": {
424                "type": "string",
425                "format": "date-time",
426                "example": "2025-01-08T00:00:00.000Z"
427              },
428              "finishedAt": {
429                "type": "string",
430                "format": "date-time",
431                "example": "2025-01-08T00:00:00.000Z"
432              },
433              "status": {
434                "type": "string",
435                "example": "READY"
436              },
437              "meta": {
438                "type": "object",
439                "properties": {
440                  "origin": {
441                    "type": "string",
442                    "example": "API"
443                  },
444                  "userAgent": {
445                    "type": "string"
446                  }
447                }
448              },
449              "stats": {
450                "type": "object",
451                "properties": {
452                  "inputBodyLen": {
453                    "type": "integer",
454                    "example": 2000
455                  },
456                  "rebootCount": {
457                    "type": "integer",
458                    "example": 0
459                  },
460                  "restartCount": {
461                    "type": "integer",
462                    "example": 0
463                  },
464                  "resurrectCount": {
465                    "type": "integer",
466                    "example": 0
467                  },
468                  "computeUnits": {
469                    "type": "integer",
470                    "example": 0
471                  }
472                }
473              },
474              "options": {
475                "type": "object",
476                "properties": {
477                  "build": {
478                    "type": "string",
479                    "example": "latest"
480                  },
481                  "timeoutSecs": {
482                    "type": "integer",
483                    "example": 300
484                  },
485                  "memoryMbytes": {
486                    "type": "integer",
487                    "example": 1024
488                  },
489                  "diskMbytes": {
490                    "type": "integer",
491                    "example": 2048
492                  }
493                }
494              },
495              "buildId": {
496                "type": "string"
497              },
498              "defaultKeyValueStoreId": {
499                "type": "string"
500              },
501              "defaultDatasetId": {
502                "type": "string"
503              },
504              "defaultRequestQueueId": {
505                "type": "string"
506              },
507              "buildNumber": {
508                "type": "string",
509                "example": "1.0.0"
510              },
511              "containerUrl": {
512                "type": "string"
513              },
514              "usage": {
515                "type": "object",
516                "properties": {
517                  "ACTOR_COMPUTE_UNITS": {
518                    "type": "integer",
519                    "example": 0
520                  },
521                  "DATASET_READS": {
522                    "type": "integer",
523                    "example": 0
524                  },
525                  "DATASET_WRITES": {
526                    "type": "integer",
527                    "example": 0
528                  },
529                  "KEY_VALUE_STORE_READS": {
530                    "type": "integer",
531                    "example": 0
532                  },
533                  "KEY_VALUE_STORE_WRITES": {
534                    "type": "integer",
535                    "example": 1
536                  },
537                  "KEY_VALUE_STORE_LISTS": {
538                    "type": "integer",
539                    "example": 0
540                  },
541                  "REQUEST_QUEUE_READS": {
542                    "type": "integer",
543                    "example": 0
544                  },
545                  "REQUEST_QUEUE_WRITES": {
546                    "type": "integer",
547                    "example": 0
548                  },
549                  "DATA_TRANSFER_INTERNAL_GBYTES": {
550                    "type": "integer",
551                    "example": 0
552                  },
553                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
554                    "type": "integer",
555                    "example": 0
556                  },
557                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
558                    "type": "integer",
559                    "example": 0
560                  },
561                  "PROXY_SERPS": {
562                    "type": "integer",
563                    "example": 0
564                  }
565                }
566              },
567              "usageTotalUsd": {
568                "type": "number",
569                "example": 0.00005
570              },
571              "usageUsd": {
572                "type": "object",
573                "properties": {
574                  "ACTOR_COMPUTE_UNITS": {
575                    "type": "integer",
576                    "example": 0
577                  },
578                  "DATASET_READS": {
579                    "type": "integer",
580                    "example": 0
581                  },
582                  "DATASET_WRITES": {
583                    "type": "integer",
584                    "example": 0
585                  },
586                  "KEY_VALUE_STORE_READS": {
587                    "type": "integer",
588                    "example": 0
589                  },
590                  "KEY_VALUE_STORE_WRITES": {
591                    "type": "number",
592                    "example": 0.00005
593                  },
594                  "KEY_VALUE_STORE_LISTS": {
595                    "type": "integer",
596                    "example": 0
597                  },
598                  "REQUEST_QUEUE_READS": {
599                    "type": "integer",
600                    "example": 0
601                  },
602                  "REQUEST_QUEUE_WRITES": {
603                    "type": "integer",
604                    "example": 0
605                  },
606                  "DATA_TRANSFER_INTERNAL_GBYTES": {
607                    "type": "integer",
608                    "example": 0
609                  },
610                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
611                    "type": "integer",
612                    "example": 0
613                  },
614                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
615                    "type": "integer",
616                    "example": 0
617                  },
618                  "PROXY_SERPS": {
619                    "type": "integer",
620                    "example": 0
621                  }
622                }
623              }
624            }
625          }
626        }
627      }
628    }
629  }
630}

Flickr Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Flickr Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 6 monthly users

  • 3 bookmarks

  • >99% runs succeeded

  • Created in May 2023

  • Modified a year ago