Instagram Scraper - All in one avatar
Instagram Scraper - All in one

Pricing

$30.00/month + usage

Go to Store
Instagram Scraper - All in one

Instagram Scraper - All in one

curious_coder/instagram-scraper

Developed by

Curious Coder

Maintained by Community

Scrape instragram profiles, followers, posts, comments and get valuable information like email addresses, websites, post engagement insights, commented users, etc

5.0 (1)

Pricing

$30.00/month + usage

34

Monthly users

92

Runs succeeded

97%

Response time

53 days

Last modified

8 days ago

You can access the Instagram Scraper - All in one programmatically from your own applications by using the Apify API. You can also 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": "1.0",
5    "x-build-id": "yNw9qCK7Kb0hW43zy"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/curious_coder~instagram-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-curious_coder-instagram-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/curious_coder~instagram-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-curious_coder-instagram-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/curious_coder~instagram-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-curious_coder-instagram-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          "action",
135          "proxy"
136        ],
137        "properties": {
138          "cookie": {
139            "title": "🍪 Cookies",
140            "type": "array",
141            "description": "Cookies are used to authorize the actor with instagram. Optional when scraping profiles. <br><br> Follow these steps to get the cookies: <ol> <li>Install [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) chrome extension</li> <li> Login to your instagram account </li> <li> Click on the extension and export the instagram cookies </li> <li>Paste the copied contents here</li> </ol> <p> <a href=https://youtu.be/YuKp9BlVgNM target=_blank><img src=https://www.youtube.com/s/desktop/66e817d4/img/favicon_32x32.png width=16px> Video - How to get cookies (0:14)</a>"
142          },
143          "cookiesUrl": {
144            "title": "Cookies URL",
145            "type": "string",
146            "description": "Useful when you want to resurrect the runs failed due to expired cookies. You can update the cookies file remotely and resurrect the actor"
147          },
148          "action": {
149            "title": "Select action to perform",
150            "enum": [
151              "scrapeProfiles",
152              "scrapeFriendships",
153              "scrapePostsOfUser",
154              "scrapeCommentsOfPost",
155              "scrapeLikesOfPost"
156            ],
157            "type": "string",
158            "description": "Actor will decide what kind of data it needs to scrape and from where it should scrape it based on selected action",
159            "default": "scrapeProfiles"
160          },
161          "scrapeProfiles.profileList": {
162            "title": "Profile urls or handles",
163            "type": "array",
164            "description": "Eg: https://instagram.com/username or user_name",
165            "items": {
166              "type": "string"
167            }
168          },
169          "scrapeFriendships.profile": {
170            "title": "Profile url or handle",
171            "type": "string",
172            "description": ""
173          },
174          "scrapeFriendships.friendshipType": {
175            "title": "What to scrape",
176            "enum": [
177              "followers",
178              "following"
179            ],
180            "type": "string",
181            "description": "",
182            "default": "followers"
183          },
184          "scrapeCommentsOfPost.url": {
185            "title": "Link to post",
186            "type": "string",
187            "description": "Click on post's 3 dot menu and click on 'Copy link' option"
188          },
189          "scrapeLikesOfPost.url": {
190            "title": "Link to post",
191            "type": "string",
192            "description": "Click on post's 3 dot menu and click on 'Copy link' option"
193          },
194          "scrapePostsOfUser.profile": {
195            "title": "Profile url or handle",
196            "type": "string",
197            "description": ""
198          },
199          "deepScrape": {
200            "title": "Deep scrape each profiles",
201            "type": "boolean",
202            "description": "Scraper will visit each profile and extract more information",
203            "default": false
204          },
205          "cursor": {
206            "title": "▶️ Start from cursor",
207            "type": "string",
208            "description": "Use this field if you want to resume scraping from where the scraper stopped last time. You can find this value in default storage of scraper runs under **lastCursor** key",
209            "default": ""
210          },
211          "count": {
212            "title": "#️⃣ Total number of records required",
213            "type": "integer",
214            "description": "Leave this field empty if you want to scrape all items."
215          },
216          "proxy": {
217            "title": "🌐 Proxy",
218            "type": "object",
219            "description": "You must use a proxy from your country"
220          },
221          "minDelay": {
222            "title": "⏱️ Minimum wait duration",
223            "minimum": 1,
224            "type": "integer",
225            "description": "Minimum duration in seconds to wait before scraping next page",
226            "default": 1
227          },
228          "maxDelay": {
229            "title": "⏱️ Maximum wait duration",
230            "minimum": 10,
231            "type": "integer",
232            "description": "Maximum duration in seconds to wait before scraping next page",
233            "default": 15
234          }
235        }
236      },
237      "runsResponseSchema": {
238        "type": "object",
239        "properties": {
240          "data": {
241            "type": "object",
242            "properties": {
243              "id": {
244                "type": "string"
245              },
246              "actId": {
247                "type": "string"
248              },
249              "userId": {
250                "type": "string"
251              },
252              "startedAt": {
253                "type": "string",
254                "format": "date-time",
255                "example": "2025-01-08T00:00:00.000Z"
256              },
257              "finishedAt": {
258                "type": "string",
259                "format": "date-time",
260                "example": "2025-01-08T00:00:00.000Z"
261              },
262              "status": {
263                "type": "string",
264                "example": "READY"
265              },
266              "meta": {
267                "type": "object",
268                "properties": {
269                  "origin": {
270                    "type": "string",
271                    "example": "API"
272                  },
273                  "userAgent": {
274                    "type": "string"
275                  }
276                }
277              },
278              "stats": {
279                "type": "object",
280                "properties": {
281                  "inputBodyLen": {
282                    "type": "integer",
283                    "example": 2000
284                  },
285                  "rebootCount": {
286                    "type": "integer",
287                    "example": 0
288                  },
289                  "restartCount": {
290                    "type": "integer",
291                    "example": 0
292                  },
293                  "resurrectCount": {
294                    "type": "integer",
295                    "example": 0
296                  },
297                  "computeUnits": {
298                    "type": "integer",
299                    "example": 0
300                  }
301                }
302              },
303              "options": {
304                "type": "object",
305                "properties": {
306                  "build": {
307                    "type": "string",
308                    "example": "latest"
309                  },
310                  "timeoutSecs": {
311                    "type": "integer",
312                    "example": 300
313                  },
314                  "memoryMbytes": {
315                    "type": "integer",
316                    "example": 1024
317                  },
318                  "diskMbytes": {
319                    "type": "integer",
320                    "example": 2048
321                  }
322                }
323              },
324              "buildId": {
325                "type": "string"
326              },
327              "defaultKeyValueStoreId": {
328                "type": "string"
329              },
330              "defaultDatasetId": {
331                "type": "string"
332              },
333              "defaultRequestQueueId": {
334                "type": "string"
335              },
336              "buildNumber": {
337                "type": "string",
338                "example": "1.0.0"
339              },
340              "containerUrl": {
341                "type": "string"
342              },
343              "usage": {
344                "type": "object",
345                "properties": {
346                  "ACTOR_COMPUTE_UNITS": {
347                    "type": "integer",
348                    "example": 0
349                  },
350                  "DATASET_READS": {
351                    "type": "integer",
352                    "example": 0
353                  },
354                  "DATASET_WRITES": {
355                    "type": "integer",
356                    "example": 0
357                  },
358                  "KEY_VALUE_STORE_READS": {
359                    "type": "integer",
360                    "example": 0
361                  },
362                  "KEY_VALUE_STORE_WRITES": {
363                    "type": "integer",
364                    "example": 1
365                  },
366                  "KEY_VALUE_STORE_LISTS": {
367                    "type": "integer",
368                    "example": 0
369                  },
370                  "REQUEST_QUEUE_READS": {
371                    "type": "integer",
372                    "example": 0
373                  },
374                  "REQUEST_QUEUE_WRITES": {
375                    "type": "integer",
376                    "example": 0
377                  },
378                  "DATA_TRANSFER_INTERNAL_GBYTES": {
379                    "type": "integer",
380                    "example": 0
381                  },
382                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
383                    "type": "integer",
384                    "example": 0
385                  },
386                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
387                    "type": "integer",
388                    "example": 0
389                  },
390                  "PROXY_SERPS": {
391                    "type": "integer",
392                    "example": 0
393                  }
394                }
395              },
396              "usageTotalUsd": {
397                "type": "number",
398                "example": 0.00005
399              },
400              "usageUsd": {
401                "type": "object",
402                "properties": {
403                  "ACTOR_COMPUTE_UNITS": {
404                    "type": "integer",
405                    "example": 0
406                  },
407                  "DATASET_READS": {
408                    "type": "integer",
409                    "example": 0
410                  },
411                  "DATASET_WRITES": {
412                    "type": "integer",
413                    "example": 0
414                  },
415                  "KEY_VALUE_STORE_READS": {
416                    "type": "integer",
417                    "example": 0
418                  },
419                  "KEY_VALUE_STORE_WRITES": {
420                    "type": "number",
421                    "example": 0.00005
422                  },
423                  "KEY_VALUE_STORE_LISTS": {
424                    "type": "integer",
425                    "example": 0
426                  },
427                  "REQUEST_QUEUE_READS": {
428                    "type": "integer",
429                    "example": 0
430                  },
431                  "REQUEST_QUEUE_WRITES": {
432                    "type": "integer",
433                    "example": 0
434                  },
435                  "DATA_TRANSFER_INTERNAL_GBYTES": {
436                    "type": "integer",
437                    "example": 0
438                  },
439                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
440                    "type": "integer",
441                    "example": 0
442                  },
443                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
444                    "type": "integer",
445                    "example": 0
446                  },
447                  "PROXY_SERPS": {
448                    "type": "integer",
449                    "example": 0
450                  }
451                }
452              }
453            }
454          }
455        }
456      }
457    }
458  }
459}

Instagram Scraper - All in one 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 Scraper - All in one 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:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$30.00