Tutorials

How to Scrape Instagram Data in 2026 (No Code Required)

Step-by-step guide to extracting Instagram profiles, posts, hashtags, and comments using Apify's Instagram scrapers — no coding needed.

8 min read

Instagram app on phone with data analytics overlay

As an Apify affiliate, we may earn a commission from qualifying purchases made through our links, at no extra cost to you. We only recommend tools we believe in.

import BlogCTA from ’../../components/BlogCTA.astro’;

To scrape Instagram data in 2026, the fastest no-code method is using Apify’s pre-built Instagram scrapers. You paste a list of profile URLs, hashtags, or post links into the Actor’s input form, set a result limit, click Run, and download clean JSON, CSV, or Excel within minutes — no Instagram account, no API key, no code required.


What Instagram Data Can You Scrape in 2026?

The short answer: all publicly visible content. Instagram does not require a login to view public profiles, hashtag feeds, or post pages — and that same public data is fair game for scraping.

Here is what you can extract without any login credentials:

  • Profile metadata — username, full name, bio text, follower count, following count, total post count, profile picture URL, verified badge, business/creator category, external link
  • Posts — caption, timestamp, like count, comment count, media URLs (images and video thumbnails), post type (photo, carousel, reel), tagged users, location tag
  • Hashtag feeds — all recent and top posts under a given hashtag, with full engagement metrics per post
  • Comments — comment text, commenter username, timestamp, likes on each individual comment
  • Reels — video URL, play count, like count, caption, audio track name and artist

What you cannot scrape: private account content, Instagram Stories from private accounts, direct messages, or any data locked behind a login wall. If a tool claims it can access private accounts without credentials, treat that as a red flag — it either requires you to hand over login details (a security risk) or it does not work as advertised.

The Instagram Scraper page on this site has a full breakdown of output fields by Actor type.


Why Instagram Is Hard to Scrape

Instagram is among the most aggressively defended scraping targets on the web. Understanding the obstacles helps explain why off-the-shelf cloud tools outperform DIY approaches.

Bot detection fingerprinting. Instagram runs layered browser fingerprinting checks — TLS fingerprint, JavaScript execution patterns, mouse movement simulation, and request timing. A plain HTTP client or basic headless browser fails these checks and gets blocked within seconds or minutes.

Aggressive rate limiting. Instagram enforces per-IP and per-session request quotas. Exceed them and you get HTTP 429 responses, then soft bans (redirects to the login page), then hard IP blocks that can last days.

Login wall creep. Even publicly accessible profiles increasingly trigger login prompts after a few page views when Instagram detects a non-browser user agent or unusual navigation patterns. The content is technically public, but the platform actively degrades the experience for automated access.

Constant schema changes. Instagram ships front-end updates and internal GraphQL endpoint changes frequently. Any scraper hardcoded to specific HTML selectors or API endpoints breaks every few weeks without maintenance. This is the main reason DIY scrapers become unsustainable in production — someone has to keep fixing them.

Legal grey zone. The 2022 Ninth Circuit ruling in hiQ v. LinkedIn established that scraping publicly accessible web data generally does not violate the Computer Fraud and Abuse Act (CFAA). That precedent broadly applies to Instagram public data. However, Instagram’s Terms of Service prohibit automated access, meaning your Instagram account can be banned and Meta could pursue civil action for large-scale commercial scraping.

Apify’s Instagram Actors handle the first four problems at the infrastructure level — proxy rotation, browser fingerprint spoofing, rate-limit backoff, and continuous scraper maintenance. The legal considerations remain your responsibility to assess for your use case.


The 4 Apify Instagram Scrapers

Apify’s Actor Store has several Instagram-specific tools, each optimized for a different data type. Here is how they compare:

ActorBest ForLogin RequiredSpeed
Instagram ScraperProfiles, posts, hashtags — all-in-oneNoMedium
Instagram Profile ScraperAccount metadata only (bulk)NoFast
Instagram Hashtag ScraperHashtag feed researchNoMedium
Instagram Comments ScraperSentiment analysis, community researchNoSlow (deep pagination)
Instagram Reel ScraperVideo content, play counts, audio trendsNoMedium

