Instagram Post Details Scraper avatar

Instagram Post Details Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Instagram Post Details Scraper

Instagram Post Details Scraper

📸 Instagram Post Details Scraper extracts captions, hashtags, likes, comments, views, timestamps, media URLs, mentions & location—plus engagement metrics. 🔎 Perfect for social listening, competitor analysis & content strategy. ✅ Respect privacy & ToS.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapePilot

ScrapePilot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Instagram Post Details Scraper

Instagram Post Details Scraper is a production-ready Instagram post scraper that extracts structured metadata from public post, reel, and IGTV URLs at scale. It solves the pain of manual copy-paste by delivering clean post IDs, shortcodes, captions, media URLs, timestamps, and engagement metrics you can analyze instantly. Built for marketers, developers, data analysts, and researchers, this Instagram post details extractor powers social listening, competitor benchmarking, and content intelligence—reliably and at scale.

What data / output can you get?

Below are real output fields produced for each processed URL. They cover core identifiers, media, engagement, and owner context for reliable Instagram post analytics extraction.

Data fieldDescriptionExample value
post_idUnique Instagram media ID (stringified)"1943892793847289100"
short_codePost shortcode extracted from URL"Bq-mIJWgUAU"
usernamePoster or first-tagged user’s handle"natgeo"
post_dateISO-8601 UTC timestamp of the post"2023-11-02T14:25:36.000Z"
like_countTotal likes count (if visible)128450
comment_countTotal comments count (if visible)532
video_view_countVideo views (if video/reel)1034500
video_play_countVideo play count (if available)1050033
display_urlFull-size image URL for the post"https://instagram.xx.cdn/…/display.jpg"
thumbnail_urlSmallest candidate image URL"https://instagram.xx.cdn/…/thumb.jpg"
video_urlDirect video URL (if video/reel)"https://instagram.xx.cdn/…/video.mp4"
captionPost caption text"Chasing light in the mountains…"
altAccessibility caption (if present)"A hiker on a ridge at sunrise"
locationLocation object from the post (if any){"name":"Yosemite","lat":37.75,"lng":-119.59}
is_paid_partnershipPaid partnership flagtrue
is_adAd flag (detected from ad_id)false
is_caption_editedWhether the caption was editedfalse
has_ranked_commentsRanked comments flagtrue
video_durationVideo duration in seconds (if any)29.8
sponsor_userSponsor tags array (if any)[]
upcoming_eventAttached event object (if any)null
ownerOwner profile object with counts{"username":"natgeo","edge_followed_by":{"count":28300000},…}
latest_commentsLatest comments snapshot (array)[{"id":"179…","text":"Amazing!",…}]

Notes:

  • Dataset rows include the input URL in the url field. On failures, a row with url and error is saved.
  • Extra context is enriched from public profile data when available (owner.edge_followed_by.count, owner.edge_following.count, owner.edge_owner_to_timeline_media.count).
  • You can download your results from the Apify dataset in CSV, JSON, or Excel formats, making this a practical Instagram post metadata scraper and Instagram post analytics extractor.

Key features

  • 🔍 Robust HTML payload parsing (data-sjs) Extracts post details directly from embedded data-sjs payloads on the page for high accuracy—ideal to scrape Instagram post data without brittle rendering.

  • 👤 Owner enrichment via web_profile_info When available, enriches the owner object with follower, following, and post counts—great for Instagram post analytics extraction and user-level insights.

  • 🧠 Smart proxy fallback (direct → datacenter → residential) Starts without a proxy and escalates only if blocked. Once residential proxies are used, they remain sticky for the rest of the run—ensuring resilient Instagram public post scraper operations.

  • 📦 Live saving to dataset + URL → postDetails map Each result is pushed instantly to the dataset and mirrored in the key-value store under OUTPUT as a URL-to-details mapping—perfect for bulk Instagram post data extraction.

  • 🖼️ Media-ready outputs Returns display_url, thumbnail_url, and video_url (when applicable), making it easy to download Instagram posts with metadata for archives and analyses.

  • 🔐 Public data only — no login Designed for publicly available posts, reels, and IGTV clips. No login or cookies required, making it a safe Instagram post API alternative.

  • 💻 Developer-friendly on Apify Run via Apify UI or API, export to JSON/CSV/Excel, and plug into pipelines (Zapier/Make/n8n via Apify) for automated Instagram post metadata scraper workflows.

