VOOZH about

URL: https://apify.com/moving_beacon-owner1/my-actor-34

⇱ Instagram Profile & Post Scraper Β· Apify


πŸ‘ Instagram Profile & Post Scraper avatar

Instagram Profile & Post Scraper

Pricing

from $10.00 / 1,000 results

Go to Apify Store

Instagram Profile & Post Scraper

A Python-based Instagram profile scraper that accepts a username or profile URL and extracts public profile details along with complete post information. The tool normalizes and outputs clean, post-level data ready for analysis, CSV/JSON export, or Apify dataset integration.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

a month ago

Last modified

Share

Instagram Profile Scraper

This project scrapes public Instagram profiles using a username or profile URL and extracts complete post-level information in a structured format.

The scraper is designed for data analysis, research, and automation pipelines and outputs clean, flattened data ready for storage or further processing.


✨ Features

  • Scrape Instagram profiles using:

    • βœ… Username (e.g. jamshaid_ds)
    • βœ… Profile URL (e.g. https://www.instagram.com/jamshaid_ds)
  • Extract profile-level data

  • Extract all available post information

  • Automatically normalize nested data

  • Export results as:

    • CSV
    • JSON
    • Apify Dataset (Actor.push_data)

πŸ“Œ Extracted Profile Information

For each Instagram profile:

  • username
  • full_name
  • avatar_url
  • bio
  • website
  • followers
  • following
  • posts_count
  • is_private

πŸ“Έ Extracted Post Information

For each post:

  • image_url
  • caption
  • download_link
  • posted_at
  • post_type (image / video / reel)

Each row in the final dataset represents one post.


πŸ› οΈ Tech Stack

  • Python 3.10+
  • Pandas
  • Async scraping
  • Apify Actor SDK (optional)
  • CSV / JSON data handling

πŸš€ Usage

1️⃣ Install Dependencies

$pip install-r requirements.txt

2️⃣ Provide Input

You can pass either:

  • Username
jamshaid_ds
  • Profile URL
https://www.instagram.com/jamshaid_ds/

The scraper automatically extracts the username from the URL if needed.


3️⃣ Run the Scraper

$python main.py

πŸ“€ Output Format

CSV Output

username,full_name,followers,following,image_url,caption,posted_at,post_type

JSON / Apify Dataset Output

{
"username":"@jamshaid_ds",
"full_name":"Jamshaid Arif",
"image_url":"https://...",
"caption":"CSLB SCRAPER...",
"posted_at":"2025-10-22 08:07:48",
"post_type":"image"
}

πŸ”„ Data Normalization Logic

  • posts_data is converted from string β†’ dictionary
  • Nested post data is flattened using pandas.json_normalize
  • Final dataset is post-level, not profile-level

This ensures compatibility with:

  • Databases (PostgreSQL, MySQL)
  • Analytics pipelines
  • Apify datasets

πŸ“¦ Apify Integration (Optional)

If running as an Apify Actor:

await Actor.push_data(df_final.to_dict(orient="records"))

Each post is pushed as a separate dataset item.


⚠️ Limitations

  • Only public profiles are supported
  • Private accounts cannot be scraped
  • Instagram rate limits may apply
  • This tool does not bypass authentication

πŸ“„ Disclaimer

This project is for educational and research purposes only. Users are responsible for complying with Instagram’s Terms of Service and applicable laws.


You might also like

Instagram Profile Post Scraper

simpleapi/instagram-profile-post-scraper

Instagram Profile Post Scraper extracts posts from any public Instagram profile, including captions, image/video URLs, hashtags, timestamps, and engagement metrics. Ideal for content analysis, influencer research, trend tracking, and automating structured Instagram post data collection

Instagram Profile Scraper

scraperforge/instagram-profile-scraper

πŸ“Έ Instagram Profile Scraper extracts structured, public profile dataβ€”name, username, bio, website, category, verification, follower/following & post counts, and recent post metadata. πŸš€ Ideal for influencer discovery, competitor research & social analytics.

Instagram Latest Post Date Tracker

newbs/Latest-Post-Time-Instagram

Track the latest public Instagram post time for one or more profiles. Accepts usernames and profile URLs, and exports profile metadata plus the newest post URL and timestamp.

Instagram Profile Scraper

codenest/instagram-profile-scraper

Extract complete Instagram profile data including follower counts, business details, verification status, profile pictures, and engagement metrics in structured JSON format for analysis and integration. ✨Instagram Profile Scraper.

instagram profile scraper pro

qaseemiqbal/instagram-profile-scraper-pro

Extract clean public Instagram profile data from usernames, profile URLs, or profile IDs. Get followers, bio, links, public contact clues, business signals, and profile status in a ready-to-download dataset.

Muhammad Qaseem Iqbal

3

Instagram Profile Post Scraper

scrapium/instagram-profile-post-scraper

πŸ“Έ Instagram Profile Post Scraper extracts public profile posts: captions, hashtags, media URLs, timestamps, likes & comments. ⚑ Fast, reliable, scalable. πŸ“Š Export JSON/CSV for analysis. πŸ” Ideal for social listening, competitor research, content planning & influencer vetting.