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

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapeBase

ScrapeBase

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Instagram Post Details Scraper

Scrape Instagram post / reel / tv details from public URLs (bulk supported).

Key features

  • Bulk input: urls + optional keyword (shortcodes)
  • Robust extraction: uses embedded data-sjs payloads (same strategy as your provided code)
  • Owner enrichment: uses web_profile_info API to fill owner follower/following/post counts when available
  • Smart proxy fallback (with clear logs):
    • Start with NO proxy (direct to Instagram)
    • If blocked/rejected → fallback to DATACENTER
    • If blocked/rejected again → fallback to RESIDENTIAL
    • If residential fails → retries 3 times with residential
    • Once residential is used → stays on residential for the rest of the run
  • Live saving: each result is pushed to the dataset immediately
  • Final OUTPUT: stored as a URL → postDetails JSON mapping (same shape as output.json)

Input example

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

Output

  • Dataset: one row per URL (includes url + extracted fields)
  • Key-Value Store: OUTPUT is a JSON object:
    • keys: input URL
    • values: extracted post details (or null on failure)

Notes / Cautions

  • This actor is intended for publicly available data only.
  • Instagram may block requests; the actor automatically switches proxies according to the rules above.