Free, open-source Google Maps scraper for lead generation (Python, no API key, no Docker). Exports name, phone, email, website, rating and Instagram/Facebook/LinkedIn/TikTok/YouTube/X links to CSV. 100 places with emails in 44 s; --grid beats Google's 120 cap. MX email check, ad-pixel detection. Skill for Claude Code, Codex and Cursor.
Scrape roofing contractors from Google Maps: a lead list recipe
This recipe shows how to scrape roofing contractors from Google Maps for one city with the Google Maps Scraper Kit, using one batch job for several search terms. You get a CSV of roofers with phone, email, website, address and rating, free and local, with no API key.
Step 1: Run one search
Start the engine, then test with one search at the default depth:
python3 scripts/engine.py start
python3 scripts/scrape.py "roofing contractors in Phoenix AZ" --city "Phoenix, AZ" --depth 5
With Docker, docker compose up -d starts the same engine instead of the first line.
Check the preview and the email found-rate line before you scale up.
Step 2: Batch the roofing variants
Roofers list themselves under different names on Google Maps. Put each variant on its own line in a keywords file. Blank lines and lines starting with # are ignored.
roofing.txt:
# One keyword per line. All lines run as one job and one CSV.
roofing contractor in Phoenix AZ
roof repair in Phoenix AZ
roofers in Phoenix AZ
Run them as one job:
python3 scripts/scrape.py --keywords-file roofing.txt --city "Phoenix, AZ"
Step 3: Cover the whole city
Each search stops at about 120 listings. Add --grid 3 to split the city into 9 map tiles, run one at a time, with duplicates removed on place_id:
python3 scripts/scrape.py --keywords-file roofing.txt --city "Phoenix, AZ" --grid 3
Each of these commands also returns Instagram, Facebook, LinkedIn, TikTok, YouTube and X links found on each website. Add --no-socials to skip them.
Example output
Illustrative rows only:
| title | phone | emails | website | category | review_rating |
|---|---|---|---|---|---|
| Example Roofing Co | +1 602-555-0101 | [email protected] | example.com | Roofing contractor | 4.9 |
| Sample Roof Repair | +1 602-555-0102 | [email protected] | example.org | Roofing contractor | 4.5 |
| Demo Roofers | +1 602-555-0103 | example.net | Roofer | 4.3 |
Columns that matter for roofing outreach
phone: the main contact channel for most trade businesses.emails: filled when the roofer publishes one. The email crawl reads the homepage, then contact and about pages.website: an empty cell here also means no email or socials could be found.category: shows how each business describes itself.review_rating: a quick read on reputation.review_countworks headless and supports--min-reviewsfiltering.
What to expect
- Overlapping terms find the same business more than once. The engine lists each place once per job, and the script dedupes on
place_idas well, so the CSV has no repeats. - Emails appear only when a business publishes one on its website.
- A grid with three keywords is a large job. The script prints a rate-limit warning and proceeds.
- Add proxies for large or repeated runs. Heavy use without them can get your IP temporarily rate-limited.
- Phones and emails are personal data, so read Responsible use before outreach.