Xpersona
I

Instagram Scraper

CLAWHUB · Unverified

Scrape public Instagram profile data including follower counts, bio, recent posts, and engagement metrics without login or browser. Use when you want to anal... Skill: Instagram Scraper Owner: phy041 Summary: Scrape public Instagram profile data including follower counts, bio, recent posts, and engagement metrics without login or browser. Use when you want to anal... Tags: instagram:1.0.0, latest:1.0.0, scraping:1.0.0 Version history: v1.0.0 | 2026-03-06T03:39:15.194Z | user Initial release Archive index: Archive v1.0.0: 2 files, 2247 bytes Files: SKILL.md (4204b), _meta.jso

62
Rank
84
Safety
990
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 990 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s175g2rty8e4mw6h9zcwwgxmfn884t23:phy-instagram-scraper
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-phy041-phy-instagram-scraper/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

4,830 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

---
name: instagram-scraper
description: Scrape public Instagram profile data including follower counts, bio, recent posts, and engagement metrics without login or browser. Use when you want to analyze an Instagram account's profile stats and recent content for competitive research or audience intelligence.
metadata: {"requires": ["python3", "httpx"], "env": [], "tags": ["instagram", "social-media", "scraper", "profile", "research"]}
---

# Instagram Public Profile Scraper

Fetches public Instagram profile data using Instagram's internal API. No login required, no browser needed, no Playwright overhead. Returns structured profile stats and recent post data.

## Requirements

```bash
pip install httpx
```

## Usage

```bash
python instagram_scraper.py <username>
python instagram_scraper.py google
python instagram_scraper.py nike
```

## What It Returns

### Profile Data
| Field | Description |
|-------|-------------|
| `id` | Instagram user ID |
| `username` | Handle |
| `full_name` | Display name |
| `biography` | Bio text |
| `external_url` | Link in bio |
| `is_verified` | Blue check status |
| `is_private` | Account privacy |
| `is_business_account` | Business profile flag |
| `business_category_name` | Business category |
| `followers_count` | Follower count |
| `following_count` | Following count |
| `posts_count` | Total post count |
| `profile_pic_url` | HD profile photo URL |

### Recent Posts (up to 12)
| Field | Description |
|-------|-------------|
| `id` | Post ID |
| `shortcode` | Post shortcode |
| `url` | Full post URL |
| `display_url` | Full-resolution image |
| `thumbnail_url` | Thumbnail image |
| `is_video` | Video post flag |
| `caption` | Post caption text |
| `likes_count` | Like count |
| `comments_count` | Comment count |
| `timestamp` | Unix timestamp |

## Output

Results are saved to `./storage/instagram/<username>.json`:

```json
{
  "profile": {
    "username": "google",
    "full_name": "Google",
    "followers_count": 12500000,
    ...
  },
  "recent_posts": [
    {
      "url": "https://www.instagram.com/p/ABC123/",
      "likes_count": 45230,
      "caption": "...",
      ...
    }
  ]
}
```

## Implementation

The scraper uses Instagram's internal web API endpoint (`i.instagram.com/api/v1/users/web_profile_info/`) with a standard browser User-Agent and the public Instagram app ID. This is the same endpoint the Instagram web client calls on first page load.

```python
class InstagramScraper:
    BASE_URL = "https://i.instagram.com/api/v1"
    APP_ID = "936619743392459"  # Public Instagram web app ID

    async def get_profile(self, username: str) -> dict:
        """Fetch a user's public profile data."""
        ...

    def parse_profile(self, raw_data: dict) -> dict:
        """Extract key information from raw profile data."""
        ...

    async def get_recent_posts(self, raw_profile: dict, limit: int = 12) -> list:
        """Extract recent posts from profile data."""
        ...
```

## Error Handling

| 

_meta.json

{
  "ownerId": "kn7fdhcxytgt3k2vvnc24c8ke581g5j1",
  "slug": "phy-instagram-scraper",
  "version": "1.0.0",
  "publishedAt": 1772768355194
}

Sponsored

Ads related to Instagram Scraper and adjacent AI workflows.