# B2B Lead Intelligence (`moving_beacon-owner1/b2b-lead-intelligence`) Actor

Discover and enrich B2B leads by keyword and location. The Actor finds businesses, extracts public emails, phones, websites, social profiles, and technologies, removes duplicates, then scores and ranks each lead into HIGH, MEDIUM, or LOW tiers with transparent scoring signals.

- **URL**: https://apify.com/moving\_beacon-owner1/b2b-lead-intelligence.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Categories:** Social media, Lead generation, Automation
- **Stats:** 26 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 results

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 Intelligence

An **end-to-end B2B lead enrichment pipeline**. Give it a keyword and a location and it discovers businesses, enriches each one with **publicly observable** website signals — business emails, phones, social profiles, technologies — then **scores and tiers every lead** so your sales team gets a ranked, qualified list instead of a raw scrape.

> **Public data only.** This Actor collects only publicly accessible business contact data — the generic business emails and phones a company publishes on its own website (e.g. `info@`, `sales@`, `contact@`). It never bypasses authentication and never gathers private personal data.

### Pipeline

```
 discover ──▶ extract ──▶ dedupe ──▶ website discovery ──▶ contact extraction
 (Bing Maps   (canonical  (merge      (fetch site)          (emails, phones,
  / Yellow     business    duplicates)                       social profiles)
  Pages)       records)                                            │
                                                                   ▼
   dataset ◀── lead scoring ◀── enrichment ◀── technology detection
   (ranked     (0-100 score,    (fill email/    (CMS, analytics,
    leads)      HIGH/MED/LOW     phone, attach    frameworks,
                tier)            tech & socials)  structured data)
```

### What does this Actor do?

1. **Discovery** — finds businesses via Bing Maps (worldwide) and/or Yellow Pages (US) and normalises them into one canonical record shape.
2. **Dedupe** — collapses duplicate listings (same name + domain / phone / address) and merges the richest fields.
3. **Website discovery + contact extraction** — fetches each business website (and up to two contact/about pages) and pulls public emails, phones and social profiles.
4. **Technology detection** — fingerprints CMS, JavaScript frameworks, analytics and structured data.
5. **Enrichment** — fills a missing business email/phone from the website and attaches the detected technologies and social profiles to the record.
6. **Lead scoring** — computes a positive-signal `leadScore` (0-100) and assigns a `leadTier` (HIGH / MEDIUM / LOW). Every point is explained by a `leadSignals` entry so the score is fully auditable.

Runs on the Apify platform with proxy rotation, scheduling, API access and dataset export built in.

### Why use it?

- Sales and demand-gen teams get a **pre-scored, contactable lead list** — each row already carries a business email, phone, tech stack and a transparent quality score.
- Every score ships with the *evidence* behind each point, so you can trust (and audit) the ranking instead of guessing.

### How to use it

1. Enter a **keyword** (e.g. `hvac contractors`) and a **location** (e.g. `Austin, TX`).
2. Pick your discovery **sources** and whether to **enrich contacts** from each website.
3. Run the Actor and download the dataset as JSON, CSV or Excel — sorted best-lead first.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `keyword` | string (required) | Business category/keyword to search. |
| `location` / `city` / `state` / `country` | string | Where to search. |
| `sources` | array | `bing_maps`, `yellowpages`. Default `["bing_maps"]`. |
| `maxResults` | integer | Max leads to return (default 50). |
| `enrichContacts` | boolean | Fetch each website for public emails/phones/tech (default true). |
| `proxyConfiguration` | object | Proxy settings (residential US recommended for Yellow Pages). |
| `cookies` | string | Optional Cookie header to replay on every request. |

#### Input example

```json
{
  "keyword": "hvac contractors",
  "location": "Austin, TX",
  "sources": ["bing_maps"],
  "maxResults": 50,
  "enrichContacts": true
}
```

### Output

One record per lead, sorted by `leadScore` (highest first).

