Instagram Scraper avatar
Instagram Scraper

Pricing

Pay per event

Go to Apify Store
Instagram Scraper

Instagram Scraper

Developed by

Himanshu

Himanshu

Maintained by Community

0.0 (0)

Pricing

Pay per event

0

5

5

Last modified

7 days ago

📸 Instagram Scraper - Advanced version

An advanced Instagram scraper for Apify that supports multiple data extraction modes: followers, followings, similar users, posts, reels, and liked users and many more...
This actor is designed for scalability, customizability, and affordability.


📑 Table of Contents


✨ Features

This Instagram scraper supports the following operations:

  • ✅ Scrape followers of a user
  • ✅ Scrape followings of a user
  • ✅ Scrape similar users (Instagram’s suggested accounts)
  • ✅ Scrape user posts with metadata
  • ✅ Scrape user reels with metadata
  • ✅ Scrape liked users of a post
  • ✅ Optional profile enrichment (get detailed profile info)

⚙️ Setup

  1. Provide the input JSON in the run configuration.
  2. Run the actor — results are stored in the default dataset.

🔍 Detailed Scraping Modes

Followers - Scrapes a user’s followers list

Input Example

{
"inputs": ["example_username, @example_username", "https://www.instagram.com/example_username/"], //any of these formats
"type": "followers",
"profileEnriched": true,
"maxItem": 50
}

Output Example - Without Profile Enrichment

{
"id": "25025320",
"username": "example_user",
"full_name": "Example User",
"profile_pic_url": "https://instagram.fdel1-1.fna.fbcdn.net/v/t51.2885-19/123456789_12345678901234567_1234567890_n.jpg?stp=dst-jpg_e0_s150x150_tt6\u0026_nc_ht=instagram.fdel1-1.fna.fbcdn.net\u0026_nc_cat=1\u0026_nc_oc=Q6cZ2QF4GNhUW2C94PExUy0N-hGQG0WVUATfqXwZOtM4YxZqwhWIla6jZA4Yup1R3nVbRCc\u0026_nc_ohc=vqgyNhttH6kQ7kNvwG9dyeQ\u0026_nc_gid=iS33nj_FvnkAKf6K0zsY1Q\u0026edm=ALGbJPMBAAAA\u0026ccb=7-5\u0026oh=00_AfW9hVy8m6hzvJjzlrte8KGOP0ZtfWY7DeE5RUzVoU_6wg\u0026oe=68A785F0\u0026_nc_sid=7d3ac5",
"is_private": false,
"is_verified": false,
"followed_by_viewer": false,
"requested_by_viewer": false
}

Output Example - With Profile Enrichment

