# Instagram Leads Generation (`am_production/instagram-leads-generator`) Actor

Cheapest Leads Generate targeted Instagram leads in minutes. Search by keywords to find users posting about topics relevant to your business. Get clean lists of profiles for outreach campaigns. Perfect for agencies, marketers & sales teams building prospect lists from Instagram engagement data.

- **URL**: https://apify.com/am_production/instagram-leads-generator.md
- **Developed by:** [NoSite](https://apify.com/am_production) (community)
- **Categories:** Automation, Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 152 total users, 2 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$5.00 / 1,000 leads

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 Leads Generator

Extract detailed Instagram profile data from keyword searches for lead generation, influencer outreach, and market research.

### 🌟 Part of Celestia Leads

This tool is a **streamlined version** of our comprehensive lead generation platform, [**Celestia Leads**](https://celestialeads.com/) - an AI-powered closed beta solution that revolutionizes Instagram lead generation.

#### Celestia Leads Full Platform Features:

- 🎯 **Mass Lead Extraction**: Generate thousands of leads daily from hashtags and competitor accounts
- 🤖 **AI-Powered Personalization**: Automatically generate personalized DM messages for each lead
- 📊 **Real-Time Analytics Dashboard**: Track engagement, response rates, and campaign performance
- 🔄 **Daily Fresh Data**: Continuously updated leads with recent activity monitoring
- 🎨 **Campaign Management**: Organize and segment leads for targeted outreach
- 📈 **Competitor Analysis**: Extract leads from your competitors' followers and engagers

**Interested in the full platform?** Contact us to join the Celestia Leads closed beta and unlock advanced AI-powered lead generation capabilities.

***

### 📋 What This Tool Does

This Apify actor allows you to:

- Search Instagram posts by keywords or hashtags
- Extract **complete profile data** including follower counts, bio, websites, and more
- Build targeted prospect lists with rich contact information
- Identify potential customers, influencers, and competitors with detailed insights
- Filter leads based on account type, verification status, and engagement metrics

Perfect for marketers, agencies, sales teams, and businesses looking to find engaged Instagram users in their niche with actionable profile data.

***

### 🚀 How to Use

#### Input

```json
{
  "keywords": ["fitness coach", "real estate agent", "digital marketing"],
  "max_posts": 50
}
```

**Parameters:**

- `keywords` (required): Array of keywords or hashtags to search for
- `max_posts` (optional): Maximum number of posts to analyze per keyword (default: 50)

#### Output

Each row in the dataset represents one unique Instagram profile with comprehensive data:

```json
{
  "username": "fitness_coach_123",
  "full_name": "John Doe",
  "biography": "Certified Fitness Coach | Nutrition Expert 💪",
  "profile_picture_url": "https://instagram.com/profile.jpg",
  
  "followers_count": 15000,
  "follows_count": 800,
  "media_count": 250,
  "total_clips_count": 15,
  
  "is_verified": false,
  "is_business": true,
  "is_professional_account": true,
  "is_private": false,
  "account_type": "Business",
  "category": "Fitness Coach",
  
  "external_url": "https://johndoe.com",
  "website": "https://johndoe.com",
  "city_name": "Los Angeles",
  "address_street": "123 Fitness St",
  "bio_links": [
    {
      "url": "https://johndoe.com/book",
      "link_type": "external"
    }
  ],
  
  "score": 85,
  "keywords_searched": ["fitness coach"],
  "scraped_at": "2024-12-16 19:30:45"
}
```

**Pricing Note:** You are charged per result (per unique profile found). If the tool finds 100 unique profiles, you pay for 100 results.

***

### 📊 Rich Profile Data Included

#### 👤 **Core Profile Information**

- Username
- Full display name
- Biography/bio text
- Profile picture URL

#### 📈 **Account Metrics**

- Follower count
- Following count
- Total posts/media count
- Reels/clips count

#### ✅ **Account Type & Verification**

- Verification status
- Business account indicator
- Professional account status
- Privacy settings (public/private)
- Account type classification
- Business category

#### 🌐 **Contact & Location Data**

- External website URLs
- Bio links (multiple links support)
- City location
- Street address (for businesses)

#### 🎯 **Lead Quality Indicators**

- Profile quality score (0-100)
- Keywords that matched
- Timestamp of data collection

***

### 📊 Use Cases

#### 🎯 **B2B Lead Generation**

Find business owners and professionals with complete contact information including websites and location data. Filter by business category and follower counts.

#### 🤝 **Influencer Marketing**

Discover micro-influencers with detailed engagement metrics. Identify verified accounts, professional creators, and niche content producers.

#### 🔍 **Market Research**

Analyze competitor landscapes with comprehensive profile data. Understand account types, categories, and business information in your industry.

#### 💼 **Sales Prospecting**

Build targeted outreach lists with website URLs and bio links. Prioritize leads using the quality score and engagement metrics.

#### 🏆 **Brand Partnership**

Identify potential brand ambassadors and collaboration opportunities. Filter by verification status, follower ranges, and business type.

#### 📍 **Local Business Targeting**

Find businesses and influencers in specific cities. Use location data to build geo-targeted campaigns.

***

### 💡 Tips for Best Results

1. **Use Specific Keywords**: "vegan restaurant NYC" works better than just "food"
2. **Mix Broad and Niche**: Combine general and specific keywords for comprehensive coverage
3. **Adjust max_posts**: Higher values = more results but slower processing (50-200 recommended)
4. **Filter in Post-Processing**: Use the rich data fields to filter leads:
   - Target business accounts only (`is_business: true`)
   - Focus on verified accounts (`is_verified: true`)
   - Filter by follower ranges for micro-influencers
   - Prioritize profiles with external URLs for outreach
5. **Export Options**: Download results as JSON, CSV, or Excel from the dataset tab

***

### 📈 Example Workflows

#### Example 1: Finding Fitness Coaches in LA

**Input:**

```json
{
  "keywords": ["fitness coach los angeles", "personal trainer LA"],
  "max_posts": 100
}
```

**Post-Processing Filter:**

- `is_business: true`
- `city_name: "Los Angeles"`
- `followers_count > 1000`
- `external_url` is not null

**Result:** Verified fitness professionals with websites for partnership outreach.

***

#### Example 2: Micro-Influencer Discovery

**Input:**

```json
{
  "keywords": ["sustainable fashion", "eco-friendly style", "ethical clothing"],
  "max_posts": 150
}
```

**Post-Processing Filter:**

- `followers_count` between 5,000 - 50,000
- `is_professional_account: true`
- `media_count > 50`

**Result:** Engaged micro-influencers in sustainable fashion niche.

***

#### Example 3: Local Restaurant Outreach

**Input:**

```json
{
  "keywords": ["restaurant owner", "cafe owner", "food business"],
  "max_posts": 80
}
```

**Post-Processing Filter:**

- `is_business: true`
- `category` contains "Food" or "Restaurant"
- `address_street` is not null

**Result:** Local food businesses with physical locations for B2B services.

***

### 📊 Output Structure

#### Dataset Tab

Each profile is stored as a separate row with all 22+ data fields. Perfect for:

- CSV/Excel export for CRM import
- Filtering and sorting in spreadsheets
- API integration for automated workflows

#### Summary Tab (Key-Value Store)

Access comprehensive search statistics:

```json
{
  "keywords_processed": 3,
  "keywords_failed": 0,
  "total_posts_found": 250,
  "total_profiles": 180,
  "unique_profiles": 150,
  "processing_time_seconds": 45.67,
  "results_per_keyword": [...]
}
```

***

### 🆘 Support

**Having issues or questions?**

- Check the **Dataset** tab for profile results
- View the **Summary** tab for search statistics
- Review the **Log** tab for processing details
- Contact me directly for technical support

**Want more advanced features?** Upgrade to [Celestia Leads](https://celestialeads.com/) for AI-powered personalization, automated messaging, and comprehensive analytics.

***

### 🔒 Privacy & Compliance

This tool only extracts publicly available Instagram profile information that users have chosen to make public. No private data, direct messages, or non-public information is collected.

**Important Notes:**

- Only public profiles are included in results
- Data collection respects Instagram's Terms of Service
- Users should comply with GDPR, CCPA, and applicable data protection regulations
- Extracted data should be used responsibly for legitimate business purposes

***

### 🌐 About Celestia Leads

Celestia Leads is an AI-powered Instagram lead generation platform currently in closed beta. Unlike this basic keyword search tool, Celestia Leads offers:

- **Unlimited Daily Leads**: Extract thousands of leads from hashtags, competitors, and targeted searches
- **AI Message Generation**: Automatically craft personalized, high-converting DM messages based on profile data
- **Smart Segmentation**: Organize leads by niche, engagement level, location, and 50+ data points
- **Performance Dashboard**: Real-time tracking of campaigns, messages sent, and response rates
- **Competitor Intelligence**: Monitor and extract leads from competitor followers and engagers
- **Fresh Data Guarantee**: Daily updates ensure you're always reaching active, engaged users
- **Advanced Filtering**: Search by follower ranges, location, verification status, and more
- **CRM Integration**: Direct integration with popular CRM platforms

**Ready to scale your Instagram lead generation?**\
Visit [Celestia Leads](https://celestialeads.com/) or contact us to request access to the full platform.

***

### ⚡ Why Choose This Tool?

✅ **Rich Data**: Not just usernames - get 22+ profile fields\
✅ **Business Ready**: Extract websites, locations, and contact info\
✅ **Quality Scoring**: Built-in lead quality assessment\
✅ **Flexible Export**: CSV, JSON, Excel - your choice\
✅ **Fair Pricing**: Pay only for unique profiles found\
✅ **Fast Processing**: Results in minutes, not hours

***

**Built with ❤️ by the Celestia Leads Team**

# Actor input Schema

## `keywords` (type: `array`):

Array of keywords to search for posts. Enter one keyword per line or as JSON array.

## `max_posts` (type: `integer`):

Maximum number of posts to collect per keyword

## Actor input object example

```json
{
  "keywords": [
    "technology",
    "AI",
    "programming"
  ],
  "max_posts": 20
}
```

# Actor output Schema

## `profiles` (type: `string`):

Complete list of Instagram profiles found with detailed information

## `summary` (type: `string`):

Detailed statistics about the search including keywords processed and profile counts

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("am_production/instagram-leads-generator").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("am_production/instagram-leads-generator").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 '{}' |
apify call am_production/instagram-leads-generator --silent --output-dataset

```

## MCP server setup

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

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/ogs2pDDZxq0WHFyA9/builds/2Ow0yzqsq8QnDmUKm/openapi.json
