# Instagram B2b Lead Generator Email Scraper (`solid-scraper/instagram-b2b-lead-generator-email-scraper`) Actor

📧 Generate B2B leads fast with our Instagram email scraper! Identify targeted prospects by niche, location & keywords—ideal for sales, agencies & marketers. Get accurate leads instantly and boost outreach ROI 🚀

- **URL**: https://apify.com/solid-scraper/instagram-b2b-lead-generator-email-scraper.md
- **Developed by:** [SolidScraper](https://apify.com/solid-scraper) (community)
- **Categories:** Lead generation, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### Instagram B2b Lead Generator Email Scraper 📬

**Instagram B2b Lead Generator Email Scraper** extracts public emails from Instagram bios so you can build an Instagram outreach email list without spending hours manually hunting for contacts. Whether you’re using an **instagram b2b lead generator**, an **instagram lead scraper email** workflow, or an **instagram influencer b2b email scraper** for research, this actor helps you scale lead discovery by using your **keywords (hashtags, niches, or keywords)** plus a **target country**—saving you hours of manual work.

---

### Why choose Instagram B2b Lead Generator Email Scraper?

| Feature | Benefit |
| --- | --- |
| ✅ All-in-one email extraction | Extracts emails directly from publicly available Instagram bios in one run |
| ✅ Country targeting | Focuses lead generation for a specific **Target Country** to fit your market |
| ✅ Flexible content scope | Uses **Content Type** selection (All, Profiles, Posts, Reels) to match your research needs |
| ✅ Reliability with an engine choice | Choose between a **Performance** (new) and a **Standard** scraping engine approach |
| ✅ Structured, table-ready output | Produces clean dataset fields like `email`, `email_domain`, and `source_region` for easy analysis |
| ✅ Built for scale with limits | Set `maxEmails` (up to 10,000) to control how many emails you collect per run |

---

### Key features

- 📌 **Accurate email extraction from Instagram bios**: Collects business emails that appear in public Instagram bios to support **b2b lead generation email scraper** use cases  
- 🌐 **Keyword-driven discovery**: Use `searchTerms` (hashtags, niches, or keywords) to find relevant creator and business profiles—ideal for **instagram outreach email list builder** workflows  
- 🎯 **Country-focused lead lists**: Helps you build region-relevant results for **instagram b2b leads email list** targeting  
- 🧭 **Content type filtering**: Choose **All**, **Profiles**, **Posts**, or **Reels** via `sourceRegion` for more controlled **instagram contact info scraper** runs  
- 🛡️ **Engine selection for robustness**: Switch between the available **Scraping Engine** options for your performance needs  
- 💾 **Structured dataset output**: Saves each extracted record with fields such as `title`, `url`, `description`, `email`, and `email_domain` for quick downstream use  
- 🔄 **Run-time limits to control scope**: Use `maxEmails` to cap how many emails are collected per run (great for iterative campaigns)  

---

### Input

Provide input via an `input.json` file. Example structure:

```json
{
  "searchTerms": [
    "fitness",
    "gym",
    "workout"
  ],
  "country": "United States",
  "sourceRegion": "All",
  "engine": "legacy",
  "maxEmails": 20
}
````

#### Input Fields

| Key | Required | Description |
| --- | --- | --- |
| `searchTerms` | ✅ | Hashtags, niches, or keywords to search on Instagram. These drive the lead discovery for your **instagram b2b lead generator** workflow. |
| `country` | ✅ | Select the country for localized lead generation. This helps tailor your **instagram b2b leads email list** results to your target market. |
| `sourceRegion` | ✅ | Select the Instagram source type: `All`, `Profiles`, `Posts`, or `Reels`. This controls what kinds of public content are considered for extraction. |
| `engine` | ❌ | Select your preferred scraping method. Available options are `cost-effective` (“Performance (New)”) and `legacy` (“Standard”). Default is `legacy`. |
| `maxEmails` | ✅ | Limit the number of emails to collect. Minimum is `1`, maximum is `10000`. Default is `20`. |

***

### Output

The actor saves each extracted lead record into the dataset as JSON (table-ready fields shown below).

```json
[
  {
    "searchTerm": "fitness",
    "title": "Example Profile Title",
    "url": "https://www.instagram.com/example/",
    "description": "Bio/description text with contact info",
    "email": "contact@example.com",
    "email_domain": "example.com",
    "source_region": "Profiles",
    "country": "United States"
  }
]
```

#### Output Fields

| Field | Type | Description |
| --- | --- | --- |
| `searchTerm` | string | The input search term that was used for this lead record |
| `title` | string | Profile title (as captured from the public listing context) |
| `url` | string | Profile URL |
| `description` | string | Bio/description text associated with the profile |
| `email` | string | Business email address extracted from the public bio |
| `email_domain` | string | The email domain (e.g., `example.com`) |
| `source_region` | string | The selected content type label used for the record (Profiles/Posts/Reels/All scope as applicable) |
| `country` | string | Target country selected for the run |
| `error_message` | string | (Not available in the provided output schema/dataset transformation) |

> Note: The dataset view transformation defines the fields `searchTerm`, `title`, `url`, `description`, `email`, `email_domain`, `source_region`, and `country`.

Export your dataset records from Apify in common formats like **JSON** and **CSV** for CRM import, spreadsheet work, or **instagram b2b leads email list** building.

***

### How to use Instagram B2b Lead Generator Email Scraper (via Apify Console)

1. **Open Apify Console**\
   Log in at https://console.apify.com and open the **Actors** section.

2. **Find the actor**\
   Search for **Instagram B2b Lead Generator Email Scraper** and open the actor page.

3. **Go to the INPUT tab**\
   You’ll see a form based on the input schema. Enter:
   - `searchTerms` (hashtags, niches, or keywords)
   - `country`
   - `sourceRegion` (All, Profiles, Posts, Reels)
   - Optionally `engine`
   - Set `maxEmails` to control how many results you want

4. **Choose your Scraping Engine (optional but recommended)**\
   If you have cost/performance priorities, select between the provided engine options. Default is `legacy`.

5. **Set `maxEmails`**\
   Use this to cap output size (from 1 to 10,000). This is especially useful when you’re building an **instagram dm lead generation tool** style pipeline in batches.

6. **Click Run**\
   Start the actor run and monitor logs in real time. If the engine encounters rate pressure or issues, the run is designed to stay resilient with retries and fallbacks.

7. **Open the OUTPUT tab / dataset**\
   When finished, open the dataset named **Instagram Leads Data** and preview the extracted leads (including `email` and `email_domain`).

8. **Export to your workflow**\
   Export from Apify to **JSON/CSV**, then import into your CRM or analysis pipeline (e.g., **crm instagram lead import**).

No coding required — get accurate results in minutes with Instagram B2b Lead Generator Email Scraper.

***

### Advanced features & SEO optimization

- ⚡ **Engine choice for different priorities**: Select the provided `engine` options to fit your speed/cost expectations for **instagram email scraper tool** workflows
- 🔁 **Resilient execution**: Includes retries and fallbacks to keep lead extraction stable across different public web responses
- 🔍 **Bio-focused contact discovery**: Built specifically to find emails in publicly available Instagram bios, supporting **instagram profile email finder** use cases
- 🧹 **Clean, structured lead records**: Email, domain, profile URL, title, description, `source_region`, and `country` are ready for analysis and list building
- 🌍 **Market-ready targeting**: Use `country` to generate region-relevant results for **instagram b2b lead generator** campaigns

***

### Best use cases

- 📈 **Influencer marketing outreach**: Build a targeted Instagram contact list by extracting emails from public bios for faster brand-to-creator messaging
- 🏢 **B2B partnerships lead generation**: Generate an **instagram outreach email list builder** dataset filtered by your niche keywords and business context
- 🔎 **Market research by region**: Compare lead availability across countries using the `country` input for more consistent audience targeting
- 🧾 **CRM instagram lead import**: Produce structured records (`email`, `email_domain`, `url`) that are straightforward to map into CRM fields
- 🧠 **Sales prospecting and enrichment**: Enrich prospect accounts with business email domains to speed up qualification and sequencing
- 💼 **Agency workflow automation**: Turn **instagram lead scraper email** runs into repeatable batch jobs for multiple clients and campaigns
- 🧑‍🔬 **Data analysis on public contact signals**: Use `searchTerm`, `source_region`, and `country` to analyze what niches and content types yield the most email-bearing bios

***

### Technical specifications

- **Supported Input Formats**
  - ✅ `searchTerms` as an array of keywords (hashtags, niches, or keywords)
  - ✅ `country` as a country name (selected from the provided enum)
  - ✅ `sourceRegion` as `All`, `Profiles`, `Posts`, or `Reels`
  - ✅ `engine` as `cost-effective` or `legacy`
  - ✅ `maxEmails` integer from `1` to `10000` (default `20`)
- **Proxy Support**
  - ✅ Built-in proxy support for reliable scraping
- **Retry Mechanism**
  - ✅ Includes retries and fallbacks for resilience
- **Dataset Structure**
  - ✅ Saves records into dataset view **Extracted Leads** with fields: `searchTerm`, `title`, `url`, `description`, `email`, `email_domain`, `source_region`, `country`
- **Rate Limits & Performance**
  - ✅ Use `engine` and `maxEmails` to balance throughput and output size
- **Limitations**
  - ❌ Results depend on what is publicly available in Instagram bios (no access to private/authenticated data)

***

### FAQ

#### Does Instagram B2b Lead Generator Email Scraper require coding or an API integration?

No. You can use it directly from Apify Console by providing the required `input.json` fields in the UI and running the actor.

#### What data does the actor extract?

It extracts **public emails from Instagram bios**, and saves profile metadata such as `title`, `url`, and `description`, alongside `email_domain`, `source_region`, and `country`.

#### How do I control how many emails I get?

Use the `maxEmails` input. It limits the maximum number of emails collected per run (from 1 up to 10,000).

#### Can I target specific regions?

Yes. Set the `country` input to one of the provided country options, so your **instagram b2b leads email list** is localized to your market.

#### What does “Content Type” selection do?

The `sourceRegion` input lets you choose `All`, `Profiles`, `Posts`, or `Reels` to scope what kinds of Instagram public content are considered for extraction.

#### Which scraping engine should I use: Performance (New) or Standard?

Use `engine` to choose between the provided options: `cost-effective` (Performance (New)) and `legacy` (Standard). If you’re optimizing for speed/cost, pick the Performance option; if you prefer the default approach, keep `legacy`.

#### How can I export the results for my CRM or analysis?

After the run, open the dataset **Instagram Leads Data** in the OUTPUT tab and export the dataset records (JSON/CSV) for tools like spreadsheets, analytics, or CRM import pipelines.

#### Is it safe to use for lead generation?

✅ The actor is designed to work with **publicly available sources**. You should still ensure your use complies with applicable laws (including GDPR/CCPA where relevant), platform policies, and anti-spam requirements.

***

### Support & feature requests

Want to improve Instagram B2b Lead Generator Email Scraper for your **instagram b2b lead generator** workflows? Tell us what you need.

- 💡 **Feature Requests**: For example, enhancements like additional export options (CSV/JSON shaping), custom filtering improvements, or CRM-ready formatting.
- 📧 **Contact**: Reach out at <dataforleads@gmail.com>

Your feedback helps shape the roadmap for this **instagram email scraper tool**.

***

### Instagram B2b Lead Generator Email Scraper — final thoughts

*If you want the most comprehensive, SEO-optimized way to collect Instagram business contact emails at scale, Instagram B2b Lead Generator Email Scraper is built for you.*

***

### Disclaimer

This tool accesses **publicly accessible sources** only. It does not access private profiles, authenticated data, or password-protected pages.

You are responsible for ensuring your use complies with applicable laws and regulations (including GDPR and CCPA where relevant), anti-spam rules, and Instagram/platform terms. For data removal requests, contact <dataforleads@gmail.com>.

Use this tool responsibly, ethically, and for legitimate purposes only.

# Actor input Schema

## `searchTerms` (type: `array`):

Hashtags, niches, or keywords to search on Instagram.

## `country` (type: `string`):

Select the country for localized lead generation.

## `sourceRegion` (type: `string`):

Select the Instagram source type: Profiles, Posts, or Reels.

## `engine` (type: `string`):

Select your preferred scraping method. ⚡ Performance (New): Faster, cheaper, uses residential proxies. 🛡️ Standard: Reliable, uses GOOGLE\_SERP proxy, but slower.

## `maxEmails` (type: `integer`):

Limit the number of emails to collect.

## Actor input object example

```json
{
  "searchTerms": [
    "fitness",
    "gym",
    "workout"
  ],
  "country": "United States",
  "sourceRegion": "All",
  "engine": "legacy",
  "maxEmails": 20
}
```

# 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 = {
    "searchTerms": [
        "fitness",
        "gym",
        "workout"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("solid-scraper/instagram-b2b-lead-generator-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 = { "searchTerms": [
        "fitness",
        "gym",
        "workout",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("solid-scraper/instagram-b2b-lead-generator-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 '{
  "searchTerms": [
    "fitness",
    "gym",
    "workout"
  ]
}' |
apify call solid-scraper/instagram-b2b-lead-generator-email-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram B2b Lead Generator Email Scraper",
        "description": "📧 Generate B2B leads fast with our Instagram email scraper! Identify targeted prospects by niche, location & keywords—ideal for sales, agencies & marketers. Get accurate leads instantly and boost outreach ROI 🚀",
        "version": "1.0",
        "x-build-id": "oL2Hxyvd1gloHyc7i"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/solid-scraper~instagram-b2b-lead-generator-email-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-solid-scraper-instagram-b2b-lead-generator-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/solid-scraper~instagram-b2b-lead-generator-email-scraper/runs": {
            "post": {
                "operationId": "runs-sync-solid-scraper-instagram-b2b-lead-generator-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/solid-scraper~instagram-b2b-lead-generator-email-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-solid-scraper-instagram-b2b-lead-generator-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": [
                    "searchTerms",
                    "country",
                    "sourceRegion",
                    "maxEmails"
                ],
                "properties": {
                    "searchTerms": {
                        "title": "Search Terms",
                        "type": "array",
                        "description": "Hashtags, niches, or keywords to search on Instagram.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "Target Country",
                        "enum": [
                            "United States",
                            "United Kingdom",
                            "Canada",
                            "Australia",
                            "Germany",
                            "France",
                            "India",
                            "Japan",
                            "Brazil",
                            "Italy",
                            "Spain",
                            "Netherlands",
                            "Sweden",
                            "Norway",
                            "Denmark",
                            "Finland",
                            "Poland",
                            "Czech Republic",
                            "Hungary",
                            "Romania",
                            "Bulgaria",
                            "Croatia",
                            "Slovenia",
                            "Slovakia",
                            "Estonia",
                            "Latvia",
                            "Lithuania",
                            "Portugal",
                            "Greece",
                            "Cyprus",
                            "Malta",
                            "Luxembourg",
                            "Ireland",
                            "Belgium",
                            "Austria",
                            "Switzerland",
                            "Liechtenstein",
                            "Iceland",
                            "South Korea",
                            "China",
                            "Mexico",
                            "Argentina",
                            "Chile",
                            "Colombia",
                            "Peru",
                            "Venezuela",
                            "Ecuador",
                            "Uruguay",
                            "Paraguay",
                            "Bolivia",
                            "Guyana",
                            "Suriname",
                            "French Guiana",
                            "Falkland Islands (Malvinas)",
                            "South Georgia and the South Sandwich Islands",
                            "Bonaire, Sint Eustatius and Saba",
                            "Curaçao",
                            "Aruba",
                            "Sint Maarten (Dutch part)",
                            "Turks and Caicos Islands",
                            "British Virgin Islands",
                            "Anguilla",
                            "Montserrat",
                            "Antigua and Barbuda",
                            "Barbados",
                            "Dominica",
                            "Grenada",
                            "Saint Kitts and Nevis",
                            "Saint Lucia",
                            "Saint Vincent and the Grenadines",
                            "Trinidad and Tobago",
                            "Jamaica",
                            "Bahamas",
                            "Belize",
                            "Costa Rica",
                            "Guatemala",
                            "Honduras",
                            "Nicaragua",
                            "Panama",
                            "El Salvador",
                            "Cuba",
                            "Dominican Republic",
                            "Haiti",
                            "Puerto Rico",
                            "U.S. Virgin Islands",
                            "American Samoa",
                            "Guam",
                            "Northern Mariana Islands",
                            "Saudi Arabia",
                            "United Arab Emirates",
                            "Bahrain",
                            "Iraq",
                            "Iran, Islamic Republic of",
                            "Israel",
                            "Jordan",
                            "Kuwait",
                            "Lebanon",
                            "Oman",
                            "Qatar",
                            "Syrian Arab Republic",
                            "Yemen",
                            "Afghanistan",
                            "Bangladesh",
                            "Bhutan",
                            "Maldives",
                            "Nepal",
                            "Pakistan",
                            "Sri Lanka",
                            "Myanmar",
                            "Cambodia",
                            "Lao People's Democratic Republic",
                            "Thailand",
                            "Viet Nam",
                            "Malaysia",
                            "Singapore",
                            "Brunei Darussalam",
                            "Philippines",
                            "Indonesia",
                            "Timor-Leste",
                            "Papua New Guinea",
                            "Fiji",
                            "New Zealand",
                            "Solomon Islands",
                            "Vanuatu",
                            "New Caledonia",
                            "French Polynesia",
                            "Wallis and Futuna",
                            "Samoa",
                            "Tonga",
                            "Tuvalu",
                            "Kiribati",
                            "Nauru",
                            "Federated States of Micronesia",
                            "Marshall Islands",
                            "Palau",
                            "Cook Islands",
                            "Niue",
                            "Tokelau"
                        ],
                        "type": "string",
                        "description": "Select the country for localized lead generation.",
                        "default": "United States"
                    },
                    "sourceRegion": {
                        "title": "Content Type",
                        "enum": [
                            "All",
                            "Profiles",
                            "Posts",
                            "Reels"
                        ],
                        "type": "string",
                        "description": "Select the Instagram source type: Profiles, Posts, or Reels.",
                        "default": "All"
                    },
                    "engine": {
                        "title": "Scraping Engine",
                        "enum": [
                            "cost-effective",
                            "legacy"
                        ],
                        "type": "string",
                        "description": "Select your preferred scraping method. ⚡ Performance (New): Faster, cheaper, uses residential proxies. 🛡️ Standard: Reliable, uses GOOGLE_SERP proxy, but slower.",
                        "default": "legacy"
                    },
                    "maxEmails": {
                        "title": "Maximum Emails",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Limit the number of emails to collect.",
                        "default": 20
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
