# B2B Lead Finder & Search Scraper (`generous_impactor/b2b-lead-finder-search-scraper`) Actor

Discover targeted B2B company domains by industry, location, and keywords. Automatically filters out directory noise (LinkedIn, Yelp, Wikipedia) to deliver clean domain lists ready for AI SDRs, n8n workflows, and lead enrichment pipelines.

- **URL**: https://apify.com/generous\_impactor/b2b-lead-finder-search-scraper.md
- **Developed by:** [llio masta](https://apify.com/generous_impactor) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 qualified lead founds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## B2B Lead Finder & Local Company Search Scraper (v1.0)

Discover **B2B companies, service providers, and regional leads** by industry, city, and country in seconds.

Designed for **Lead Generation Engine, Sales Automation, Market Prospecting, and AI Agents** (n8n, Make, Retool, Claude MCP, OpenAI).

***

### 🌟 Key Features

- **Localized Query Builder:** Automatically formats search terms in native languages (English, French, Portuguese, Spanish) based on target country and TLDs.
- **Anti-Bot Proxy Routing:** Uses `CheerioCrawler` paired with Apify Residential/Datacenter Proxies to guarantee high success rates without 403/500 blocks.
- **Directory & Aggregator Filtering:** Built-in exclusion list removing search engines, major social networks, dictionaries, and global marketplaces.
- **Clean Domain Normalization:** Automatically strips subdomains, tracking parameters, and protocol prefixes to deliver ready-to-scrape root domains.
- **LLM & Agent Ready:** Clean JSON dataset formatted for prompt context injection and direct enrichment pipelines.

***

### 🎯 Use Cases

- **Local Sales Prospecting:** Find targeted business leads in specific geographic regions (e.g., Logistics in Recife, Real Estate in Paris).
- **Automated Enrichment Pipelines:** Feed extracted domain lists directly into Actor 1 (Metadata), Actor 2 (Contacts), Actor 3 (News), or Actor 4 (Pricing).
- **Market Research & Mapping:** Map out regional competitors and industry service providers automatically.

***

### 📥 Input Format

```json
{
  "industry": "Logistics",
  "city": "Recife",
  "country": "Brazil",
  "customKeyword": "transport",
  "language": "pt",
  "maxResults": 20
}
```

#### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `industry` | `String` | *Required* | Target industry or sector (e.g., `Logistics`, `Software`, `Real Estate`). |
| `country` | `String` | *Required* | Target country for prospecting (e.g., `Brazil`, `France`, `United States`). |
| `city` | `String` | `""` | Optional target city to narrow down local results (e.g., `Recife`, `Lyon`). |
| `customKeyword` | `String` | `""` | Optional secondary keyword to refine search intent (e.g., `freight`, `SaaS`). |
| `language` | `String` | *Auto-detected* | Preferred language code (`en`, `fr`, `pt`, `es`). |
| `maxResults` | `Integer` | `20` | Maximum number of qualified lead domains to return (1 to 100). |

***

### 📤 Output Example

```json
{
  "companyName": "Truck Force",
  "domain": "truckforce.com.br",
  "websiteUrl": "[https://truckforce.com.br](https://truckforce.com.br)",
  "snippet": "A empresa de serviço de logística em Recife, Truck Force, oferece um atendimento especializado para seguradoras em todo o Brasil.",
  "searchCriteria": {
    "industry": "Logistics",
    "city": "Recife",
    "country": "Brazil"
  },
  "foundAt": "2026-09-13T23:33:27.847Z"
}
```

***

### 💰 Pricing Model

This Actor operates on a **Pay Per Event (PPE)** model:

- **$0.01 per qualified lead found** (`lead-found` event)

# Actor input Schema

## `industry` (type: `string`):

Ex: Logistics, Software, Solar Energy, Retail

## `city` (type: `string`):

Ex: Recife, São Paulo, Paris, Chicago

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

Ex: Brazil, France, United States

## `customKeyword` (type: `string`):

Ex: Freight forwarder, Cold storage, Transportadora

## `maxResults` (type: `integer`):

Nombre de domaines d'entreprises cibles à extraire

## Actor input object example

```json
{
  "industry": "Logistics",
  "city": "Recife",
  "country": "Brazil",
  "maxResults": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "industry": "Logistics",
    "city": "Recife",
    "country": "Brazil"
};

// Run the Actor and wait for it to finish
const run = await client.actor("generous_impactor/b2b-lead-finder-search-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 = {
    "industry": "Logistics",
    "city": "Recife",
    "country": "Brazil",
}

# Run the Actor and wait for it to finish
run = client.actor("generous_impactor/b2b-lead-finder-search-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 '{
  "industry": "Logistics",
  "city": "Recife",
  "country": "Brazil"
}' |
apify call generous_impactor/b2b-lead-finder-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,generous_impactor/b2b-lead-finder-search-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/24v5rZDWMVK0IsnTX/builds/yutWfet1zUzoFXpqz/openapi.json