| Field | Description |
| --- | --- |
| `company` | Business name. |
| `category` | Business category / keyword. |
| `website` | Website URL. |
| `businessEmail` | Public business email (generic role address preferred). |
| `phone` | Business phone. |
| `address`, `city`, `state`, `country` | Location. |
| `reviewCount`, `rating` | Public review signals. |
| `technology` | Detected CMS / frameworks / analytics. |
| `socialProfiles` | Public social-network links. |
| `publicMetadata` | Coordinates, CMS, structured data, e-commerce/booking/analytics flags. |
| `leadScore` | 0-100 positive-signal quality score. |
| `leadTier` | `HIGH` / `MEDIUM` / `LOW`. |
| `leadSignals` | Per-point breakdown explaining the score. |
| `sourceUrls` | Where the data came from. |

#### Output example

```json
{
  "company": "Acme HVAC",
  "category": "hvac contractors",
  "website": "https://acmehvac.com",
  "businessEmail": "info@acmehvac.com",
  "phone": "+15125550199",
  "address": "2 Oak Ave",
  "city": "Austin",
  "state": "TX",
  "rating": 4.8,
  "reviewCount": 240,
  "technology": ["Google Analytics", "WordPress"],
  "socialProfiles": { "facebook": "https://facebook.com/acmehvac" },
  "publicMetadata": { "coordinates": { "latitude": 30.3, "longitude": -97.7 }, "cms": ["WordPress"] },
  "leadScore": 95,
  "leadTier": "HIGH",
  "leadSignals": [
    { "id": "has_website", "label": "Has a website", "points": 15, "evidence": "Website: https://acmehvac.com" },
    { "id": "has_email", "label": "Has a business email", "points": 20, "evidence": "Email: info@acmehvac.com" }
  ],
  "sourceUrls": ["https://acmehvac.com"]
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Lead score signals

Positive signals that build the `leadScore` (capped at 100):

| Signal | Points |
| --- | --- |
| `has_website` | 15 |
| `has_email` | 20 |
| `has_phone` | 10 |
| `strong_rating` (rating ≥ 4.0) | 10 |
| `established_reviews` (reviews ≥ 20) | 10 |
| `identifiable_technology` | 10 |
| `social_presence` | 10 |
| `complete_address` | 5 |
| `category_present` | 10 |

Tiers: **HIGH** (≥ 60), **MEDIUM** (≥ 35), **LOW** (below 35).

### Sources & configuration

- **Bing Maps** — worldwide, no browser, fast. Works without a proxy for light use.
- **Yellow Pages** — US only; needs a **US residential proxy** in practice (DataDome).
- **Environment variables** — none required. Apify Proxy password is injected by the platform.

# Actor input Schema

## `keyword` (type: `string`):

Business category or keyword to search for, e.g. 'hvac contractors' or 'dentist'.

## `location` (type: `string`):

Free-text location, e.g. 'Austin, TX'. Use this instead of the city/state/country fields if you prefer.

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

City to search within (optional, combined with state/country).

## `state` (type: `string`):

State or region (optional).

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

Country (optional).

## `sources` (type: `array`):

Which business-discovery sources to query.

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

Maximum number of leads to return.

## `enrichContacts` (type: `boolean`):

Fetch each business website to extract PUBLIC business emails, phones, social profiles and technologies. Turn off for a faster, discovery-only run.

## `proxyConfiguration` (type: `object`):

Proxy settings. Residential US proxies are recommended for Yellow Pages.

## `cookies` (type: `string`):

Optional Cookie header string to replay on every request (for sites behind a challenge).

## Actor input object example

```json
{
  "keyword": "hvac contractors",
  "location": "Austin, TX",
  "sources": [
    "bing_maps"
  ],
  "maxResults": 50,
  "enrichContacts": false,
  "proxyConfiguration": {
    "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 = {
    "keyword": "hvac contractors",
    "location": "Austin, TX"
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/b2b-lead-intelligence").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 = {
    "keyword": "hvac contractors",
    "location": "Austin, TX",
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/b2b-lead-intelligence").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 '{
  "keyword": "hvac contractors",
  "location": "Austin, TX"
}' |
apify call moving_beacon-owner1/b2b-lead-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/b2b-lead-intelligence"
        }
    }
}

```

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/glFtFnK8fsVz1Ohak/builds/lCadQPacLHVzfgf47/openapi.json
