# Local Lead Finder — Website Opportunity Scanner (`adarsha5389/local-lead-finder`) Actor

Find local businesses that need a website (re)build. Crawls their sites, scores how badly they need a web developer, and returns a ranked list of prospects with contact details and a pitch angle for each.

- **URL**: https://apify.com/adarsha5389/local-lead-finder.md
- **Developed by:** [Adarsha K K](https://apify.com/adarsha5389) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Local Lead Finder — Website Opportunity Scanner

Find local businesses that need a website (re)build — and get a ready-to-use prospect list.

Web freelancers and small agencies waste hours hunting for businesses with outdated or broken
sites. This Actor does the hunting for you: it crawls local business websites, audits them
(SEO, technology, contact info), and **scores how likely each business is to pay for a new
website** — then returns a ranked list with phone, email, the biggest opportunity, and a pitch
angle for each lead.

The output is a decision, not a raw dump: *"Here are the 20 local plumbers in Austin most likely
to buy a website redesign, why, and how to reach them."*

### Who it's for

- Freelance web developers prospecting for clients
- Small web design / SEO agencies building outreach lists
- Anyone selling websites, redesigns, or local SEO to small businesses

### How it works

1. **Discover** businesses by `category` + `location` (OpenStreetMap, free), or pass your own `urls`.
2. **Crawl** the homepage plus top internal pages (contact / about / services).
3. **Audit** each site deterministically — no LLM, no paid APIs:
   - SEO health (titles, meta, headings, thin content, alt text)
   - Technology fingerprint (CMS, framework, hosting, analytics)
   - Contact extraction (phone, email, address, socials, opening hours, maps)
4. **Score** each lead 0–100 with a transparent, weighted model and a priority band.
5. **Rank & push** leads with the top opportunity, recommended services, and a pitch angle.

### Input

- `urls` — a list of business websites (skips discovery), **or**
- `category` + `location` — e.g. `plumber` + `Austin, TX`
- `maxResults`, `maxPagesPerSite`, `minScore`, `includeNoWebsite`

### Output (dataset item, abridged)

```json
{
  "business_name": "Acme Plumbing",
  "website_url": "https://acmeplumbing.example",
  "has_website": true,
  "phone": "+1-512-555-0100",
  "email": "hello@acmeplumbing.example",
  "city": "Austin",
  "state": "TX",
  "platform": "wordpress",
  "seo_score": 41,
  "seo_health": "Poor",
  "top_seo_issues": [{ "code": "missing_meta_description", "severity": "major", "reason": "..." }],
  "lead_score": 82,
  "priority": "Hot",
  "top_opportunity": "Website Redesign",
  "recommended_services": ["Responsive redesign", "Local SEO"],
  "pitch_angle": "Outdated, slow, non-mobile site — pitch a responsive rebuild.",
  "top_positive_reasons": ["No mobile viewport", "Thin content"]
}
```

A `SUMMARY` key-value record reports how many businesses were scanned and qualified.

### Pricing

Pay per result — you pay only for the leads you get. Every run returns ranked, contactable
prospects, so a single qualified lead typically pays for many runs.

### Notes

- No LLM or paid API keys required — fully deterministic and fast.
- Discovery uses OpenStreetMap (free). For guaranteed, reproducible runs, pass an explicit `urls` list.
- Respects site politeness with bounded page counts per site.

# Actor input Schema

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

Direct list of business websites to scan. When provided, discovery is skipped. Best for demos and known lists.

## `category` (type: `string`):

Business category for discovery (e.g. plumber, salon, roofer). Used when 'urls' is empty.

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

City / area for discovery (e.g. 'Austin, TX'). Used when 'urls' is empty.

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

Maximum number of businesses to scan.

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

Homepage plus up to this many internal pages (contact/about/services) per site.

## `minScore` (type: `integer`):

Only push leads scoring at or above this (0-100).

## `includeNoWebsite` (type: `boolean`):

Include discovered businesses that have no website (prime prospects, but they cannot be crawled).

## Actor input object example

```json
{
  "maxResults": 20,
  "maxPagesPerSite": 3,
  "minScore": 0,
  "includeNoWebsite": true
}
```

# Actor output Schema

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

One row per business, sorted by how badly it needs a website (re)build, with contact details and a pitch angle.

## `summary` (type: `string`):

Scanned and qualified counts, average score and priority breakdown for this run.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("adarsha5389/local-lead-finder").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("adarsha5389/local-lead-finder").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 '{}' |
apify call adarsha5389/local-lead-finder --silent --output-dataset

```

## MCP server setup

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

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/PpQG2A0TxKMbiN9ub/builds/XBR5v30dk3xExgD7E/openapi.json
