# Local Business Leads Scraper - Any Category, by City (`oriented_wallpaper/local-business-leads`) Actor

Find local businesses of ANY category by city - dentists, gyms, lawyers, plumbers, salons, agencies and more. Returns name, address, phone, website, email, socials and website platform (WordPress, Wix, Shopify). Plain-English category mapped to OpenStreetMap. No API key, no proxies.

- **URL**: https://apify.com/oriented\_wallpaper/local-business-leads.md
- **Developed by:** [Flash Scrape](https://apify.com/oriented_wallpaper) (community)
- **Categories:** Lead generation, Travel, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.90 / 1,000 business leads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Local Business Leads Scraper — any category, any city, with website-platform detection

Generate **B2B leads for any local business category** — dentists, gyms, lawyers, plumbers, salons, real estate agencies, restaurants, and 50+ more — in any city worldwide, complete with **website platform detection (WordPress, Wix, Shopify, Squarespace, Webflow, GoDaddy, Weebly, Joomla, Framer)**. At **$5 per 1,000 leads**, it's the flexible, low-cost way to build a prospect list for cold outreach or web/marketing agency pitches.

### What does it do?

This actor takes a **plain-English business category** (e.g. "dentist," "hair salon," "plumber") and a **location** (city, region, or country), maps the category to the right OpenStreetMap tags, and pulls every matching business in the area. It then **crawls each business's own website** to extract a **contact email**, **social profiles** (Facebook, Instagram), and — the key differentiator — **which website platform it runs on**. That last part is gold for agencies: filter the output for businesses stuck on an outdated Wix or GoDaddy site and you have a warm list of prospects who visibly need a website upgrade.

### Why use it / who's it for

- **Web design & marketing agencies** — find local businesses running on Wix, GoDaddy Website Builder, or Weebly (often a sign of a dated, DIY site) and pitch a redesign or SEO retainer.
- **Freelancers on Fiverr/Upwork** — generate a "100 dentists in Austin with emails" style lead list on demand for any client vertical without building a new scraper per niche.
- **SaaS sales teams** — any B2B tool sold to local businesses (booking software, payment processors, review management) can target by category and city.
- **Franchise & market researchers** — count and map competitor density for any category in a target city before opening a location.
- **B2B lead-gen resellers** — because it covers *any* category, one actor replaces dozens of niche scrapers.

### How to use it

1. Enter a **business category** in plain English (e.g. `dentist`, `gym`, `plumber`, `hair salon`).
2. Enter a **location** — city and region/country (e.g. `Austin, Texas`).
3. Optionally set **maxItems**, a name **keyword** filter, or restrict to businesses **with a website/email only**.
4. Run the actor. It geocodes the location, pulls matching places from OpenStreetMap, then crawls each business website for contact details.
5. Export the results as CSV, JSON, or Excel — or connect the dataset straight to your CRM/outreach tool via API/webhook.

### Output fields

| Field | Description |
|---|---|
| `name` | Business name |
| `category` | OSM category tag (e.g. dentist, hairdresser, lawyer) |
| `address` | Street address |
| `city` | City |
| `state` | State/region |
| `postal_code` | Postal/ZIP code |
| `phone` | Phone number |
| `website` | Business website URL |
| `email` | Primary contact email found on the site |
| `emails` | All emails found while crawling the site |
| `facebook` | Facebook profile URL |
| `instagram` | Instagram profile URL |
| `opening_hours` | Opening hours (from OSM, if listed) |
| `website_platform` | Detected platform: WordPress, Wix, Shopify, Squarespace, Webflow, GoDaddy, Weebly, Joomla, or Framer |
| `latitude` / `longitude` | Coordinates |
| `osm_type` / `osm_id` | OpenStreetMap source identifiers |
| `has_email` / `has_phone` / `has_website` | Boolean flags for quick filtering |

### Input example

```json
{
  "category": "hair salon",
  "location": "Miami, Florida",
  "maxItems": 200,
  "crawlEmails": true,
  "onlyWithEmail": false,
  "onlyWithWebsite": true,
  "maxPagesPerSite": 3,
  "concurrency": 8
}
````

### How much does it cost?

This actor uses **pay-per-result pricing at $0.005 per lead ($5 per 1,000 leads)** — you're only charged for businesses actually returned, not for API calls or compute time. There's no subscription. New Apify users get a **free tier of roughly 1,000 results** to test the actor before spending anything. Scraping 500 dentists with emails costs about $2.50; 5,000 leads across multiple cities costs about $25.

### Frequently asked questions

#### Is it legal to scrape local business data?

Yes. This actor only reads **publicly available data** from OpenStreetMap (an open-data project) and each business's own public website — the same information anyone could find by visiting the site. No login, no private data, no anti-bot circumvention.

#### How fresh is the data?

Business listings come from OpenStreetMap, which is community-maintained and updated continuously; most established businesses have accurate name/address/phone data. Website content (email, socials, platform) is crawled live on every run, so that part is always current at run time.

#### Can I search for any business category, not just the popular ones?

Yes — that's the point. 50+ common categories (restaurants, dentists, gyms, lawyers, salons, real estate, plumbers, and more) are pre-mapped for accuracy, but any other word you enter is automatically matched against OpenStreetMap's shop/amenity/office/craft/healthcare tags, so niche categories still work.

#### Why does website platform detection matter?

Knowing a business runs on Wix, GoDaddy, or Weebly (often associated with outdated, self-built sites) versus WordPress or Shopify lets agencies and freelancers **pre-qualify leads** before ever picking up the phone — pitching a redesign to someone visibly using a builder-tier platform converts far better than a cold, unqualified list.

#### Do I need an API key or proxy?

No. Discovery runs entirely on OpenStreetMap (Nominatim + Overpass) and enrichment crawls public websites directly — no API keys, no proxy configuration, and it runs fine from datacenter IPs.

### Other Flash Scrape lead tools

- **[Restaurant Leads Scraper](https://apify.com/actors/restaurant-leads-scraper)** — restaurant leads enriched with POS, reservation, and delivery tech stack (Toast, OpenTable, DoorDash, and more).
- **[Google Maps Leads Opener](https://apify.com/actors/google-maps-leads-opener)** — pull business leads directly from Google Maps search results.
- **[Email Verifier](https://apify.com/actors/email-verifier)** — validate and clean the emails this actor finds before you launch an outreach campaign.
- **[Company Domain Enricher](https://apify.com/actors/company-domain-enricher)** — turn a company name into its website domain and firmographic details for further enrichment.

# Actor input Schema

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

Type of business in plain English, e.g. 'dentist', 'gym', 'lawyer', 'plumber', 'hair salon', 'real estate agency', 'car repair'. Mapped automatically to OpenStreetMap tags.

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

City and region/country, e.g. 'Austin, Texas', 'Lyon, France', 'Casablanca, Morocco'.

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

Optional: only keep businesses whose name matches this keyword.

## `maxItems` (type: `integer`):

Maximum number of businesses to return.

## `crawlEmails` (type: `boolean`):

Visit each business's website to extract a contact email, socials, and detect its website platform.

## `onlyWithWebsite` (type: `boolean`):

Keep only businesses that list a website (a website is required for email and platform enrichment).

## `onlyWithEmail` (type: `boolean`):

Keep only businesses where an email was found.

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

Pages to crawl per website while looking for an email.

## `concurrency` (type: `integer`):

How many websites to crawl in parallel.

## Actor input object example

```json
{
  "category": "dentist",
  "location": "Austin, Texas",
  "maxItems": 100,
  "crawlEmails": true,
  "onlyWithWebsite": true,
  "onlyWithEmail": false,
  "maxPagesPerSite": 3,
  "concurrency": 8
}
```

# 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 = {
    "category": "dentist",
    "location": "Austin, Texas",
    "onlyWithWebsite": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("oriented_wallpaper/local-business-leads").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 = {
    "category": "dentist",
    "location": "Austin, Texas",
    "onlyWithWebsite": True,
}

# Run the Actor and wait for it to finish
run = client.actor("oriented_wallpaper/local-business-leads").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "category": "dentist",
  "location": "Austin, Texas",
  "onlyWithWebsite": true
}' |
apify call oriented_wallpaper/local-business-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=oriented_wallpaper/local-business-leads",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Local Business Leads Scraper - Any Category, by City",
        "description": "Find local businesses of ANY category by city - dentists, gyms, lawyers, plumbers, salons, agencies and more. Returns name, address, phone, website, email, socials and website platform (WordPress, Wix, Shopify). Plain-English category mapped to OpenStreetMap. No API key, no proxies.",
        "version": "0.1",
        "x-build-id": "DjYKaJWzQpEuUmm31"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/oriented_wallpaper~local-business-leads/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-oriented_wallpaper-local-business-leads",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/oriented_wallpaper~local-business-leads/runs": {
            "post": {
                "operationId": "runs-sync-oriented_wallpaper-local-business-leads",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/oriented_wallpaper~local-business-leads/run-sync": {
            "post": {
                "operationId": "run-sync-oriented_wallpaper-local-business-leads",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "category",
                    "location"
                ],
                "properties": {
                    "category": {
                        "title": "Business category",
                        "type": "string",
                        "description": "Type of business in plain English, e.g. 'dentist', 'gym', 'lawyer', 'plumber', 'hair salon', 'real estate agency', 'car repair'. Mapped automatically to OpenStreetMap tags."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City and region/country, e.g. 'Austin, Texas', 'Lyon, France', 'Casablanca, Morocco'."
                    },
                    "keyword": {
                        "title": "Name keyword (optional)",
                        "type": "string",
                        "description": "Optional: only keep businesses whose name matches this keyword."
                    },
                    "maxItems": {
                        "title": "Max businesses",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of businesses to return.",
                        "default": 100
                    },
                    "crawlEmails": {
                        "title": "Crawl websites for email + platform",
                        "type": "boolean",
                        "description": "Visit each business's website to extract a contact email, socials, and detect its website platform.",
                        "default": true
                    },
                    "onlyWithWebsite": {
                        "title": "Only businesses with a website",
                        "type": "boolean",
                        "description": "Keep only businesses that list a website (a website is required for email and platform enrichment).",
                        "default": false
                    },
                    "onlyWithEmail": {
                        "title": "Only businesses with an email",
                        "type": "boolean",
                        "description": "Keep only businesses where an email was found.",
                        "default": false
                    },
                    "maxPagesPerSite": {
                        "title": "Max pages per website",
                        "minimum": 1,
                        "maximum": 8,
                        "type": "integer",
                        "description": "Pages to crawl per website while looking for an email.",
                        "default": 3
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "How many websites to crawl in parallel.",
                        "default": 8
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
