# Instagram Profile  Scraper (`direct_houseboat/instagram-profile-scraper`) Actor

Scrape public Instagram profile data including bio, email (from bio), followers, and more using usernames or profile URLs.

- **URL**: https://apify.com/direct_houseboat/instagram-profile-scraper.md
- **Developed by:** [Bikram Gautam](https://apify.com/direct_houseboat) (community)
- **Categories:** Lead generation, Social media, Automation
- **Stats:** 271 total users, 1 monthly users, 80.0% runs succeeded, 7 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$9.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🚀 Instagram Profile Scraper – Extract Emails, Followers, Bio & More!

Looking to collect actionable Instagram profile data at scale?
This Instagram Profile Scraper lets you easily extract emails, phone numbers, follower counts, bio, and more from public Instagram profiles using only the username or profile URL.

Perfect for influencer marketing, lead generation, market research, and competitive analysis. Built with Python and powered by proxy, this scraper delivers clean, structured data with high reliability.

### ✅ Key Features

- 🔗 Input flexibility – Accepts usernames (nasa) or full URLs (https://www.instagram.com/nasa)

- 🔐 No login or cookies needed – Uses API token for stable, authenticated access

- 📧 Extract emails and phone numbers – Automatically parsed from bio section

- 📊 Structured output – Follower count, external link, verification status & more

- 🧠 Smart error handling – Skips invalid URLs or usernames with helpful logs

- ⚙️ Threaded execution – Built to run with threads for maximum stability on Apify

- 💾 Easy export – All results saved in Apify Dataset for CSV/JSON download or API use

### 📦 What You Can Scrape

Each profile record includes:

- ✅ Username

- 👤 Full name

- 📝 Bio (biography)

- 🔗 External link (in bio)

- 📧 Email (if present in bio)

- 📞 Phone number (if present in bio)

- 👥 Total followers

- 🔄 Total followings

- 🎯 Category (business/creator type)

- ✔️ Verified status

- 🔒 Private account status

- 🖼️ Profile picture URL

- 🕒 Account creation time (if available)

### 🧠 Use Cases

- Influencer Outreach – Find verified users and extract contact emails

- Lead Generation – Scrape business profiles for bio links and contact info

- Social Media Research – Track accounts for growth metrics and trends

- Brand Monitoring – Monitor competitor or niche influencers

### ⚙️ How It Works

- Add one or more Instagram usernames or profile URLs to the input

- The Actor auto-detects usernames and validates them

- For each valid user, it fetches structured data from Instagram

- Extracts key fields from the JSON response

- Outputs the cleaned results to your Apify Dataset

### 🚀 Quick Start

- Go to Apify Console → Run this Actor

- Provide input like:

```json
{
  "usernames": ["https://www.instagram.com/natgeo", "nasa", "anwar"]
}
```

- Click Run → Done 🎉

- View results in Dataset tab or export to CSV, JSON

### 💡 Pro Tip

Pair this Actor with:

- Email Extractor for domain-level outreach

- Google Sheets integration to automate contact list building

- Zapier or Make to sync scraped data to CRMs or marketing tools

### Start scraping Instagram profile data like a pro.

✅ Fast. ✅ Reliable. ✅ No login needed.

### 📦 Output JSON Format

Each scraped user will produce an object like this:

```json
{
  "username": "nasa",
  "full_name": "NASA",
  "bio": "Explore the universe and discover our home planet.",
  "external_link": "https://www.nasa.gov/",
  "email": "contact@nasa.gov",
  "phone": "+1 123-456-7890",
  "followers": 96500000,
  "following": 75,
  "category": "Government Organization",
  "is_verified": true,
  "is_private": false,
  "profile_picture": "https://instagram.com/path/to/profile_pic.jpg",
  "createTime": "2025-05-16T12:00:00Z"
}
```

🔍 Fields like email, phone, and createTime are parsed from the bio or metadata and may not be available for every profile.

### 🙋‍♂️ Support

Need help? You can reach out via:

- [LinkedIn](https://www.linkedin.com/in/bikram-gautam-263854166/)
- [Upwork](https://upwork.com/freelancers/~016d083ab29dd7a901)
- Apify Help Center
- Or drop a comment on the Actor page!

🎉 Happy scraping!

# Actor input Schema

## `usernames` (type: `array`):

Enter usernames or usernames links, both are acceptable

## Actor input object example

```json
{
  "usernames": [
    "anwar"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "usernames": [
        "anwar"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("direct_houseboat/instagram-profile-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "usernames": ["anwar"] }

# Run the Actor and wait for it to finish
run = client.actor("direct_houseboat/instagram-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "usernames": [
    "anwar"
  ]
}' |
apify call direct_houseboat/instagram-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,direct_houseboat/instagram-profile-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/OmkDl7MC3apz6lx3X/builds/EktMpCL6pCqTMZjP5/openapi.json
