Instagram Scraper - All in one avatar
Instagram Scraper - All in one
Try for free

1 day trial then $30.00/month - No credit card required now

View all Actors
Instagram Scraper - All in one

Instagram Scraper - All in one

curious_coder/instagram-scraper
Try for free

1 day trial then $30.00/month - No credit card required now

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

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 mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "action": "scrapeProfiles",
8  "scrapeProfiles.profileList": [
9    "zuck"
10  ],
11  "scrapeFriendships.profile": "zuck",
12  "scrapeFriendships.friendshipType": "followers",
13  "scrapeCommentsOfPost.url": "https://www.instagram.com/p/CwsgvUlLtEn/",
14  "scrapeLikesOfPost.url": "https://www.instagram.com/p/CwsgvUlLtEn/",
15  "scrapePostsOfUser.profile": "https://www.instagram.com/zuck",
16  "proxy": {
17    "useApifyProxy": true,
18    "apifyProxyGroups": [],
19    "apifyProxyCountry": "US"
20  },
21  "minDelay": 1,
22  "maxDelay": 15
23}
24EOF
25
26# Run the Actor using an HTTP API
27# See the full API reference at https://docs.apify.com/api/v2
28curl "https://api.apify.com/v2/acts/curious_coder~instagram-scraper/runs?token=$API_TOKEN" \
29  -X POST \
30  -d @input.json \
31  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 206 monthly users
  • 74.6% runs succeeded
  • 1.1 days response time
  • Created in Jun 2023
  • Modified 2 months ago
Categories

You might also like these Actors