Instagram Profile Scraper (Bio, Metrics & Recent Posts) avatar

Instagram Profile Scraper (Bio, Metrics & Recent Posts)

Pricing

from $1.00 / 1,000 profiles

Go to Apify Store
Instagram Profile Scraper (Bio, Metrics & Recent Posts)

Instagram Profile Scraper (Bio, Metrics & Recent Posts)

Scrape public Instagram profile data from a batch of usernames or profile URLs. Returns bio, metrics, 6 recent posts, and related profile suggestions — 1 profile = 1 dataset item.

Pricing

from $1.00 / 1,000 profiles

Rating

0.0

(0)

Developer

hephaestus.dev

hephaestus.dev

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

2

Monthly active users

11 days ago

Last modified

Share

Extract public Instagram profile data (bio + links + metrics) plus the 6 most recent posts — at batch scale.
1 profile = 1 dataset item (recent posts are embedded inside the profile result).


✅ What this actor does

Given a list of Instagram usernames or profile URLs, this actor fetches publicly available profile data and returns one clean JSON result per profile.

📦 Data you get (per profile)

  • 👤 Profile basics: username, full name, profile URL, pronouns
  • 📝 Bio text + bio links
  • 🔗 Parsed outbound links: website + common social platforms (when present)
  • 🖼️ Profile photo URLs: default + HD (when available)
  • Account status: verified / private / business / professional flags
  • 📊 Metrics: followers, following, media count, highlight count
  • 🧾 Recent posts (6): engagement fields + media URLs (when available)
  • 🧭 Related accounts: suggested profiles (when available)

⭐ Why this actor?

  • Predictable results: exactly one dataset item per profile (no exploding outputs per post)
  • Batch-friendly: paste hundreds/thousands of usernames or URLs
  • No Instagram login required: public data only
  • No proxy setup required: nothing to configure in input
  • Operational controls: concurrency, retries, timeouts
  • Debuggable: failures and optional diagnostics saved to Key‑Value Store

💡 Common use cases

  • Influencer research: quickly pull follower counts, bios, and recent content
  • Brand monitoring: track competitor profiles and posting activity
  • Link enrichment: collect website / Link-in-bio destinations at scale
  • Content analysis: review the latest posts for themes and engagement signals
  • Account validation: confirm whether a profile is public/private/verified

⚙️ Input

Required

  • usernames (array of strings): Instagram usernames or profile URLs
    Examples: "nasa", "@natgeo", "https://www.instagram.com/nasa/"

Advanced (optional)

  • maxConcurrency (1–10, default: 3): parallel profile requests
  • maxRetries (0–5, default: 2): retries for transient failures (e.g., timeouts, 429/5xx)
  • timeoutSeconds (10–120, default: 60): per-request timeout
  • debug (boolean, default: false): save per-handle diagnostics to Key‑Value Store (DEBUG.json)

This actor also accepts legacy keys (hidden in the Store UI) such as username, usernamesText, handles.

Example input JSON

{
"usernames": ["nasa", "https://www.instagram.com/natgeo/"],
"maxConcurrency": 3,
"maxRetries": 2,
"timeoutSeconds": 60,
"debug": false
}

📤 Output

Dataset

  • One item per successfully fetched profile
  • Each item contains: requested_at, handle, profile, metrics, recent_posts, related_accounts

Key‑Value Store

  • FAILED.json: failures (no dataset item is created for failed handles)
  • DEBUG.json: optional per-handle diagnostics (only when debug = true)

Example output (single dataset item)

{
"requested_at": "2026-02-15T15:30:00.000000",
"handle": "nasa",
"profile": {
"id": "528817151",
"username": "nasa",
"full_name": "NASA",
"profile_url": "https://www.instagram.com/nasa/",
"external_url": "https://www.nasa.gov",
"pronouns": [],
"profile_pic": {
"default": "https://scontent.../default.jpg",
"hd": "https://scontent.../hd.jpg"
},
"bio": {
"text": "Explore the universe and discover our home planet with NASA",
"links": [
{
"title": "NASA",
"url": "https://www.nasa.gov",
"lynx_url": "https://l.instagram.com/...",
"link_type": ""
}
]
},
"links": {
"websiteUrl": "https://www.nasa.gov",
"websiteUrls": ["https://www.nasa.gov"],
"instagramUrl": "",
"facebookUrl": "",
"twitterUrl": "",
"linkedinUrl": "",
"youtubeUrl": "",
"twitchUrl": "",
"snapchatUrl": "",
"discordUrl": "",
"pinterestUrl": ""
},
"category": {
"business_category_name": "Government Organization",
"overall_category_name": "Government Organization",
"category_enum": "GOVERNMENT_ORGANIZATION"
},
"status": {
"is_private": false,
"is_verified": true,
"is_business_account": true,
"is_professional_account": true,
"hide_like_and_view_counts": false
}
},
"metrics": {
"followers": 98000000,
"following": 85,
"media_count": 4200,
"highlight_reel_count": 45
},
"recent_posts": {
"count": 6,
"items": [
{
"id": "3512345678901234567",
"shortcode": "C1AbCdEfGhI",
"media_type": "GraphImage",
"is_video": false,
"caption": "A stunning view of Earth from the ISS...",
"like_count": 2500000,
"comment_count": 15000,
"view_count": null,
"taken_at": "2026-02-14T18:00:00Z",
"permalink": "https://www.instagram.com/p/C1AbCdEfGhI/",
"display_url": "https://scontent.../image.jpg",
"thumbnail_src": "https://scontent.../thumb.jpg",
"accessibility_caption": "Photo of Earth from space"
}
],
"page_info": {
"has_next_page": true,
"end_cursor": "QVFBbG9..."
}
},
"related_accounts": [
{
"id": "123456789",
"username": "nasahubble",
"full_name": "Hubble Space Telescope",
"profile_pic_url": "https://scontent.../pic.jpg",
"is_verified": true,
"is_private": false
}
]
}

❓ FAQ

Do I need proxies?
No proxy configuration is required in this actor’s input.

Do I need an Instagram login?
No. This actor pulls public profile data only.

Will it work for private accounts?
Private profiles may fail or return limited data, depending on what is publicly available.

How many posts does it return?
Up to 6 recent posts are included in recent_posts.items (when available).

Where do failures go?
Failures are recorded in Key‑Value Store as FAILED.json. Successful profiles are written to the dataset.


Limitations

  • Instagram changes frequently; occasional upstream failures can happen even with retries.
  • This actor only returns what is available publicly.

Disclaimer

Unofficial. Not affiliated with, endorsed by, or sponsored by Instagram or Meta. You are responsible for ensuring your use complies with applicable laws and Instagram/Meta terms.