{
"ai_agent_owner_username": null,
"ai_agent_type": null,
"biography": "Example biography text.",
"bio_links": [
{
"title": "",
"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fwww.yogiadityanath.in%2F&e=AT14BZv86k-eKeJFKsrZili1OI6B2k6pAwMgGABiaEPikFYB_Tyl0yKmWatzeyJHlM_id-v2P9L6yIsWHBPgdot27HEjEj5g",
"url": "http://www.yogiadityanath.in/",
"link_type": "external"
}
],
"fb_profile_biolink": null,
"biography_with_entities": {
"raw_text": "Example raw biography text.",
"entities": []
},
"blocked_by_viewer": false,
"restricted_by_viewer": null,
"country_block": false,
"eimu_id": "116903859705511",
"external_url": "https://example.com",
"external_url_linkshimmed": "https://l.instagram.com/?u=http%3A%2F%2Fwww.yogiadityanath.in%2F&e=AT3q-kwaRNi9zY-Sr81SXE2CmAlYreUr7vcZnKjz3v-n4pz_1I1IJhq_J4to3Xrm1csvR0tk_Guu_txuf7tNnKc6Wp2SoNnb",
"edge_followed_by": {
"count": 14226403
},
"fbid": "17841400478827633",
"followed_by_viewer": false,
"edge_follow": {
"count": 12
},
"follows_viewer": false,
"full_name": "",
"group_metadata": null,
"has_ar_effects": false,
"has_clips": true,
"has_guides": false,
"has_channel": false,
"has_blocked_viewer": false,
"highlight_reel_count": 1,
"has_onboarded_to_text_post_app": false,
"has_requested_viewer": false,
"hide_like_and_view_counts": false,
"id": "1768527960",
"is_business_account": false,
"is_professional_account": false,
"is_supervision_enabled": false,
"is_guardian_of_viewer": false,
"is_supervised_by_viewer": false,
"is_supervised_user": false,
"is_embeds_disabled": false,
"is_joined_recently": false,
"guardian_id": null,
"business_address_json": null,
"business_contact_method": "UNKNOWN",
"business_email": null,
"business_phone_number": null,
"business_category_name": null,
"overall_category_name": null,
"category_enum": null,
"category_name": null,
"is_private": false,
"is_verified": true,
"is_verified_by_mv4b": false,
"is_regulated_c18": false,
"edge_mutual_followed_by": {
"count": 0,
"edges": []
},
"pinned_channels_list_count": 0,
"profile_pic_url": "https://instagram.fdel1-1.fna.fbcdn.net/v/t51.2885-19/459083352_507542668553989_5131065592077524354_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MDAuYzIifQ&_nc_ht=instagram.fdel1-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QEEHehIOZcXFgFikCJt1Pa5jl97ZI1GnfdAwUcg8sudKbchVO-nCN9dcqTrBdbC4bs&_nc_ohc=vqgyNhttH6kQ7kNvwF9qZUw&_nc_gid=DvE-QPimykuMe_vVlntbfA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfUsKjvEJsr4L0RfwYGQoqZaARRZRXl0Ztd-2rfOUkEhDw&oe=68AA28F0&_nc_sid=8b3546",
"profile_pic_url_hd": "https://instagram.fdel1-1.fna.fbcdn.net/v/t51.2885-19/459083352_507542668553989_5131065592077524354_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MDAuYzIifQ&_nc_ht=instagram.fdel1-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QEEHehIOZcXFgFikCJt1Pa5jl97ZI1GnfdAwUcg8sudKbchVO-nCN9dcqTrBdbC4bs&_nc_ohc=vqgyNhttH6kQ7kNvwF9qZUw&_nc_gid=DvE-QPimykuMe_vVlntbfA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfWvlwdAxBo3XLhXfqovtgthqVRe6ROTUezZfsmh3Hs9MA&oe=68AA28F0&_nc_sid=8b3546",
"requested_by_viewer": false,
"should_show_category": false,
"should_show_public_contacts": false,
"show_account_transparency_details": true,
"show_text_post_app_badge": null,
"remove_message_entrypoint": false,
"transparency_label": null,
"transparency_product": null,
"username": "myogi_adityanath",
"pronouns": []
}

Followings

Scrapes accounts a user is following.

Input Example

{
"inputs": ["example_user"],
"type": "followings",
"maxItem": 50
}

Output Example

Similar Users

Fetches Instagram’s recommended similar accounts.

Input Example

{
"inputs": ["example_user"],
"type": "similar_users",
"maxItem": 20
}

Output Example

User Posts

Scrapes posts of a given username.

Input Example

{
"inputs": ["example_user"],
"type": "user_posts",
"maxItem": 30
}

Output Example

User Reels

Scrapes reels of a given username.

Input Example

{
"inputs": ["example_user"],
"type": "user_reels",
"maxItem": 15
}

Output Example

Liked Users

Scrapes users who liked a given post.

Input Example

{
"inputs": ["https://www.instagram.com/p/POST_ID/"],
"type": "liked_users",
"maxItem": 50
}

Output Example

📝 Example Use Cases

Analyze competitors’ audience
Build a follower analytics tool
Extract influencer marketing data
Track content performance (posts/reels)
Identify engagement overlaps with similar users