How to use Instagram Post Details Scraper - step by step

  1. Create or log in to your Apify account.
  2. Open the “Instagram Post Details Scraper” actor on the Apify platform.
  3. Paste your public Instagram post/reel/IGTV URLs into the urls input list (one per line).
  4. (Optional) Configure proxyConfiguration if you prefer proxies upfront. By default, requests go direct and only escalate if blocked.
  5. Start the run. The actor fetches each URL, parses embedded payloads, and enriches owner counts when available.
  6. Monitor progress in the console logs. Results are saved live to the dataset; a URL → postDetails JSON map is also maintained in the key-value store under OUTPUT.
  7. Export results from the dataset in your preferred format (JSON, CSV, Excel) for further analysis, reporting, or ingestion into dashboards.

Pro tip: Orchestrate this Instagram post scraper in automation workflows via the Apify API to keep your Instagram engagement data scraper pipeline up to date.

Use cases

Use caseDescription
Marketing analytics + engagement trackingMeasure performance by extracting like_count, comment_count, and video_view_count for Instagram post analytics extraction across campaigns.
Competitor content benchmarkingCompare captions, posting cadence (post_date), and media types to refine your content strategy.
Social listening on public postsCapture captions (with any in-text hashtags/mentions), location, and latest_comments for trend and sentiment analysis.
Content archiving with metadataDownload Instagram posts with metadata via display_url/video_url and preserve alt, location, and timestamps.
Research & academic studiesBuild structured datasets from public posts for longitudinal studies of topics, events, or brands.
Data engineering/API pipelinesTreat it as an Instagram post API alternative; integrate outputs into analytics lakes, BI tools, or dashboards.

Why choose Instagram Post Details Scraper?

The scraper is engineered for precision, resilience, and automation on top of Apify’s infrastructure.

  • 🧠 Accurate extraction from embedded payloads for stable results.
  • 📈 Scales to many URLs with live dataset writes for reliable bulk Instagram post data extraction.
  • 🔌 Smart proxy escalation keeps blocking at bay for consistent runs.
  • 👤 Owner enrichment adds follower/following/post counts where available.
  • 💻 Developer-ready: Run via Apify API and export structured data for pipelines.
  • 🔐 Public-data only and no-login operation for safe, compliant use.
  • ⚙️ More reliable than brittle browser extensions or ad-hoc scripts.

In short, it’s a robust Instagram post metadata scraper that outperforms unstable alternatives when you need consistent, structured results.

Is it legal / ethical to use Instagram Post Details Scraper?

Yes—when done responsibly. This tool targets publicly available Instagram content and is not designed for private or authenticated data.

Guidelines to follow:

  • Only process public posts/reels/IGTV content.
  • Respect platform terms of service and usage limits.
  • Ensure compliance with applicable regulations (e.g., GDPR, CCPA).
  • Avoid collecting or using data for spam or misuse.
  • Consult your legal team for edge cases and jurisdiction-specific questions.

Input parameters & output format

Example JSON input

{
"urls": [
"https://www.instagram.com/p/Bq-mIJWgUAU/",
"https://www.instagram.com/reel/CgzOZz5DWaQ/",
"https://www.instagram.com/tv/CgzOZz5DWaQ/"
],
"proxyConfiguration": {
"useApifyProxy": false
}
}

Parameters

  • urls

  • proxyConfiguration

    • Type: object
    • Description: Optional. Default: No proxy—requests go direct to Instagram. If blocked: fallback to Datacenter, then Residential. If residential fails, retry 3×. Once on residential, stick with it for all remaining requests. All proxy changes are logged.
    • Default: {"useApifyProxy": false}
    • Required: No

Example dataset row (success)

{
"url": "https://www.instagram.com/p/Bq-mIJWgUAU/",
"post_id": "1943892793847289100",
"short_code": "Bq-mIJWgUAU",
"username": "natgeo",
"thumbnail_url": "https://instagram.xx.cdn/…/thumb.jpg",
"is_affiliate": false,
"is_paid_partnership": true,
"is_ad": false,
"is_insights_as_brand": false,
"is_caption_edited": false,
"has_ranked_comments": true,
"like_count": 128450,
"comment_count": 532,
"video_view_count": 1034500,
"video_play_count": 1050033,
"post_date": "2023-11-02T14:25:36.000Z",
"display_url": "https://instagram.xx.cdn/…/display.jpg",
"alt": "A hiker on a ridge at sunrise",
"location": {
"name": "Yosemite",
"lat": 37.75,
"lng": -119.59
},
"caption": "Chasing light in the mountains…",
"video_duration": 29.8,
"video_url": "https://instagram.xx.cdn/…/video.mp4",
"sponsor_user": [],
"upcoming_event": null,
"owner": {
"id": "123456789",
"username": "natgeo",
"is_verified": true,
"profile_pic_url": "https://instagram.xx.cdn/…/avatar.jpg",
"blocked_by_viewer": false,
"restricted_by_viewer": null,
"followed_by_viewer": false,
"full_name": "National Geographic",
"has_blocked_viewer": false,
"is_embeds_disabled": false,
"is_private": false,
"is_unpublished": false,
"requested_by_viewer": false,
"pass_tiering_recommendation": null,
"edge_owner_to_timeline_media": { "count": 24567 },
"edge_followed_by": { "count": 28300000 },
"edge_following": { "count": 75 }
},
"latest_comments": [
{
"id": "17900000000000000",
"text": "Amazing!",
"created_at": 1698930000,
"did_report_as_spam": false,
"owner": {
"id": "88776655",
"is_verified": false,
"profile_pic_url": "https://instagram.xx.cdn/…/user.jpg",
"username": "traveler123"
},
"viewer_has_liked": false,
"edge_liked_by": { "count": 4 },
"is_restricted_pending": false,
"edge_threaded_comments": {
"count": 0,
"page_info": { "has_next_page": false, "end_cursor": null },
"edges": []
}
}
]
}

