# Website Lead Enricher - contacts, tech stack & lead score (`consequential_programmer/website-lead-enricher`) Actor

Turn business websites or Google Maps results into enriched leads: emails, phones, socials, tech stack (CMS, ecommerce, analytics, ad pixels), site health checks and a 0-100 opportunity score with pitch angles.

- **URL**: https://apify.com/consequential_programmer/website-lead-enricher.md
- **Developed by:** [Nirajan Prasai](https://apify.com/consequential_programmer) (community)
- **Categories:** Lead generation, Marketing, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 website enricheds

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

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is Website Lead Enricher?

**Website Lead Enricher** is a **lead generation** tool that turns a list of business websites into sales-ready leads. Paste domains, or point it at the output of [Google Maps Scraper](https://apify.com/compass/crawler-google-places), and it works as an **email scraper**, phone extractor, social-profile finder and **tech stack detector** in one run.

For every website you get:

- 📧 **Emails**, including many Cloudflare-protected and `name [at] domain [dot] com` style addresses
- 📞 **Phone numbers**, validated and normalised to international E.164 format (`+61292800999`)
- 🔗 **Social profiles**: Facebook, Instagram, LinkedIn, X/Twitter, YouTube, TikTok, Pinterest and Yelp
- 🧱 **Tech stack** (100+ technologies): CMS (WordPress, Wix, Squarespace, Webflow, Duda...), ecommerce (Shopify, WooCommerce, Magento, BigCommerce...), analytics, **ad pixels** (Meta, Google Ads, TikTok, LinkedIn...), live chat, booking widgets (Calendly, Fresha, HotDoc, Cliniko, OpenTable...), email marketing (Klaviyo, Mailchimp...), hosting/CDN and frameworks
- 🩺 **Website health signals**: HTTPS, mobile viewport, meta description, Open Graph, schema.org, contact form, footer copyright year, response time, page size, and **parked/for-sale domain** detection
- 🎯 **Opportunity score (0–100)** plus plain-English **pitch angles**, e.g. *"No analytics installed"*, *"Footer copyright says 2021, site looks unmaintained"*, *"Not mobile-friendly"*, *"No retargeting pixel"*

It runs on plain HTTP with no headless browser, so it's **fast and cheap**: a typical run enriches around 25 websites in about 30 seconds. You can start it from the Apify Console, call it through the [Apify API](https://docs.apify.com/api/v2), schedule it, or connect it to Google Sheets, HubSpot, Make, Zapier or n8n with [Apify integrations](https://docs.apify.com/platform/integrations).

### What data can you extract?

Website Lead Enricher crawls the homepage plus contact and about pages you allow, then returns one dataset item per domain. The two ready-made views are **Leads** (contacts and pitch angles) and **Tech stack**.

| Field | What you get |
|---|---|
| `emails`, `phones`, `socialLinks` | Public contact details found in the HTML |
| `cms`, `ecommercePlatform`, `analytics`, `adPixels`, `technologies` | Detected CMS, ecommerce, analytics, ad pixels and other technologies |
| `signals` | Site-health checks (HTTPS, mobile viewport, SEO tags, forms, speed, parked domain) |
| `opportunityScore`, `opportunities` | A 0–100 score and the reasons behind it |
| `status`, `errorMessage` | `ok`, `error` or `skipped` (for example by robots.txt) so failed sites stay visible and free |

### Who is it for?

- **Web design, SEO and marketing agencies** looking for local businesses with outdated or weak websites, plus a ready-made reason to reach out
- **Freelancers** prospecting for clients on Upwork, Fiverr or by cold email
- **SaaS sales teams** who want to find every Shopify store without Klaviyo, or every clinic without online booking
- **Lead generation and data teams** enriching **Google Maps leads**, directory exports or CRM lists

### How to generate leads from Google Maps

A common workflow is: collect local businesses with [Google Maps Scraper](https://apify.com/compass/crawler-google-places), then enrich each business website with Website Lead Enricher.

1. Run Google Maps Scraper with a search such as `plumber` and a location such as `Bondi, Sydney, Australia`. Set **Max crawled places per search** to a small number for a test. The Actor can also filter to places that have a website.
2. When the run finishes, copy its **default dataset ID** from the run page (Storage). Google Maps Scraper stores the site URL in the `website` field.
3. Open [Website Lead Enricher](https://apify.com/consequential_programmer/website-lead-enricher), leave **Websites** empty (or add extra domains), and paste that dataset ID into **...or read websites from a dataset**. Keep **Website field in dataset** as `website`.
4. Optional but useful: set **Default country for phone numbers** (for example `AU` or `US`) and **Only keep leads with opportunity score of at least** to, say, `30` if you only want sites with clear problems to pitch. Use **Max websites** for a cheap test run.
5. Click **Start**. Download the results as **CSV, Excel or JSON**, or send them on through an integration.

You can also wire this up so Website Lead Enricher starts automatically when a Google Maps Scraper run succeeds: in the scraper run, open **Integrations**, connect this Actor, and pass `{{resource.defaultDatasetId}}` as `datasetId`. See [Actor-to-Actor integrations](https://blog.apify.com/connecting-scrapers-apify-integration/).

Google Maps Scraper already returns the listing name, address, Maps phone number and website, and it has optional add-ons for extra contacts. Website Lead Enricher is the next step: it crawls the site itself for more emails and phones, a **tech stack** and ad-pixel readout, site-health checks, and pitch angles you can use in outreach.

### How to use Website Lead Enricher

1. Add websites to **Websites**, one per line (`example.com`, `www.example.com` or full URLs all work). Duplicates, social-media links and Google links are removed automatically.
2. *(Optional)* To enrich a dataset from another Actor, set **...or read websites from a dataset** to that dataset's ID. Google Maps Scraper stores the URL in the `website` field, which is the default.
3. *(Optional)* Set **Only keep leads with opportunity score of at least** to, say, `30`. You'll then only get, and only pay for, sites with clear problems to pitch.
4. Click **Start**, then download the results as **CSV, Excel or JSON**, or send them to Google Sheets, HubSpot, Make, Zapier or n8n through the Apify integrations.

#### Example input

```json
{
  "websites": ["bondiplumbing.com.au", "https://www.gelatomessina.com", "koskela.com.au"],
  "maxPagesPerSite": 4,
  "defaultCountry": "AU",
  "minOpportunityScore": 0
}
```

#### Example output (one item)

```json
{
  "domain": "bondiplumbing.com.au",
  "finalUrl": "https://www.bondiplumbing.com.au/",
  "status": "ok",
  "title": "Bondi Plumbing | Plumber Bondi | Blocked Drains",
  "emails": ["service@bondiplumbing.com.au"],
  "phones": ["+61294170320", "+61290233243"],
  "socialLinks": {
    "facebook": "https://www.facebook.com/bondiplumbing",
    "instagram": "https://www.instagram.com/bondiplumbing"
  },
  "cms": "Duda",
  "ecommercePlatform": null,
  "analytics": ["Google Analytics 4", "Universal Analytics (legacy)", "Google Tag Manager"],
  "adPixels": ["Google Ads", "Microsoft Ads (UET)"],
  "technologies": [{ "name": "jQuery", "category": "JavaScript library", "version": "3.7.0" }],
  "signals": {
    "https": true, "hasViewportMeta": true, "hasMetaDescription": true, "hasOpenGraph": true,
    "hasStructuredData": false, "hasContactForm": true, "copyrightYear": 2022,
    "responseTimeMs": 546, "homepageSizeKb": 146.1, "isParkedDomain": false
  },
  "opportunityScore": 18,
  "opportunities": [
    "Footer copyright says 2022 - site looks unmaintained / due for a refresh",
    "No schema.org structured data - weaker local SEO / rich results",
    "No live chat / WhatsApp widget - missed lead capture"
  ],
  "pagesCrawled": ["https://www.bondiplumbing.com.au/", "https://www.bondiplumbing.com.au/contact-us"]
}
```

### How much does it cost to enrich websites?

Website Lead Enricher uses **pay-per-event** pricing: you pay only for websites that were **successfully enriched**. Websites that fail, are offline, are blocked, are skipped by robots.txt, or fall below your opportunity-score threshold are **free**.

- **$4 per 1,000 websites** successfully enriched ($0.004 each)
- A small **Actor start** fee applies once per run (currently $0.005 per GB of memory allocated; the default is 512 MB)
- Set **Max websites** and **Maximum cost per run** so a run never spends more than you planned

### Input options

| Field | What it does | Default |
|---|---|---|
| `websites` | List of domains or URLs | – |
| `datasetId` / `datasetWebsiteField` | Read websites from another Actor's dataset | – / `website` |
| `maxWebsites` | Stop after N websites (0 = all) | 0 |
| `extractContacts` | Emails, phones, socials | true |
| `detectTechStack` | Technology detection | true |
| `maxPagesPerSite` | Homepage + contact/about pages to scan | 4 |
| `minOpportunityScore` | Skip (and don't charge) sites below this score | 0 |
| `defaultCountry` | Country for local-format phone numbers on .com and similar domains | AU |
| `maxConcurrency` | Websites processed in parallel | 10 |
| `delayBetweenPagesSecs` | Politeness delay between pages of the same site | 0.5 |
| `requestTimeoutSecs` | Per-request timeout (failed requests are retried with backoff) | 20 |
| `respectRobotsTxt` | Skip pages disallowed by robots.txt | true |
| `proxyConfiguration` | Optional Apify Proxy | off |

### Integrations, API and Python

Because it runs on Apify, you can:

- **Schedule** recurring enrichments (for example, every Monday after a Maps scrape)
- Call Website Lead Enricher from **Python, JavaScript or PHP** with the [Apify API](https://docs.apify.com/api/v2) or the official [apify-client](https://docs.apify.com/api/client/python)
- Connect the output to **Google Sheets, HubSpot, Make, Zapier or n8n**
- Use **Apify Proxy** when many sites return HTTP 403 or 503
- Watch run logs and datasets from the Console

#### Start a run from Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("consequential_programmer/website-lead-enricher").call(run_input={
    "datasetId": "YOUR_GOOGLE_MAPS_DATASET_ID",
    "datasetWebsiteField": "website",
    "defaultCountry": "AU",
    "minOpportunityScore": 30,
    "maxWebsites": 50,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["domain"], item.get("emails"), item.get("opportunityScore"), item.get("opportunities"))
```

### Tips, limitations and troubleshooting

- Contacts are read from the **HTML the server sends**. Sites that only load content with JavaScript, or that hide emails behind contact forms, may return fewer contacts. Analytics loaded only from inside a tag manager may show up as just "Google Tag Manager".
- If many websites return HTTP 403 or 503, switch on **Apify Proxy**. Most small-business sites work fine without it.
- The opportunity score is a heuristic to help you prioritise outreach, not a full SEO audit. Parked or for-sale domains are scored 100, with a pitch angle that the business has no live website.
- If a run finds no websites, check that `datasetId` is the Maps run's default dataset and that `datasetWebsiteField` is `website`. Social-media and Google links in the input are skipped on purpose.
- Keep `respectRobotsTxt` on unless you have a clear reason not to. The Actor identifies itself politely and rate-limits requests to each site.

### FAQ

#### Can I use Website Lead Enricher as an email scraper?

Yes, for **public emails on the websites you provide**. It is not a people-search or employee-database tool, and it will not invent or verify inboxes that are not on the page.

#### Does it work with Google Maps leads?

Yes. Point `datasetId` at a [Google Maps Scraper](https://apify.com/compass/crawler-google-places) dataset and leave `datasetWebsiteField` as `website`. Places without a website are skipped.

#### What does the tech stack detector cover?

It looks for 100+ technologies, including CMS, ecommerce, analytics, ad pixels, live chat, booking widgets, email marketing, hosting/CDN and frameworks. Detection is based on the HTML and headers of the pages crawled, not a logged-in or JavaScript-heavy scan.

#### Is it legal?

This Actor only reads **publicly available** pages of the websites you provide, identifies itself politely, rate-limits requests to each site and respects robots.txt by default. Emails and phone numbers can be **personal data** under GDPR, the Australian Privacy Act and similar laws. Make sure you have a legitimate reason to process them and follow anti-spam rules (CAN-SPAM, the Australian Spam Act, PECR) in your outreach. If in doubt, consult a lawyer. See also Apify's post on [whether web scraping is legal](https://blog.apify.com/is-web-scraping-legal/).

### Related Actors and resources

- [Google Maps Scraper](https://apify.com/compass/crawler-google-places) — collect local business listings, including the `website` field this Actor reads
- [How to connect Actors with integrations](https://blog.apify.com/connecting-scrapers-apify-integration/)
- [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)
- [Apify integrations](https://docs.apify.com/platform/integrations) and the [Apify API](https://docs.apify.com/api/v2)

### Feedback

Found a website that wasn't parsed correctly, or need a technology detected? Open an issue in the **Issues** tab, and I usually fix these quickly.

# Actor input Schema

## `websites` (type: `array`):

Business websites or domains to enrich, one per line (e.g. "example.com" or "https://www.example.com"). Duplicates are removed automatically. Social-media and Google links are skipped.

## `datasetId` (type: `string`):

Optional. ID of an Apify dataset to read websites from - for example the output of Google Maps Scraper. Combined with the list above.

## `datasetWebsiteField` (type: `string`):

Name of the field holding the website URL in that dataset. Google Maps Scraper uses "website".

## `maxWebsites` (type: `integer`):

Stop after this many websites (0 = no limit). Handy for a cheap test run.

## `extractContacts` (type: `boolean`):

Scan the homepage plus contact/about pages for emails (incl. Cloudflare-protected ones), phone numbers (normalised to E.164) and social profiles.

## `detectTechStack` (type: `boolean`):

Detect 100+ technologies: CMS, ecommerce, analytics, ad pixels, live chat, booking widgets, hosting/CDN, frameworks.

## `maxPagesPerSite` (type: `integer`):

Homepage + up to N-1 contact/about pages. Higher finds more contacts but is slower. 1 = homepage only.

## `minOpportunityScore` (type: `integer`):

0-100. Higher score = more obvious things to sell them (no analytics, not mobile-friendly, outdated site...). Websites below the threshold are not saved and not charged.

## `defaultCountry` (type: `string`):

2-letter ISO code used to read local-format phone numbers when the domain has no country TLD (e.g. .com). Examples: AU, US, GB, CA, NZ.

## `maxConcurrency` (type: `integer`):

How many websites to process in parallel. Each website is crawled politely, one page at a time.

## `delayBetweenPagesSecs` (type: `number`):

Politeness delay (plus random jitter) between requests to the same website.

## `requestTimeoutSecs` (type: `integer`):

Give up on a page after this many seconds. Failed requests are retried with backoff.

## `respectRobotsTxt` (type: `boolean`):

Skip pages the website disallows in robots.txt.

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

Optional. Most small-business websites work without a proxy. Use Apify Proxy if many sites block you.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "crawlee.dev"
  ],
  "datasetId": "",
  "datasetWebsiteField": "website",
  "maxWebsites": 0,
  "extractContacts": true,
  "detectTechStack": true,
  "maxPagesPerSite": 4,
  "minOpportunityScore": 0,
  "defaultCountry": "AU",
  "maxConcurrency": 10,
  "delayBetweenPagesSecs": 0.5,
  "requestTimeoutSecs": 20,
  "respectRobotsTxt": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `leads` (type: `string`):

No description

## `allFields` (type: `string`):

No description

## `summary` (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 = {
    "websites": [
        "apify.com",
        "crawlee.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("consequential_programmer/website-lead-enricher").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 = { "websites": [
        "apify.com",
        "crawlee.dev",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("consequential_programmer/website-lead-enricher").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 '{
  "websites": [
    "apify.com",
    "crawlee.dev"
  ]
}' |
apify call consequential_programmer/website-lead-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,consequential_programmer/website-lead-enricher"
        }
    }
}
```

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/TGLNs0eaTCWeaNtuz/builds/0peHOaTTherxXTMbI/openapi.json
