Instagram Public Scraper

Instagram Public Scraper

by codepoetry

Scrape public Instagram profiles, posts, and hashtags without login. Export clean data to CSV/JSON for marketing, research, and analytics.

8 runs
2 users
Try This Actor

Opens on Apify.com

About Instagram Public Scraper

Scrape public Instagram profiles, posts, and hashtags without login. Export clean data to CSV/JSON for marketing, research, and analytics.

What does this actor do?

Instagram Public Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Instagram Public Profile & Post Scraper (No Login) πŸ“Έ Scrape public Instagram profiles, posts, and hashtags without login and export clean, analysis-ready data to CSV or JSON. This production-ready Apify Actor is designed for marketers, founders, researchers, and analysts who need reliable public Instagram data without dealing with authentication, cookies, or private APIs. > ⚠️ PUBLIC DATA ONLY > This Actor scrapes only publicly visible information. It does not log in to Instagram, access private profiles, stories, or use internal APIs. --- ## 🎯 Who This Is For Perfect for: * πŸ“Š Market & competitor research * πŸ“£ Influencer discovery & analysis * 🧠 Content & hashtag research * 🏷️ Lead generation from public profiles * πŸŽ“ Academic & social media research --- ## ✨ Key Features * βœ… No login required (public data only) * πŸ‘€ Profile scraping (followers, bio, verification, counts) * πŸ–ΌοΈ Post scraping (captions, hashtags, media, engagement) * πŸ” Hashtag scraping (public posts) * πŸ“¦ Clean output (CSV & JSON friendly) * πŸ›‘οΈ Anti-blocking measures (sessions, delays, fingerprinting) * 🌍 Proxy support (residential required for hashtags) * πŸ§ͺ Debug mode for development & troubleshooting --- ## 🚨 Limitations (Important) | Capability | Supported | Notes | | ------------------------- | --------- | -------------------------------- | | Public profiles | βœ… Yes | Proxy optional | | Hashtag scraping | ⚠️ Yes | Residential proxies required | | Private profiles | ❌ No | Public data only | | Stories / Reels (private) | ❌ No | Requires login | | Login / cookies | ❌ No | By design | > ⚠️ Hashtag scraping fails fast without residential proxies to prevent wasted compute. --- ## πŸ“₯ Quick Start (30 seconds) json { "profiles": ["instagram", "natgeo"], "maxPostsPerSource": 10, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] } } --- ## πŸ“Š What Data You Get ### Profile Data * Username, full name, biography * Followers & following counts * Total posts count * Profile picture URL * Verified status * Profile URL ### Post Data * Post URL & ID * Caption text & extracted hashtags * Likes & comments counts * Media type (image / video / carousel) * Media URLs * Timestamp (ISO-8601) * Owner username --- ## πŸ“€ Output Schema (Consistent) All dataset items β€” including errors β€” follow one schema: json { "sourceType": "profile | hashtag", "sourceValue": "string", "scrapedAt": "ISO-8601", "data": { "status": "success | error", "type": "profile | post", "message": "error message (if error)", "...": "scraped fields (if success)" } } This guarantees: * CSV export compatibility * BigQuery / Sheets compatibility * Stable downstream processing --- ## 🌐 Proxy Requirements | Scraping Type | Proxy | | ------------- | ------------------------ | | Profiles | Optional (recommended) | | Hashtags | Residential required | ### Recommended (Hashtags) json { "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] } } Datacenter proxies may work for profiles only but usually fail for hashtags. --- ## βš™οΈ Technical Overview * Runtime: Node.js 18+ * Crawler: PlaywrightCrawler * Framework: Apify SDK v3 + Crawlee * Browser: Headless Chromium ### Anti-Blocking Strategy * Session rotation * Randomized delays * Human-like scrolling * Browser fingerprint randomization * Automatic retries --- ## βš–οΈ Legal & Compliance This Actor: * Scrapes only public data visible to non-logged-in users * Does not bypass paywalls, logins, or CAPTCHAs * Does not store cookies or sessions You are responsible for: * Complying with Instagram’s Terms of Service * Complying with GDPR, CCPA, and local data laws * Using scraped data ethically and legally --- ## πŸ› Troubleshooting Login wall detected * Use residential proxies (mandatory for hashtags) * Reduce maxPostsPerSource * Increase delays Actor fails at startup * Happens when hashtags are requested without residential proxies Slow performance * Intentional to avoid blocking * Increase concurrency at your own risk --- ## πŸ“ Project Structure src/ β”œβ”€β”€ main.js β”œβ”€β”€ input-schema.json └── helpers/ β”œβ”€β”€ extractProfile.js β”œβ”€β”€ extractPosts.js β”œβ”€β”€ scrollPage.js └── utils.js --- ## πŸš€ Ready to Use Push and run: bash apify push --- ## πŸ“„ License ISC License --- ## 🀝 Support Questions, issues, or feature requests? Open an issue in the repository β€” feedback is welcome.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Instagram Public Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
codepoetry
Pricing
Paid
Total Runs
8
Active Users
2
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support