Instagram Related Profiles Scraper
Pricing
from $0.60 / 1,000 results
Instagram Related Profiles Scraper
Scrape Instagram profile data, profile statistics, and recursive related-profile discovery from public Instagram pages
Pricing
from $0.60 / 1,000 results
Rating
0.0
(0)
Developer
Instagram Scraper
Maintained by CommunityActor stats
4
Bookmarked
1.4K
Total users
166
Monthly active users
16 days ago
Last modified
Categories
Features
Share
A powerful scraper built for recursive profile discovery and data mining. Start with a single Instagram username or URL and automatically traverse "related profiles" to map out interconnected networks, discover influencers, and find niche communities.
Focused exclusively on profiles, this actor traverses up to your desired scrapeDepth and extracts comprehensive profile data—returning normalized profile fields (identity, stats, and account flags), raw metadata, and optional previews like latest_posts and related_profiles for every discovered account.
What this actor can do
- Scrape Instagram profile stats: followers, following, number of posts
- Get key profile attributes: verified/private/business flags, profile pictures, bio, external links (if available)
- Keep additional raw profile metadata from Instagram, including viewer/account capability flags and business/category fields when available
- Optionally scrape a linked Facebook profile into
fb_profilewhenscrapeFacebookProfileis enabled - Optionally return post counts and latest post previews (caption, image, media type, basic author, and carousel count when available) when
skipAdditionalDatais turned off - Return a list of related profiles (useful for discovery and recursive expansion)
- Expand related profiles up to a configurable
scrapeDepth - Accept both usernames and profile URLs
Want to get other details from Instagram?
This actor is optimized for profiles (not full post feeds). If you want to scrape other Instagram data, use a dedicated scraper for that specific data type.
Related actors:
| Actor | Description | Stats |
|---|---|---|
| Instagram Profile Finder | Find relevant Instagram profiles by keyword or topic | |
| Instagram Profile Scraper | Scrape Instagram profile data and profile statistics from public Instagram pages | |
| Fast Instagram Profile Posts Scraper | Scrape post data from Instagram profile pages | |
| Instagram Profile Posts Scraper | Extract profile post details such as hashtags, counts, media, and shortcode | |
| Fast Instagram Profile Reels Scraper | Scrape public Instagram Reels from profile pages | |
| Instagram Posts & Reels Scraper | Scrape Instagram posts and Reels data | |
| Instagram Hashtags Posts Scraper | Scrape public Instagram hashtag pages |
What data can I scrape from Instagram profiles?
Using this Instagram Related Profiles API, you can extract both normalized fields and additional Instagram profile metadata (when available on the public profile):
| Category | Fields | What you get |
|---|---|---|
| Core profile IDs | pk, pk_id, id, username, full_name, url | Instagram profile identifiers plus the canonical profile URL. |
| Profile media & links | profile_pic_url, profile_pic_url_hd, profile_pic_id, profile_pic_genai_tool_info[], has_profile_pic, biography, contact_email, bio_links[], external_url, external_url_linkshimmed, pronouns[] | Profile pictures, bio text, extracted contact email, bio links, and Instagram link-wrapper URLs when present. bio_links[] keeps Instagram's current nested link shape, including keys such as image_url, is_pinned, link_type, lynx_url, media_type, and creation_source. |
| Facebook enrichment | fb_profile, linked_fb_info | Optional Facebook lookup output from one detected profile URL when scrapeFacebookProfile is enabled, plus raw Instagram-linked Facebook metadata when Instagram exposes it. |
| Counts & activity | followers, following, post_count, total_clips_count, latest_reel_media | High-level profile counts and reel activity metadata when available. post_count may be approximate because Instagram displays abbreviated counts such as 14K or 1.2M. If the count is unavailable, post_count is emitted as null. |
| Account state & flags | account_type, category, is_verified, is_private, is_business, is_professional_account, is_memorialized, is_unpublished, is_embeds_disabled, has_any_clips, has_story_archive, is_active_on_text_post_app, hide_creator_marketplace_badge, is_regulated_c18, is_coppa_enforced, is_cannes | Visibility, category, and account-state flags from Instagram's current profile payload. |
| Transparency & context | should_show_category, show_account_transparency_details, show_text_post_app_badge, text_post_app_badge_label, transparency_label, transparency_product, live_broadcast_visibility, live_broadcast_id, supervision_info, mutual_followers_count, profile_context_links_with_user_ids, profile_context_facepile_users, show_ring_award, is_ring_creator, account_badges[] | Additional transparency, broadcast, supervision, and context metadata when Instagram includes it. |
| Public location hints | address_street, city_name, zip | Public location/contact-adjacent profile metadata when exposed by Instagram. |
| Latest posts (preview) | latest_posts[] | First-page previews from the public profile page when enabled. Each item has the 17 fields documented below; unavailable engagement statistics, publication times, video details, and carousel children are not included. |
| Related profiles | related_profiles[] | Suggested accounts used for discovery and recursive expansion. Each item currently includes id, username, full_name, profile_pic_url, is_private, and is_verified when present in Instagram's response. |
| Traversal & scrape metadata | depth, source_username, ig_status, message (not-found items), crawled_at | depth is 0 for an input username and increases by one for each related-profile hop. source_username is null at the root and otherwise points to the parent username. ig_status is ok, not_found, or invalid_input. |
Notes:
- Field availability depends on what Instagram returns for a given profile (especially for private accounts).
- Some fields are normalized by the actor (
followers,following), while others are passed through from Instagram's profile payload. - Raw Instagram metadata can change over time, so downstream consumers should treat optional pass-through fields as non-guaranteed.
post_countis available to all users. Instagram may display abbreviated counts (for example,14K Posts), so values should be treated as approximate. If the count is unavailable,post_countis emitted asnull.- If an input username or profile URL is invalid, the actor emits a dataset row with
ig_status = "invalid_input"instead of silently dropping that value. contact_emailis extracted frombiographyorfull_namewhen an email address is present on a found profile, and isnullotherwise.fb_profileisnullwhen the toggle is disabled or no Facebook profile URL is found. If Facebook profile parsing still fails after retries, the actor keepsfb_profileasnullinstead of throwing. Other lookup failures can still surface asfb_profile.status = "error"orfb_profile.status = "not_found".latest_postsprovides the available first-page public previews for all users and keeps every valid item available in that batch, without an output cap or automatic pagination.related_profilescontains Instagram's suggested accounts for the profile.- For stable downstream parsing, missing optional scalars remain
nulland known list fields remain arrays. For example, profilepronounsand previewhashtagsandmentionsare emitted as[]when no values are present. - The filter fields only decide whether a profile is written to the dataset. They do not stop related profiles from being fetched.
Typical use cases
- Influencer discovery and enrichment (profile stats, verification, business account)
- Competitor monitoring (track follower growth over time)
- Lead enrichment for sales/marketing (public business profiles)
- Content research (quick look at latest post captions and preview images)
Input
Configure these fields in the Actor’s Input tab in the Apify Console:
instagramUsernames (required)
A list of Instagram usernames or profile URLs you want to scrape.
Examples:
googlehttps://www.instagram.com/google/
scrapeFacebookProfile (optional)
When enabled, the actor looks for one Facebook profile URL in this order: external_url, bio_links, biography, then full_name.
The nested fb_profile payload includes url, status, message, bio, profile_name, page_id, counts, and category/profile-type fields when available.
skipAdditionalData (optional)
Controls whether the actor collects additional post data: latest_posts
previews and post_count. These optional details are available to all users.
- Default:
true true: skip both and returnlatest_posts: []andpost_count: nullfalse: collect the available previews and post count
The minPosts and maxPosts filters still require collecting post_count even
when skipAdditionalData is true; previews remain skipped in that case.
This replaces skipLatestPosts and skipPostCount. The old input fields are
ignored. Update saved inputs to use skipAdditionalData: false if you need post
counts or previews; post counts are now skipped by default.
Latest-post preview fields
Each item contains exactly these 17 fields:
| Fields | Meaning |
|---|---|
pk, id | Original media identifiers and types, or null when unavailable. |
code, shortcode, url | Media shortcode and a link to the post or Reel. A valid shortcode takes precedence over code; both output fields use that value. |
media_type, product_type, is_video | Available media classification and a boolean indicating whether the preview identifies a video. |
caption, hashtags, mentions | Caption text and deduplicated hashtags/mentions in their original order, without # or @. An empty caption stays an empty string. |
accessibility_caption, display_uri, image | Available accessibility text and preview image URL. |
user | Basic media author object with id and username. A collaborator can differ from the profile being scraped. |
carousel_media_count | Reported carousel size, or null when unavailable. Carousel children are not included. |
crawled_at | Collection time in UTC ISO 8601, shared by the preview batch. |
Missing supported scalar or object values use null; hashtags and mentions
use []. These previews do not include engagement counts, publication times,
video URLs or durations, dimensions, music, tagged users, or carousel children.
These unavailable details are omitted instead of adding placeholder keys.
Latest-post scope and limits
- Previews come from the first page of the public profile. The actor keeps every valid preview in the returned order, without a fixed item count, output cap, or automatic pagination. Pinned or ranked posts can affect the order.
skipAdditionalDatadefaults totrue. Collect previews and post counts together withskipAdditionalData: false.- Private, restricted, unavailable, or partially visible profiles can produce
an empty or incomplete preview.
latest_posts: []does not prove that the profile has no posts. - If the optional preview lookup or parsing fails, the actor still saves the profile with an empty preview. It does not fetch extra post details to fill gaps.
- Preview image URLs come from Instagram and may expire. Download or process images promptly if your workflow needs durable copies.
scrapeDepth (optional)
Controls how many additional related-profile layers are expanded.
0: store the input profile and its direct related profiles1: also expand the related profiles of those related profiles10is the maximum accepted value
maxResultsPerProfile (optional)
Limits the number of saved profiles per input account, including the input account itself and related profiles discovered at any depth.
- Minimum value:
10 - Default: no limit (omit the field or set it to
null) - Each input account has its own limit; duplicate profiles are saved only once.
- Actual results may be lower depending on profile availability, filters, and the run's maximum charge.
Filter fields (optional)
These fields are grouped under a Filters section in the Apify Console and are top-level JSON inputs.
In the console they render as Yes / No dropdowns. In raw JSON, use lowercase yes / no; leave a field empty or set it to null to disable that filter.
{"minFollowers": 1000,"maxFollowers": 1000000,"minPosts": 10,"maxPosts": 5000,"isVerified": "yes","isPrivate": "no","isBusinessAccount": "yes"}
Leave any field empty or null to disable that specific filter.
Profiles that are filtered out still count as processed work and may trigger the
filtered-out billing event even though they do not appear in the dataset.
Quick start (Apify Console)
- Add one or more values to
instagramUsernames(either usernames likenypostor URLs likehttps://www.instagram.com/google/). - Adjust
scrapeDepth, the filter fields, ormaxResultsPerProfileonly if you need a deeper crawl or tighter result limits. - Click Run → open the Dataset tab to view/export results (JSON, CSV, Excel, etc.).
This makes the actor usable as an Instagram profile scraping API, because datasets can be consumed programmatically via Apify’s API.
Example input
{"instagramUsernames": ["kevinhart4real"],"scrapeFacebookProfile": true,"skipAdditionalData": false,"scrapeDepth": 1,"maxResultsPerProfile": 100,"isVerified": "yes","isPrivate": "no"}
Example output
This synthetic example shows one preview item so the output shape remains readable. Production runs keep all valid items available in the recent post preview; they are not limited to the one item shown below. Optional pass-through fields may differ between profiles and as Instagram changes its response.
{"pk": "123","username": "sampleprofile","full_name": "Example Business","biography": "Contact hello@example.com","profile_pic_url": "https://example.com/profile.jpg","profile_pic_url_hd": "https://example.com/profile-hd.jpg","requested_by_viewer": null,"business_email": null,"is_private": false,"is_verified": false,"post_count": 42,"id": "123","url": "https://www.instagram.com/sampleprofile/","contact_email": "hello@example.com","followers": 321,"following": 12,"latest_posts": [{"pk": "media-0","id": "opaque-media-0","code": "SHORT0","shortcode": "SHORT0","url": "https://www.instagram.com/p/SHORT0/","media_type": 8,"product_type": "carousel_container","caption": "Example post 0 #sample @collaborator","hashtags": ["sample"],"mentions": ["collaborator"],"accessibility_caption": "Example preview","display_uri": "https://example.com/preview-0.jpg","image": "https://example.com/preview-0.jpg","is_video": false,"user": {"id": "author-0","username": "sampleprofile"},"carousel_media_count": 7,"crawled_at": "2026-10-31T00:00:00Z"}],"related_profiles": [],"fb_profile": null,"ig_status": "ok","crawled_at": "2026-10-31T00:00:00Z","is_business": null,"is_professional_account": null,"category": null,"should_show_category": null,"depth": 0,"source_username": null}
Example dataset item when a profile is not found:
{"username": "11","depth": 0,"source_username": null,"ig_status": "not_found","message": "Profile not found or restricted","url": "https://www.instagram.com/11/","crawled_at": "2026-02-06T08:03:20.522Z"}
Here, ig_status: "not_found" means Instagram did not return profile data for that username because the profile does not exist or access to it is restricted.
Tips & troubleshooting
Don’t overload the actor. If you need to scrape large lists, split inputs into batches.
Legal & ethical notice
You are responsible for ensuring your use of this actor complies with:
- Instagram’s Terms of Service
- Applicable laws and regulations (privacy, data protection, etc.)
Only scrape data you have the right to access, and avoid collecting personal data without a lawful basis.