
Instagram Profile Scraper
Pricing
$2.30 / 1,000 results

Instagram Profile Scraper
Scrape all Instagram profile info. Just add one or more Instagram usernames and extract number of followers&follows, URLs, bio, posts, likes, counts, related profiles, captions, highlight reels. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
4.5 (27)
Pricing
$2.30 / 1,000 results
450
Total users
50.4k
Monthly users
4.5k
Runs succeeded
>99%
Issue response
2.5 days
Last modified
12 hours ago
It's taking too much time for results to be printed.
Closed
I tried with getting few fields but it is not giving me data when i run that code. CODE:
Iterate over the items in the dataset and extract only the desired fields
for item in client.dataset(run["defaultDatasetId"]).iterate_items(): filtered_item = { "inputUrl": item.get("url"), # Profile URL "id": item.get("id"), # Profile ID "username": item.get("username"), # Username "url": item.get("url"), # Profile URL again "fullName": item.get("full_name"), # Full name "biography": item.get("biography"), # Biography text "externalUrl": item.get("external_url"), # External URL "followersCount": item.get("followers_count"), # Followers count "followsCount": item.get("follows_count"), # Follows count "postsCount": item.get("posts_count"), # Posts count "profilePicUrl": item.get("profile_pic_url"), # Profile picture URL "profilePicUrlHD": item.get("profile_pic_url_hd"), # High-definition profile picture URL "isBusinessAccount": item.get("is_business_account"), # Business account flag "verified": item.get("verified"), # Verified account flag }
# Print the filtered item to the terminal in JSON formatprint(json.dumps(filtered_item, indent=4))
OUTPUT: "externalUrl": null, "followersCount": null, "followsCount": null,"postsCount": null,"profilePicUrl": null, "profilePicUrlHD": null,"isBusinessAccount": null,"verified": false

Hi!
Please ask at Discord, actor not related to Python SDK and using dataset from Python SDK is the same for any dataset(s), again, not related to actor logic and functionality.
Hope for understanding.
I´m going to close the issue now, but if there would be anything else we could help with, please let us know.