Instagram Search Scraper avatar

Instagram Search Scraper

Try for free

Pay $2.30 for 1,000 results

Go to Store
Instagram Search Scraper

Instagram Search Scraper

apify/instagram-search-scraper
Try for free

Pay $2.30 for 1,000 results

Scrape and download Instagram posts, profiles, places, hashtags, photos without login. Supports search keywords and URL lists. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.

Do you want to learn more about this Actor?

Get a demo

You can access the Instagram Search 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.1",
5    "x-build-id": "RS0eo5y0cwKtpjqHJ"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/apify~instagram-search-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-apify-instagram-search-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/apify~instagram-search-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-apify-instagram-search-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/apify~instagram-search-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-apify-instagram-search-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        "required": [
134          "search"
135        ],
136        "properties": {
137          "search": {
138            "title": "Search query",
139            "type": "string",
140            "description": "Provide a search query which will be used to search Instagram for profiles, hashtags or places.",
141            "default": "restaurant"
142          },
143          "searchType": {
144            "title": "Search type",
145            "enum": [
146              "user",
147              "hashtag",
148              "place"
149            ],
150            "type": "string",
151            "description": "What type of pages to search for (you can look for hashtags, profiles or places).",
152            "default": "hashtag"
153          },
154          "searchLimit": {
155            "title": "Search results limit",
156            "minimum": 1,
157            "maximum": 250,
158            "type": "integer",
159            "description": "How many search results (hashtags, users or places) should be returned."
160          },
161          "enhanceUserSearchWithFacebookPage": {
162            "title": "Enhance user search (top 10) with Facebook page & email if available (higher credit usage)",
163            "type": "boolean",
164            "description": "For each user from the top 10, the scraper extracts their Facebook page that sometimes contains their business email. Please keep in mind that you are forbidden to collect personal data in certain jurisdictions. Please see <a href=\"https://blog.apify.com/is-web-scraping-legal/#think-twice-before-scraping-personal-data\">this article</a> for more details."
165          }
166        }
167      },
168      "runsResponseSchema": {
169        "type": "object",
170        "properties": {
171          "data": {
172            "type": "object",
173            "properties": {
174              "id": {
175                "type": "string"
176              },
177              "actId": {
178                "type": "string"
179              },
180              "userId": {
181                "type": "string"
182              },
183              "startedAt": {
184                "type": "string",
185                "format": "date-time",
186                "example": "2025-01-08T00:00:00.000Z"
187              },
188              "finishedAt": {
189                "type": "string",
190                "format": "date-time",
191                "example": "2025-01-08T00:00:00.000Z"
192              },
193              "status": {
194                "type": "string",
195                "example": "READY"
196              },
197              "meta": {
198                "type": "object",
199                "properties": {
200                  "origin": {
201                    "type": "string",
202                    "example": "API"
203                  },
204                  "userAgent": {
205                    "type": "string"
206                  }
207                }
208              },
209              "stats": {
210                "type": "object",
211                "properties": {
212                  "inputBodyLen": {
213                    "type": "integer",
214                    "example": 2000
215                  },
216                  "rebootCount": {
217                    "type": "integer",
218                    "example": 0
219                  },
220                  "restartCount": {
221                    "type": "integer",
222                    "example": 0
223                  },
224                  "resurrectCount": {
225                    "type": "integer",
226                    "example": 0
227                  },
228                  "computeUnits": {
229                    "type": "integer",
230                    "example": 0
231                  }
232                }
233              },
234              "options": {
235                "type": "object",
236                "properties": {
237                  "build": {
238                    "type": "string",
239                    "example": "latest"
240                  },
241                  "timeoutSecs": {
242                    "type": "integer",
243                    "example": 300
244                  },
245                  "memoryMbytes": {
246                    "type": "integer",
247                    "example": 1024
248                  },
249                  "diskMbytes": {
250                    "type": "integer",
251                    "example": 2048
252                  }
253                }
254              },
255              "buildId": {
256                "type": "string"
257              },
258              "defaultKeyValueStoreId": {
259                "type": "string"
260              },
261              "defaultDatasetId": {
262                "type": "string"
263              },
264              "defaultRequestQueueId": {
265                "type": "string"
266              },
267              "buildNumber": {
268                "type": "string",
269                "example": "1.0.0"
270              },
271              "containerUrl": {
272                "type": "string"
273              },
274              "usage": {
275                "type": "object",
276                "properties": {
277                  "ACTOR_COMPUTE_UNITS": {
278                    "type": "integer",
279                    "example": 0
280                  },
281                  "DATASET_READS": {
282                    "type": "integer",
283                    "example": 0
284                  },
285                  "DATASET_WRITES": {
286                    "type": "integer",
287                    "example": 0
288                  },
289                  "KEY_VALUE_STORE_READS": {
290                    "type": "integer",
291                    "example": 0
292                  },
293                  "KEY_VALUE_STORE_WRITES": {
294                    "type": "integer",
295                    "example": 1
296                  },
297                  "KEY_VALUE_STORE_LISTS": {
298                    "type": "integer",
299                    "example": 0
300                  },
301                  "REQUEST_QUEUE_READS": {
302                    "type": "integer",
303                    "example": 0
304                  },
305                  "REQUEST_QUEUE_WRITES": {
306                    "type": "integer",
307                    "example": 0
308                  },
309                  "DATA_TRANSFER_INTERNAL_GBYTES": {
310                    "type": "integer",
311                    "example": 0
312                  },
313                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
314                    "type": "integer",
315                    "example": 0
316                  },
317                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "PROXY_SERPS": {
322                    "type": "integer",
323                    "example": 0
324                  }
325                }
326              },
327              "usageTotalUsd": {
328                "type": "number",
329                "example": 0.00005
330              },
331              "usageUsd": {
332                "type": "object",
333                "properties": {
334                  "ACTOR_COMPUTE_UNITS": {
335                    "type": "integer",
336                    "example": 0
337                  },
338                  "DATASET_READS": {
339                    "type": "integer",
340                    "example": 0
341                  },
342                  "DATASET_WRITES": {
343                    "type": "integer",
344                    "example": 0
345                  },
346                  "KEY_VALUE_STORE_READS": {
347                    "type": "integer",
348                    "example": 0
349                  },
350                  "KEY_VALUE_STORE_WRITES": {
351                    "type": "number",
352                    "example": 0.00005
353                  },
354                  "KEY_VALUE_STORE_LISTS": {
355                    "type": "integer",
356                    "example": 0
357                  },
358                  "REQUEST_QUEUE_READS": {
359                    "type": "integer",
360                    "example": 0
361                  },
362                  "REQUEST_QUEUE_WRITES": {
363                    "type": "integer",
364                    "example": 0
365                  },
366                  "DATA_TRANSFER_INTERNAL_GBYTES": {
367                    "type": "integer",
368                    "example": 0
369                  },
370                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
371                    "type": "integer",
372                    "example": 0
373                  },
374                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
375                    "type": "integer",
376                    "example": 0
377                  },
378                  "PROXY_SERPS": {
379                    "type": "integer",
380                    "example": 0
381                  }
382                }
383              }
384            }
385          }
386        }
387      }
388    }
389  }
390}

Instagram API 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 Instagram Search 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 Apify

Actor Metrics

  • 92 monthly users

  • 18 stars

  • >99% runs succeeded

  • 14 days response time

  • Created in Sep 2024

  • Modified 13 hours ago

Categories