π― Instagram User Scraper (Pay Per Result)
Try for free
Pay $0.50 for 1,000 users
View all Actors
π― Instagram User Scraper (Pay Per Result)
apidojo/instagram-user-scraper
Try for free
Pay $0.50 for 1,000 users
Instagram User Scraper, the leading solution for pulling user data from Instagram. Renowned for its exceptional speed and thoroughness, it enables the retrieval of comprehensive user information such as emails. Priced at just $0.50 per 1000 users π°
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
Node.js
Python
curl
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5 token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10 "keyword": "jack",
11 "startUrls": [
12 "https://www.instagram.com/taylorswift/",
13 "https://www.instagram.com/bryancranston/",
14 "https://www.instagram.com/deanjnorris/"
15 ],
16 "instagramHandles": [
17 "justinbieber",
18 "emilia_clarke",
19 "maisie_williams"
20 ],
21 "maxItems": 1000,
22 "customMapFunction": (object) => { return {...object} }
23};
24
25(async () => {
26 // Run the Actor and wait for it to finish
27 const run = await client.actor("apidojo/instagram-user-scraper").call(input);
28
29 // Fetch and print Actor results from the run's dataset (if any)
30 console.log('Results from dataset');
31 console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
32 const { items } = await client.dataset(run.defaultDatasetId).listItems();
33 items.forEach((item) => {
34 console.dir(item);
35 });
36})();
37
38// π Want to learn more π? Go to β https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
- 88 monthly users
- 30.6% runs succeeded
- 0.73 days response time
- Created in Mar 2024
- Modified 3 days ago
Categories