Example dataset row (failure)

{
"url": "https://www.instagram.com/p/INVALID/",
"error": "Media item not found in HTML"
}

Key-Value Store (OUTPUT) mapping

{
"https://www.instagram.com/p/Bq-mIJWgUAU/": {
"post_id": "1943892793847289100",
"short_code": "Bq-mIJWgUAU",
"username": "natgeo",
"thumbnail_url": "https://instagram.xx.cdn/…/thumb.jpg",
"is_affiliate": false,
"is_paid_partnership": true,
"is_ad": false,
"is_insights_as_brand": false,
"is_caption_edited": false,
"has_ranked_comments": true,
"like_count": 128450,
"comment_count": 532,
"video_view_count": 1034500,
"video_play_count": 1050033,
"post_date": "2023-11-02T14:25:36.000Z",
"display_url": "https://instagram.xx.cdn/…/display.jpg",
"alt": "A hiker on a ridge at sunrise",
"location": { "name": "Yosemite" },
"caption": "Chasing light in the mountains…",
"video_duration": 29.8,
"video_url": "https://instagram.xx.cdn/…/video.mp4",
"sponsor_user": [],
"upcoming_event": null,
"owner": { "username": "natgeo", "edge_followed_by": { "count": 28300000 } },
"latest_comments": []
},
"https://www.instagram.com/p/INVALID/": null
}

Fields that may be missing or null:

  • alt, location, video_url, video_duration, sponsor_user, upcoming_event, latest_comments depend on the post type and availability on the public page.
  • Owner follower/following/post counts are populated when the public web_profile_info endpoint returns data.

FAQ

Is there a free trial or pricing?

Yes. This actor offers a flat monthly plan and includes 120 trial minutes to test the workflow. You can start on the free trial and upgrade to the paid plan ($19.99/month) if it fits your needs.

Do I need to log in to scrape Instagram posts?

No. The scraper is designed for public posts, reels, and IGTV content and does not require login. It works as an Instagram public post scraper without cookies or authentication.

Which data types are covered by the output?

It returns core identifiers and engagement (post_id, short_code, like_count, comment_count, video_view_count, video_play_count), timestamps (post_date), media URLs (display_url, thumbnail_url, video_url), caption text, location (if present), and an owner object enriched with follower/following/post counts when available. A latest_comments snapshot is also included when parsed from the page.

Can it scrape likes and views from videos and reels?

Yes. The output includes like_count, comment_count, video_view_count, and video_play_count when those metrics are present on the public page, making it a practical way to scrape Instagram post likes and views.

Does it download or expose media files?

It doesn’t download files by itself but returns direct URLs in display_url, thumbnail_url, and video_url (if available). You can use these links to download Instagram posts with metadata in your own pipeline.

Is this an API alternative for Instagram post details?

Yes. You can run the actor programmatically via the Apify API and treat it as an Instagram post API alternative to power automated pipelines and dashboards.

Does it include comments?

It includes a latest_comments snapshot when available (with ids, text, basic owner info, and likes for each comment). It is not a full historical comments scraper, but it helps as an Instagram comments scraper for recent context.

How does the scraper handle blocking?

It starts direct (no proxy) and escalates to datacenter, then residential proxies if blocked. Once residential is used, it sticks with it for the rest of the run. This smart proxy fallback makes it a resilient Instagram engagement data scraper for larger jobs.

Closing thoughts

Instagram Post Details Scraper is built to extract structured, analytics-ready post data from public Instagram URLs—reliably and at scale. With accurate HTML payload parsing, owner enrichment, and resilient proxy handling, it’s ideal for marketers, analysts, researchers, and developers. Run it on Apify, export clean JSON/CSV/Excel, or integrate via API as an Instagram post API alternative in your automation pipeline. Start extracting smarter Instagram post metadata and insights today.