# Local Website Lead Finder (`kaifei/local-website-lead-finder`) Actor

Find local businesses missing a real website and rank them as sales leads for web designers, freelancers, and local SEO agencies.

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

## Pricing

from $30.00 / 1,000 business leads

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

## Local Website Lead Finder (V0.1)

Find local businesses that need a website — ranked as sales leads for web designers, freelancers, and local marketing agencies.

Chinese name: **在地網站潛在客戶搜尋器**

### Who it is for

People who sell websites, Google Business optimization, or local SEO and need a ranked list of prospects — not a raw Maps dump.

### V0.1 goal

Input:

- Industry: `dentist`
- Location: `Taipei, Taiwan`
- Max results: `10`

Output:

- Business name / category / address / phone / website
- Google rating and review count
- Website type and health signals (`websiteType`, `siteStatus`)
- Opportunity scores + `bestOpportunity`
- `prospectPriorityScore` / `prospectPriority` / `qualified`
- Human-readable `signals`

### What V0.1 intentionally does NOT do

- No AI/LLM calls
- No email scraping
- No personal-data enrichment
- No CRM integration
- No outreach automation
- No subjective sales copy generation

This keeps the first product cheap, deterministic, testable, and easy to debug.

### Run locally

Prerequisites:

- Python
- Node.js/npm (for Apify CLI)
- An Apify account

Install CLI:

```bash
npm install -g @apify/cli
```

Log in:

```bash
apify login
```

Install Python dependencies:

```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```

Run:

```bash
apify run
```

The local test input is in:

`storage/key_value_stores/default/INPUT.json`

The default test is:

```json
{
  "industry": "dentist",
  "location": "Taipei, Taiwan",
  "maxResults": 10,
  "minOpportunityScore": 50,
  "language": "en"
}
```

Results will be written to the local Apify dataset under `storage/datasets/default/`.

### Deploy

```bash
apify push
```

Then open the Actor in Apify Console and run the same test from the generated Input UI.

### Product logic

Current deterministic scoring signals include:

- No website
- Social-only / messaging-only / directory listing (weak web presence)
- Website unreachable
- Missing title/meta description
- Missing mobile viewport
- No obvious booking/contact/quote CTA
- HTTP instead of HTTPS
- Low Google rating
- Low Google review count
- Missing phone

Scores are capped at 100. Results are sorted by `prospectPriorityScore`.

### Important cost note

The Actor calls `compass/crawler-google-places` for basic business discovery.
Keep `maxResults` at 10 while developing. Do not enable upstream contact/review enrichment add-ons in V0.1.

### Store copy (paste into Publication)

**Title:** Local Website Lead Finder

**Short description:** Find local businesses that need a website and rank them as sales leads.

**Full description:**

```text
Who is this for?
Web designers, freelancers, and SEO/local marketing agencies who need outbound leads.

What it does:
1. Search local businesses by industry + location
2. Classify web presence (no site / social-only / directory / own website)
3. Score website and marketing opportunity
4. Sort by prospect priority so you contact the best leads first

Example:
industry = dentist
location = Taipei, Taiwan
→ high-rated clinics with only LINE/Facebook often rank above clinics that already have a real website

Output includes:
- name, phone, address, website
- websiteType, siteStatus
- bestOpportunity / bestOpportunityScore
- prospectPriorityScore / prospectPriority / qualified

Not included (by design):
- No email scraping
- No personal data enrichment
- No auto outreach / CRM

Tip: Keep maxResults small while testing to control cost.
```

# Actor input Schema

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

What kind of business to find, e.g. dentist, restaurant, plumber.

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

City/region/country, e.g. Taipei, Taiwan or Austin, Texas, USA.

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

Keep this small while testing to control cost.

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

Businesses at or above this score are marked as qualified leads.

## `language` (type: `string`):

Language code used by the upstream Maps Actor.

## Actor input object example

```json
{
  "industry": "dentist",
  "location": "Taipei, Taiwan",
  "maxResults": 10,
  "minOpportunityScore": 50,
  "language": "en"
}
```

# Actor output Schema

## `businessLeads` (type: `string`):

Ranked local businesses with website opportunity scores.

# 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("kaifei/local-website-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("kaifei/local-website-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 kaifei/local-website-lead-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kaifei/local-website-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/CxcsnffgODkcaJomg/builds/myEdWslskhxZKFZYh/openapi.json
