๐Ÿฏ Instagram User Scraper (Pay Per Result) avatar
๐Ÿฏ 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)

๐Ÿฏ 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

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "keyword": "jack",
9    "startUrls": [
10        "https://www.instagram.com/taylorswift/",
11        "https://www.instagram.com/bryancranston/",
12        "https://www.instagram.com/deanjnorris/",
13    ],
14    "instagramHandles": [
15        "justinbieber",
16        "emilia_clarke",
17        "maisie_williams",
18    ],
19    "maxItems": 1000,
20    "customMapFunction": "(object) => { return {...object} }",
21}
22
23# Run the Actor and wait for it to finish
24run = client.actor("apidojo/instagram-user-scraper").call(run_input=run_input)
25
26# Fetch and print Actor results from the run's dataset (if there are any)
27print("๐Ÿ’พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29    print(item)
30
31# ๐Ÿ“š Want to learn more ๐Ÿ“–? Go to โ†’ https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 151 monthly users
  • 10 stars
  • 99.3% runs succeeded
  • 5.8 hours response time
  • Created in Mar 2024
  • Modified about 14 hours ago