Instagram Public Profile Scraper for Openclaw

A lightweight Python tool for scraping public Instagram profile metrics and recent post data without requiring a login or browser automation.

phy041
v1.0.0
Mar 6, 2026
0
140
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install phy-instagram-scraper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install phy-instagram-scraper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Instagram Public Profile Scraper?

The Instagram Public Profile Scraper is a streamlined utility designed to extract comprehensive metadata from public Instagram accounts. Unlike traditional scraping methods that rely on heavy browser automation like Playwright or Selenium, this tool interfaces directly with Instagram's internal web API. This approach makes it a highly efficient choice for developers building Openclaw Skills that require social media intelligence.

The skill retrieves critical data points including follower counts, verified status, business categories, and engagement metrics for the most recent 12 posts. By bypassing the need for an authenticated session, it simplifies the workflow for gathering competitive intelligence and audience data while maintaining a low resource footprint.

Instagram Public Profile Scraper Use Cases

  • Competitive Analysis: Automate the tracking of competitor follower growth and posting frequency.
  • Influencer Vetting: Evaluate potential partners by calculating engagement rates from recent post data.
  • Content Research: Identify high-performing content themes and formats within specific niches.
  • Brand Monitoring: Stay updated on brand presence and public profile changes across the platform.

How Instagram Public Profile Scraper Works

  1. The user provides a target Instagram handle as a command-line argument.
  2. The script initializes an HTTP client using the httpx library with a specific User-Agent and Public Instagram App ID.
  3. A request is sent to Instagram's internal web_profile_info endpoint to fetch the JSON payload for the profile.
  4. The skill parses the raw API response to extract structured profile metadata and the 12 most recent post entries.
  5. The structured data is validated and saved as a JSON file in a local storage directory for further analysis or integration.

Instagram Public Profile Scraper Setup

To integrate this into your collection of Openclaw Skills, ensure you have Python 3 installed, then install the required dependency:

pip install httpx

Run the scraper by passing the target username:

python instagram_scraper.py google

Instagram Public Profile Scraper Data Schema & Taxonomy

The skill organizes data into a structured JSON format saved at ./storage/instagram/<username>.json.

Data Object Key Fields
Profile id, username, full_name, biography, external_url, followers_count, following_count, is_verified, business_category_name
Recent Posts id, shortcode, url, display_url, likes_count, comments_count, caption, timestamp, is_video

Instagram Public Profile Scraper Advanced Features

  • Direct API Interaction: Uses internal endpoints to avoid the overhead and resource consumption of headless browsers.
  • Structured JSON Output: Automatically organizes raw data into a clean hierarchy for easy ingestion by other Openclaw Skills.
  • Error Handling & Resilience: Includes logic to handle user-not-found errors and provides clarity on rate-limiting triggers.
  • Lightweight Architecture: Minimal dependencies ensure fast execution and easy deployment in containerized environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*