Local Business Lead Scraper for Cold Email, Clay & n8n avatar

Local Business Lead Scraper for Cold Email, Clay & n8n

Pricing

from $2.50 / 1,000 lead saveds

Go to Apify Store
Local Business Lead Scraper for Cold Email, Clay & n8n

Local Business Lead Scraper for Cold Email, Clay & n8n

Build local business lead lists with emails from Google Maps. Combine business types and cities, get flat rows with email, phone, website and address, and send them to your cold email tool, Clay, n8n, Make or Zapier.

Pricing

from $2.50 / 1,000 lead saveds

Rating

0.0

(0)

Developer

John Pratt

John Pratt

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

Local Business Lead Scraper builds local business lead lists with emails from Google Maps. Pick the business types you sell to and the cities to cover, such as plumbers and electricians in Austin, TX and Round Rock, TX. It searches every combination, visits each business's website for its emails, and returns flat, CRM-ready rows with email, phone, website, address, rating and review count. Send the leads to your cold email tool, to Clay, or into n8n, Make and Zapier workflows.

What does Local Business Lead Scraper do?

  • Searches every business type in every location. Five trades in 20 cities is 100 searches from two short lists.
  • Finds emails on each business's website and puts the first one in an email column, with every email found in emails.
  • Saves only leads with an email by default, so every row is ready for a cold email sequence, and you don't pay for businesses without one.
  • Removes duplicates. A business found by several searches is saved once.
  • Gives flat rows, one column per field, so the CSV imports straight into cold email tools, CRMs and spreadsheets.

How to scrape local business leads

  1. Open the Actor in Apify Console and go to the Input tab.
  2. Enter your Business types, such as plumbers, and your Locations, such as Austin, TX. Each type is searched in each location as plumbers in Austin, TX.
  3. Optionally add Extra search queries that don't fit that pattern, such as wedding photographers near Lake Travis.
  4. Under Lead filters, keep Only leads with an email on, and optionally set a minimum rating or review count.
  5. Click Start. When the run finishes, export the dataset as CSV, or connect it to your tools as shown below.

Input

FieldTypeDefaultDescription
businessTypesarray of stringsnoneKinds of business to find, such as plumbers. Each is searched in every location.
locationsarray of stringsnoneCities, neighborhoods or ZIP codes, such as Austin, TX.
keywordsarray of strings[]Extra full Google Maps searches to run as well.
onlyWithEmailbooleantrueSave only businesses where at least one email was found.
minRatingnumber, 0 to 50Skip businesses rated below this.
minReviewsinteger0Skip businesses with fewer reviews than this.
depthinteger, 1 or more10How many times to scroll each search's results list. A higher value returns more leads for broad searches but takes longer. The Console form starts at 1 for a quick first run.
maxPlacesPerSearchintegernoneCheck at most this many places per search, the first ones Google lists. Empty checks every place. The Console form starts at 8 for a quick first run.
languagestringenGoogle interface language code, such as en, es, de or fr.

Give business types and locations, extra search queries, or both.

{
"businessTypes": ["plumbers", "electricians"],
"locations": ["Austin, TX", "Round Rock, TX"],
"onlyWithEmail": true,
"minReviews": 5
}

Output

Each lead is one item in the dataset. This example is fictional:

{
"name": "Example Plumbing LLC",
"category": "Plumber",
"phone": "+1 512-555-0123",
"email": "hello@example.com",
"emails": ["hello@example.com", "service@example.com"],
"website": "https://www.example.com/",
"address": "400 Main St, Austin, TX 78701, United States",
"street": "400 Main St",
"city": "Austin",
"state": "Texas",
"postal_code": "78701",
"country": "US",
"rating": 4.9,
"review_count": 311,
"google_maps_url": "https://www.google.com/maps/place/...",
"place_id": "ChIJ...",
"latitude": 30.2701,
"longitude": -97.7405,
"query": "plumbers in Austin, TX"
}

email is the first email found on the website, and emails lists every one. rating, review_count, latitude and longitude are numbers, or null when Google has no value.

Use the leads in cold email, Clay and n8n

  • Cold email tools: export the dataset as CSV from the Output tab, or from the API with format=csv, and import it. Map email to the email column, and name, city and category to personalization fields.
  • Clay: import the CSV into a table, or add an HTTP API column that calls the run-sync-get-dataset-items endpoint below for a business type and city.
  • n8n: use the Apify node to run the Actor and get its dataset items, or an HTTP Request node that calls run-sync-get-dataset-items. See Apify's n8n integration.
  • Make and Zapier: use the Apify app to run the Actor and pass each lead to the next step. See the Make and Zapier guides.
  • Any other tool: add a webhook that fires when a run finishes, then read the dataset from the API.

How much does it cost?

It costs $2.50 per 1,000 leads ($0.0025 per lead saved). With Only leads with an email on, businesses without an email aren't saved, so you pay only for leads you can email. Each run also has Apify's standard start fee of $0.00005, and there's no separate charge for compute.

  • 2 business types in 2 cities make 4 searches. If they find 300 businesses and 140 have an email, the run costs $0.35.
  • 1,000 leads with emails cost $2.50.

To cap what a run can cost, set Maximum cost per run in the run options (maxTotalChargeUsd in the API). When a run reaches the cap, it stops saving leads.

Local business leads API

Get your API token in Apify Console → Settings → API & Integrations. This request starts a run, waits for it and returns the leads as CSV. Apify ends it with HTTP 408 after 300 seconds, so keep it to one or two searches, and start bigger runs with the runs endpoint or a client library:

curl -X POST "https://api.apify.com/v2/acts/prattsolutions~local-business-lead-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN&format=csv" \
-H "Content-Type: application/json" \
-d '{"businessTypes": ["plumbers"], "locations": ["Austin, TX"]}'

Python, with the apify-client package:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("prattsolutions/local-business-lead-scraper").call(run_input={
"businessTypes": ["plumbers", "electricians"],
"locations": ["Austin, TX", "Round Rock, TX"],
})
for lead in client.dataset(run["defaultDatasetId"]).iterate_items():
print(lead["name"], lead["email"], lead["phone"])

FAQ

How are the emails found?

For each business with a website, the scraper loads the page Google links to, usually the home page, and collects the addresses in its mailto: links, or else the email addresses written on the page. Websites on Facebook, Instagram or Twitter are skipped. An email shown only on a separate contact page isn't found.

How many leads will have an email?

It depends on the industry. Trades, professional services, clinics and B2B companies publish an email on their website much more often than restaurants and shops. Run one search first to see the rate for your niche.

How long does a run take?

Searches run one after another, and visiting each website adds a few seconds per business, so a broad search takes several minutes. Each search is capped at 10 minutes: businesses not reached by then are left out, and the run still succeeds. Use smaller locations to stay under the cap, or set Maximum places per search to check only the first businesses of each list.

Why was my first run in a while slow to start?

When nobody has used the scraper for a few weeks, its backend needs a few minutes to wake up. The log shows Lambda is waking up (...); retrying in 15s., and the run then continues normally.

The Actor collects only what businesses publish on Google Maps and their own websites. Business emails can still be personal data, and cold email is regulated: the GDPR and similar laws cover how you store and use the data, and CAN-SPAM and similar laws cover what you send. Collect the data for a legitimate purpose, and check with a lawyer if you're unsure.