For most use cases, start with the general Instagram Scraper — it handles profiles, posts, and hashtags from a single Actor with one unified input form. Reach for the specialized scrapers when you need higher throughput on a single data type or want to minimize cost per result.


Step-by-Step: Scraping Instagram Profiles with Apify

This walkthrough uses the general Instagram Scraper to extract profile data and recent posts. The process takes about five minutes from account creation to exported spreadsheet.

Step 1: Sign up at apify.com

Go to apify.com and create a free account. No credit card required. Apify gives you $5 in free monthly compute credits — more than enough to scrape hundreds of Instagram profiles for evaluation.

Step 2: Find the Instagram Scraper in the Actor Store

Once logged in, click “Store” in the left sidebar and search for “Instagram Scraper.” Click the Actor tile by Apify, then click Try for free to open the input form.

Step 3: Configure your inputs

The input form has a handful of key fields:

  • directUrls — paste a list of Instagram URLs. Mix profile URLs (https://www.instagram.com/natgeo/), hashtag URLs (https://www.instagram.com/explore/tags/travel/), or individual post URLs. Each line is treated as a separate scraping target.
  • resultsType — choose posts (recent posts from a profile or hashtag), details (profile metadata only), or comments (comments on specific posts).
  • resultsLimit — how many items to return per URL. Set to 50 for a quick test; set to 0 for no limit (scrapes everything available).
  • proxy — leave on the default Apify Residential setting. Disabling this will get your run blocked quickly.

For a basic profile export, paste 5–10 profile URLs, set resultsType to details, and resultsLimit to 1. That pulls one profile object per account — follower count, bio, post count, and all core metadata.

Step 4: Run and download as Excel/CSV

Click Save & Run. The live log shows progress in real time. A run extracting metadata from 20 profiles typically finishes in under 90 seconds.

When the run completes, click the Dataset tab, then Export. Choose CSV for spreadsheet work, JSON for developer pipelines, or Excel for instant column headers without cleanup.


Step-by-Step: Scraping Hashtag Data

The Instagram Hashtag Scraper is purpose-built for hashtag research. It takes a list of hashtags and returns all recent and top posts tagged with each one, along with per-post engagement data.

Setup

  1. Open the Instagram Hashtag Scraper from the Apify Store
  2. In the input form, enter your hashtags as a JSON list — for example: ["sustainablefashion", "remotework", "aitools"]
  3. Set resultsLimit to control how many posts you want per hashtag (100 is a good starting point)
  4. Click Save & Run

What you get back: For each hashtag, the scraper returns posts with captions, timestamps, like counts, comment counts, media URLs, and the posting account’s username. This data is ideal for identifying trending content formats, top-performing captions, and the accounts that consistently rank in a hashtag’s top posts.

A practical workflow for content teams: run this weekly against 10–15 relevant hashtags, export to CSV, and load into a spreadsheet to track engagement benchmarks over time. This is a lightweight social listening stack that costs a fraction of dedicated platforms.


Step-by-Step: Extracting Comments for Sentiment Analysis

The Instagram Comments Scraper takes post URLs and returns every comment on those posts — comment text, commenter username, timestamp, and likes on each comment.

Setup

  1. Collect the Instagram post URLs you want to analyze (copy them from your browser while viewing a post)
  2. Open the Instagram Comments Scraper in Apify Store
  3. Paste your post URLs into the directUrls field
  4. Set a resultsLimit if you only need the top N comments (leave blank for all comments)
  5. Run and export

Use the Comments Scraper for:

  • Brand sentiment — pull comments on your brand’s posts or competitor posts mentioning your product category
  • Power user identification — find accounts that consistently engage with a creator’s content
  • Research datasets — build labeled training data for NLP sentiment models using real Instagram comments

Comment pagination is slow because Instagram loads comments in batches — expect longer run times for posts with thousands of comments. Budget accordingly when scraping viral posts.


What the Output Looks Like

Here is a representative output object from the Instagram Scraper for a single post:

{
  "id": "3012345678901234567",
  "url": "https://www.instagram.com/p/CxABCDEFGHI/",
  "type": "Image",
  "shortCode": "CxABCDEFGHI",
  "caption": "Exploring hidden caves in Vietnam. #travel #adventure",
  "commentsCount": 142,
  "likesCount": 8430,
  "timestamp": "2026-05-15T09:23:00.000Z",
  "displayUrl": "https://instagram.fsjc1-3.fna.fbcdn.net/...",
  "ownerUsername": "natgeo",
  "ownerId": "787132",
  "locationName": "Phong Nha-Ke Bang National Park",
  "hashtags": ["travel", "adventure"],
  "mentions": []
}

For profile scrapes (using resultsType: details), the output includes: username, fullName, biography, followersCount, followingCount, postsCount, profilePicUrl, isVerified, isBusinessAccount, businessCategoryName, and externalUrl.

The CSV export flattens all fields into columns — ready to open in Excel or Google Sheets without transformation. The Excel export adds automatic column headers and preserves timestamps as sortable date values.


Use Cases

Influencer vetting at scale. Marketing teams use the Profile Scraper to score hundreds of accounts in one run — pulling follower counts, average engagement proxies, bio keywords, and contact info. What used to take a week of manual browsing becomes a 10-minute batch job. See the best Instagram scraping tools comparison for how these tools stack up.

Brand mention monitoring. Use the Hashtag Scraper to track your brand’s hashtag or product name across all recent posts. Schedule runs weekly via Apify’s built-in scheduler for continuous monitoring without manual intervention — a social listening workflow at a fraction of the cost of dedicated platforms.

Competitor content analysis. Pull a competitor’s full post history (public accounts only), export to CSV, and analyze in a BI tool. Identify posting frequency, content types that drive above-average engagement, and hashtag strategy. Pair this with the Instagram marketing guide for a complete playbook.

Hashtag research for content strategy. Run the Hashtag Scraper against 20–30 candidate hashtags and compare average like counts, recent posting volume, and top-performing caption formats across each. This replaces guesswork with data when deciding which hashtags to use in a campaign.

For a broader view of how social media data feeds into business workflows, the use cases section covers industry-specific applications.


Instagram Scraping vs Instagram API

Instagram’s official API has become progressively more restricted since the Cambridge Analytica fallout in 2018. Here is an honest comparison of when to use each approach:

FactorInstagram Basic Display APIApify Instagram Scraper
Requires Instagram accountYes (developer app approval)No
Rate limits200 requests/hour per userManaged by Apify (higher effective throughput)
Data types availableYour own account data + limited follower accessAll public profiles, posts, hashtags, comments
Approval processMeta app review (weeks)None — start immediately
CostFree for API calls~$0.02–$0.08 per 1,000 results
Maintenance burdenYou handle breaking changesApify maintains the Actor
Best forApps acting on behalf of usersResearch, analytics, competitive intelligence

The official API is the right choice if you are building a feature in an app where users grant permission to access their own Instagram data. For competitive research, influencer analysis, hashtag monitoring, and market research on public data — the scraping route is faster to set up, covers more data types, and requires no Meta developer approval.


The Bottom Line

Scraping Instagram in 2026 without code is straightforward when you use the right infrastructure. Apify’s Instagram Actors handle proxy rotation, bot detection, schema maintenance, and rate limiting — the parts that make DIY scrapers break within weeks. You get clean structured output in minutes, exportable to whatever format your workflow needs.

Start with the free tier. The $5 monthly credit covers research-scale workloads comfortably. For production use cases — weekly brand monitoring, large influencer databases, ongoing competitor tracking — the $49/month Starter plan provides the concurrency and run time that serious workloads require.

The Instagram Scraper is the right starting point for most users. Run it once against a few profiles or hashtags you care about, download the results, and see what the data looks like before committing to a larger workflow.

Share this:

Tags

#instagram #web scraping #tutorial #social media #data extraction
✍️

Hamza Alwan

Lead Scraper Specialist

Passionate about building efficient scrapers and helping businesses automate their workflows at scale.