# Instagram likers profile with email scraper (`logical_scrapers/instagram-likers-profile-with-email-scraper`)

Extract users who liked an Instagram post along with their profile data and email addresses.

- **URL**: https://beta-securitybyobscurity.apify.com/logical\_scrapers/instagram-likers-profile-with-email-scraper.md
- **Developed by:** [Goldmine](https://beta-securitybyobscurity.apify.com/logical_scrapers) (community)
- **Categories:** Lead generation, Social media, Automation
- **Stats:** 17 total users, 10 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 results

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for dataset items the Actor outputs.

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

# README

## Instagram Lead Generator from post likers

### Introduction

The Instagram Lead Generator is a powerful Apify actor that combines Instagram liker scraping with profile analysis to extract valuable contact information for lead generation. This actor scrapes users who liked specific Instagram posts and then analyzes their profiles to extract emails, phone numbers, social media links, and other contact information.

### Key Features

- **User profile details extraction**
- **Contact Extraction**: Automatically extracts emails and phone numbers from user bios
- **Social Media Links**: Identifies social media profiles and website links
- **Business Intelligence**: Extracts business contact information when available

### Use Cases

#### Lead Generation

- **B2B Lead Generation**: Find potential business contacts from industry-related posts
- **Sales Prospecting**: Identify prospects who engage with relevant content
- **Marketing Campaigns**: Build targeted contact lists for email/SMS campaigns
- **Networking**: Connect with users interested in specific topics

#### Market Research

- **Competitor Analysis**: Analyze who engages with competitor content
- **Audience Research**: Understand the contact information of engaged users
- **Industry Mapping**: Map contact information across industry influencers
- **Trend Analysis**: Track contact patterns in trending posts

#### Business Development

- **Partnership Discovery**: Find potential business partners with contact info
- **Influencer Outreach**: Identify influencers with available contact methods
- **Customer Acquisition**: Target users who engage with relevant content
- **Brand Monitoring**: Track who engages with brand content and their contact info

### Input

The actor accepts the following input parameters:

| Field       | Type   | Required | Description                                                |
| ----------- | ------ | -------- | ---------------------------------------------------------- |
| `urls`      | Array  | **Yes**  | List of Instagram post URLs to scrape likers from          |
| `maxLikers` | Number | No       | Maximum likers to process per post (default: 50, max: 100) |
| `cookies`   | Array  | **Yes**  | Instagram authentication cookies for liker scraping        |
| `proxy`     | Object | No       | Proxy configuration for both operations                    |

#### Example Input

```json
{
  "urls": [
    "https://www.instagram.com/p/CxYz123ABC/",
    "https://www.instagram.com/p/ABC456def/"
  ],
  "maxLikers": 50,
  "cookies": [
    {
      "name": "sessionid",
      "value": "your_session_id_here"
    },
    {
      "name": "csrftoken",
      "value": "your_csrf_token_here"
    },
    {
      "name": "ds_user_id",
      "value": "your_user_id_here"
    }
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Output Format

The actor stores results in the default dataset. Each item contains comprehensive lead information:

#### Example Output

```json
{
  "pk": "8234323460",
  "username": "anittaal3",
  "full_name": "AnittaAL",
  "is_private": false,
  "is_verified": false,
  "profile_pic_url": "https://instagram.fbsr2-2.fna.fbcdn.net/v/t51.2885-19/460953330_3927717614177385_899709762990507422_n.jpg",

  "emails": ["contact@anitta.com", "business@anitta.com"],
  "phone_numbers": ["+1-555-123-4567", "(555) 987-6543"],
  "social_links": ["https://twitter.com/anitta", "https://facebook.com/anitta"],
  "website_links": ["https://anitta.com", "https://anitta.shop"],

  "bio": "Digital creator | Contact: contact@anitta.com | Call: +1-555-123-4567",
  "external_url": "https://anitta.com",
  "followers": 15000,
  "following": 500,
  "is_business_account": true,
  "business_email": "business@anitta.com",
  "business_phone": "+1-555-987-6543",
  "category": "Digital Creator",

  "post_url": "https://www.instagram.com/p/CxYz123ABC/",
  "post_shortcode": "CxYz123ABC"
}
```

#### Output Fields

| Field                              | Type    | Description                                           |
| ---------------------------------- | ------- | ----------------------------------------------------- |
| **Contact Information (Priority)** |         |                                                       |
| `emails`                           | Array   | Extracted email addresses (from bio + business email) |
| `phone_numbers`                    | Array   | Extracted phone numbers (from bio + business phone)   |
| `social_links`                     | Array   | Social media profile links                            |
| `website_links`                    | Array   | Website and non-social links                          |
| **Basic Profile**                  |         |                                                       |
| `pk`                               | String  | User's unique Instagram ID                            |
| `username`                         | String  | Instagram username                                    |
| `full_name`                        | String  | Display name                                          |
| `is_private`                       | Boolean | Whether account is private                            |
| `is_verified`                      | Boolean | Whether account is verified                           |
| `profile_pic_url`                  | String  | Profile picture URL                                   |
| **Profile Details**                |         |                                                       |
| `bio`                              | String  | User's biography text                                 |
| `external_url`                     | String  | External website URL                                  |
| `followers`                        | Number  | Follower count                                        |
| `following`                        | Number  | Following count                                       |
| `is_business_account`              | Boolean | Whether it's a business account                       |
| `business_email`                   | String  | Business email (if available)                         |
| `business_phone`                   | String  | Business phone (if available)                         |
| `category`                         | String  | Business category                                     |
| **Post Context**                   |         |                                                       |
| `post_url`                         | String  | Original post URL                                     |
| `post_shortcode`                   | String  | Post shortcode                                        |

#### Contact Extraction Capabilities

##### Email Detection

- Standard email formats: `user@domain.com`
- Business emails from profile data
- Emails embedded in bio text

##### Phone Number Detection

- International formats: `+1-234-567-8900`
- US/Canada formats: `(123) 456-7890`, `123-456-7890`
- Extensions: `123-456-7890 ext 123`
- WhatsApp/Telegram numbers

##### Social Media Links

- Instagram, Facebook, Twitter/X, LinkedIn
- YouTube, TikTok, Snapchat, Pinterest
- Discord, Telegram, WhatsApp

### Authentication

#### Method 1: Using Cookie Editor Extension (Recommended)

1. **Install the Cookie Editor extension** from [Microsoft Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/cookieeditor/neaplmfkghagebokkhpjpoebhdledlfi)
2. **Open Instagram** in your browser and log in
3. **Click the Cookie Editor extension** icon
4. **Export cookies as JSON** and paste the entire JSON in the cookies field

For a detailed video tutorial, watch [this video](https://youtu.be/LK7EnP6YFPA).

#### Lead Generation Strategy

1. **Industry-Specific Posts**: Target posts in your industry for better quality leads
2. **Influencer Posts**: Posts from industry influencers often have engaged followers
3. **Trending Content**: Monitor trending posts for high-engagement opportunities
4. **Regular Monitoring**: Set up regular runs to capture new leads

### Support

For technical support, questions, or custom development requests, please contact:

**Email**: coredev.dan@gmail.com

***

*Built with ❤️ by the Goldmine*

Instagram, how to scrape instagram, instagram scraper, lead generation, automation, instagram lead generation, instagram automation, instagram scraper tool, instagram data extraction, instagram data scraping, instagram data mining, instagram data analysis, instagram data collection, instagram data extraction tool, instagram data scraping tool, instagram data mining tool, instagram data analysis tool, instagram data collection tool, instagram lead generation tool, instagram automation tool, instagram scraper software, instagram data extraction software, instagram data scraping software, instagram data mining software, instagram data analysis software, instagram data collection software, instagram lead generation software, instagram automation software, instagram scraper program, instagram data extraction program, instagram data scraping program, instagram data mining program, instagram data analysis program, instagram data collection program, instagram lead generation program, instagram automation program, instagram scraper application, instagram data extraction application, instagram data scraping application, instagram data mining application, instagram data analysis application, instagram data collection application, instagram lead generation application, instagram automation application

# Actor input Schema

## `urls` (type: `array`):

List of Instagram post URLs to scrape likers from

## `maxLikers` (type: `integer`):

Maximum number of likers to fetch per post

## `cookies` (type: `array`):

Instagram authentication cookies in JSON format (name-value pairs). To export cookies

1. Install the Cookie Editor extension from [here](https://microsoftedge.microsoft.com/addons/detail/cookieeditor/neaplmfkghagebokkhpjpoebhdledlfi)
2. open Instagram
3. export cookies as JSON
4. paste the JSON in this field.
   For more, watch [this video](https://youtu.be/LK7EnP6YFPA).
   Required for accessing post likers.

## `proxy` (type: `object`):

Select proxies to be used by the scraper to avoid being blocked by Instagram.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/p/DJSMN7wOa4_"
  ],
  "maxLikers": 50,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "urls": [
        "https://www.instagram.com/p/DJSMN7wOa4_"
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logical_scrapers/instagram-likers-profile-with-email-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 = {
    "urls": ["https://www.instagram.com/p/DJSMN7wOa4_"],
    "proxy": { "useApifyProxy": True },
}

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

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

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

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.instagram.com/p/DJSMN7wOa4_"
  ],
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call logical_scrapers/instagram-likers-profile-with-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=logical_scrapers/instagram-likers-profile-with-email-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram likers profile with email scraper",
        "description": "Extract users who liked an Instagram post along with their profile data and email addresses.",
        "version": "0.1",
        "x-build-id": "BnhABPbD0E6igdLBd"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/logical_scrapers~instagram-likers-profile-with-email-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-logical_scrapers-instagram-likers-profile-with-email-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/logical_scrapers~instagram-likers-profile-with-email-scraper/runs": {
            "post": {
                "operationId": "runs-sync-logical_scrapers-instagram-likers-profile-with-email-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/logical_scrapers~instagram-likers-profile-with-email-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-logical_scrapers-instagram-likers-profile-with-email-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls",
                    "cookies"
                ],
                "properties": {
                    "urls": {
                        "title": "Instagram Post URLs",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "List of Instagram post URLs to scrape likers from",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxLikers": {
                        "title": "Maximum Likers",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of likers to fetch per post",
                        "default": 50
                    },
                    "cookies": {
                        "title": "Instagram Cookies",
                        "type": "array",
                        "description": "Instagram authentication cookies in JSON format (name-value pairs). To export cookies \n1. Install the Cookie Editor extension from [here](https://microsoftedge.microsoft.com/addons/detail/cookieeditor/neaplmfkghagebokkhpjpoebhdledlfi) \n2. open Instagram \n3. export cookies as JSON \n4. paste the JSON in this field. \nFor more, watch [this video](https://youtu.be/LK7EnP6YFPA). \nRequired for accessing post likers."
                    },
                    "proxy": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used by the scraper to avoid being blocked by Instagram."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
