π― Instagram User Scraper (Pay Per Result)
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative Actorsπ― Instagram User Scraper (Pay Per Result)
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 π°
You can access the π― Instagram User Scraper (Pay Per Result) programmatically from your own JavaScript 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.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "keyword": "jack",
12 "startUrls": [
13 "https://www.instagram.com/taylorswift/",
14 "https://www.instagram.com/bryancranston/",
15 "https://www.instagram.com/deanjnorris/"
16 ],
17 "instagramHandles": [
18 "justinbieber",
19 "emilia_clarke",
20 "maisie_williams"
21 ],
22 "instagramIds": [
23 "6860189",
24 "35306961",
25 "1809062259"
26 ],
27 "maxItems": 1000,
28 "customMapFunction": (object) => { return {...object} }
29};
30
31// Run the Actor and wait for it to finish
32const run = await client.actor("apidojo/instagram-user-scraper").call(input);
33
34// Fetch and print Actor results from the run's dataset (if any)
35console.log('Results from dataset');
36console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
37const { items } = await client.dataset(run.defaultDatasetId).listItems();
38items.forEach((item) => {
39 console.dir(item);
40});
41
42// π Want to learn more π? Go to β https://docs.apify.com/api/client/js/docs
π― Instagram User Scraper (Pay Per Result) API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use π― Instagram User Scraper (Pay Per Result) API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include: