Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

URL Link only

πŸ”— Scrape Instagram From URL

Paste an Instagram URL β†’ get structured metrics. The simplest Instagram link scraper.

Try on Apify Status Showcase License

🌐 Live SEO page: https://shanskarbansal.github.io/scrape-instagram-from-url/


πŸš€ Run it now (live on Apify)

This repository is a public showcase / docs hub. The production scraper runs on Apify β€” no local install required.

β–Ά Try free on Apify Console https://console.apify.com/actors/GLcl7jwhshuWdvkiD/
πŸ“¦ Apify Store page https://apify.com/social_developer/instagram-post-link-scraper
πŸ€– Actor ID social_developer/instagram-post-link-scraper
πŸ”Œ MCP (AI agents) https://mcp.apify.com/?tools=social_developer/instagram-post-link-scraper

Open on Apify


Overview

Searches like scrape instagram from url, instagram url scraper, and instagram post link scraper map to this workflow: you already have the links β€” you just need the data.

Open the URL scraper β†’ https://console.apify.com/actors/GLcl7jwhshuWdvkiD/


Key features

Feature Description
πŸ”— URL-first UX No username discovery step
πŸ“· Posts + 🎬 Reels /p/, /reel/, /reels/
πŸ“‹ Batch paste Array of URLs in one run
❌ Error isolation continueOnError for dirty lists

What you get from each Instagram link

{
  "inputUrl": "https://www.instagram.com/reel/DbDp7T4olyC/",
  "shortCode": "DbDp7T4olyC",
  "ownerUsername": "cristiano",
  "likesCount": 3229072,
  "commentsCount": 39236,
  "videoPlayCount": 43620580,
  "videoViewCount": 43620580,
  "videoDuration": 84.28,
  "caption": "Greatness takes many forms...",
  "hashtags": [],
  "mentions": ["ewc_en"],
  "videoUrl": "https://...",
  "displayUrl": "https://...",
  "timestamp": "2026-07-21T12:35:36.000Z"
}

Input example

{
  "urls": [
    "https://www.instagram.com/reel/DbDp7T4olyC/",
    "https://www.instagram.com/p/SHORTCODE/"
  ],
  "maxConcurrency": 20,
  "requestDelay": 0,
  "continueOnError": true
}

How to scrape Instagram in 30 seconds

  1. Open the live Instagram Scraper on Apify
  2. Paste one or more Instagram post or reel URLs (/p/, /reel/, /reels/)
  3. Click Start
  4. Download JSON / CSV / Excel β€” or pull via API / MCP

Quick API call

curl -s "https://api.apify.com/v2/acts/social_developer~instagram-post-link-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://www.instagram.com/reel/DbDp7T4olyC/"],"maxConcurrency":8}'

Python

from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("social_developer/instagram-post-link-scraper").call(
    run_input={"urls": ["https://www.instagram.com/reel/DbDp7T4olyC/"], "maxConcurrency": 20},
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("ownerUsername"), item.get("videoPlayCount"), item.get("likesCount"))

Perfect for

  • Clipboard β†’ metrics for analysts
  • Spreadsheet columns of IG links β†’ filled metrics
  • Webhook receivers that accept Instagram URLs

SEO / discovery keywords

scrape instagram from url, instagram url scraper, instagram post link scraper, instagram link to data, paste instagram url scrape

πŸ”— More Instagram scraper tools

Part of a suite of Instagram scraping showcases β€” all powered by the same live Apify actor (social_developer/instagram-post-link-scraper):

πŸ‘‰ Run any of them here: https://console.apify.com/actors/GLcl7jwhshuWdvkiD/


Status

Author

Shanskar Bansal β€” GitHub Β· Portfolio

Built for marketers, analysts, dashboards, and AI agents who need Instagram metrics from post/reel links β€” fast and cheap.

About

πŸ”— Scrape Instagram from URL β€” Paste any Instagram post or reel link and extract views, likes, comments & caption. Apify.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors