How to Extract Phone Numbers and Emails from Google Maps
Google Maps lists phones and websites, not emails. How to export phone numbers with an API, find emails on business websites and stay GDPR compliant.
Updated 8 min readBy the ScrapeMapsAPI team
You cannot extract emails from Google Maps directly, because Google Maps does not show them. A business profile lists a phone number, a website, an address and opening hours, but no email field exists on the listing, and no honest tool can pull one out of it. What you can do is a two-step job: export the phone numbers and websites from Google Maps, then look for a published contact address on each business's own website. This guide shows both steps with working code, explains how often the second step succeeds, and covers the rules you need to respect before you send a single message.
What Google Maps actually gives you
Every Google Maps place has a handful of contact fields. With ScrapeMapsAPI they come back as JSON from place search and place details:
| Field | Where | Example |
|---|---|---|
phone | search and details | 055 123 4567 |
phone_international | details only | +39 055 123 4567 |
website | search and details | https://www.trattoriadaneri.example |
address.formatted | search and details | Via dei Neri, 42/r, 50122 Firenze FI, Italy |
booking_links | details only | reservation pages on booking platforms |
There is no email field, and that is not something we left out: the data is not on Google Maps. Tools that advertise "Google Maps email extraction" either do the website crawl described below for you, or buy emails from data brokers and match them by name, which brings data quality and legal questions of its own.
Step 1: export phone numbers with a search
Phone numbers are the easy part. A single search returns up to 20 places, and the phone and website fields are already in the search results, so you do not need a details call per place for most lead lists. Here is the call for plumbers in Leeds:
curl "https://api.scrapemapsapi.com/v1/places/search?q=plumber%20in%20Leeds®ion=gb&limit=20" \
-H "X-API-Key: $SCRAPEMAPSAPI_API_KEY"The response, trimmed to one place:
{
"data": [
{
"id": "ChIJ8cLgoQNUKhMReGlaTjwrH40",
"ids": {
"place_id": "ChIJ8cLgoQNUKhMReGlaTjwrH40",
"cid": "10168894021638449528",
"feature_id": "0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978",
"google_maps_url": "https://www.google.com/maps?cid=10168894021638449528"
},
"name": "Example Plumbing Ltd",
"categories": ["Plumber"],
"address": { "formatted": "12 Example Street, Leeds LS1 1AA, UK", "city": "Leeds", "country_code": "GB" },
"location": { "lat": 53.7997, "lng": -1.5492 },
"rating": 4.8,
"review_count": 213,
"phone": "0113 123 4567",
"website": "https://plumbing.example",
"status": "operational"
}
],
"pagination": { "next_cursor": "eyJvIjoyMCwicSI6InBsdW1iZXIifQ", "has_more": true },
"meta": { "credits_used": 1, "cached": false, "query": "plumber in Leeds", "language": "en", "region": "gb" }
}The phone field is in the local format Google displays. When you need a number you can dial from anywhere or store in E.164 form for a CRM, call place details for the places you keep and read phone_international. That is one extra credit per place, so do it after filtering, not before.
To cover more than one page, repeat the call with cursor set to pagination.next_cursor until has_more is false. One query only goes so deep, so for a whole region split the search by town or neighbourhood with lat, lng and radius_km. Our Google Maps lead generation guide builds that grid search and the deduplication by place ID in detail, and exporting results to CSV covers the spreadsheet side.
Step 2: find emails on the business websites
With a list of websites, the email search is an ordinary web crawl. Most small businesses put their address in one of three places: a mailto: link, the footer of the homepage, or a contact page. A careful script reads at most a few pages per site, looks for addresses on the business's own domain first, and stops.
import os
import re
import time
from urllib.parse import urljoin, urlparse
import requests
API = "https://api.scrapemapsapi.com/v1"
KEY = os.environ["SCRAPEMAPSAPI_API_KEY"]
EMAIL = re.compile(r"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}")
CONTACT_PATHS = ["", "/contact", "/contact-us", "/about"]
HEADERS = {"User-Agent": "Mozilla/5.0 (compatible; contact-finder/1.0)"}
def search(q, region, max_pages=3):
params = {"q": q, "region": region, "limit": 20}
for _ in range(max_pages):
r = requests.get(f"{API}/places/search", params=params, headers={"X-API-Key": KEY}, timeout=60)
if r.status_code == 429:
time.sleep(int(r.headers.get("Retry-After", "60")))
continue
r.raise_for_status()
page = r.json()
yield from page["data"]
if not page["pagination"]["has_more"]:
return
params = {"q": q, "cursor": page["pagination"]["next_cursor"], "limit": 20}
def emails_on_site(website):
domain = urlparse(website).netloc.removeprefix("www.")
found = set()
for path in CONTACT_PATHS:
try:
page = requests.get(urljoin(website, path), headers=HEADERS, timeout=10)
except requests.RequestException:
continue
if page.status_code != 200 or "text/html" not in page.headers.get("Content-Type", ""):
continue
found |= {e.lower() for e in EMAIL.findall(page.text)}
same_domain = {e for e in found if e.endswith("@" + domain)}
if same_domain:
return sorted(same_domain)
time.sleep(1) # be polite: one request per second per site
return sorted(e for e in found if not e.endswith((".png", ".jpg", ".webp")))
for place in search("plumber in Leeds", region="gb"):
if place["status"] == "permanently_closed":
continue
emails = emails_on_site(place["website"]) if place["website"] else []
print(place["name"], place["phone"], place["website"], ", ".join(emails))A few details matter in practice:
- The regex also matches image names like
[email protected], which is why the script filters common image extensions. - Prefer addresses on the business's own domain. A Gmail address in the footer is often the owner's, which is fine to use for a business enquiry but deserves extra care under privacy law, as explained below.
- Some sites hide addresses behind contact forms or JavaScript. A plain HTTP crawl will miss them, and that is usually a signal the business prefers the form.
- Keep the crawl small: four pages per site, one request per second, a clear user agent. You are visiting a small business's server, not a search engine.
How many emails should you expect? It depends heavily on the trade and the country. Restaurants and hotels often publish one for bookings; trades like plumbers and electricians more often rely on the phone. Places without a website at all, a sizeable share of small local businesses, will never yield an email this way. Measure your own hit rate on a sample of 100 before promising a number to anyone.
Phone or email: which channel to use
The phone number on a Google Maps listing is there because the business wants to be called. It is usually the most reliable field you get, and for local services a call converts better than a cold email. The website, on the other hand, is valuable even without an email: it tells you whether the business is a real fit before you contact it at all.
A useful order of work:
- Search and filter: keep operational places with a rating and review count that match your target.
- Read the website of the shortlisted places and qualify them by hand or with a script.
- Contact them through the channel they publish, phone first for local services.
The review data helps here too. A business with hundreds of reviews and unanswered complaints is a different conversation from a new place with five reviews. The reviews endpoint gives you every review, so you can see how a business talks to its customers before you talk to it.
Stay on the right side of privacy and anti-spam law
Business contact data is not automatically free to use for marketing. The rules depend on where the recipient is:
- In the EU and the UK, the GDPR applies whenever an address identifies a person, such as
maria.rossi@or a sole trader's personal Gmail. You need a lawful basis, usually legitimate interest, you must tell people where you got their data, and you must honour objections. The ePrivacy rules add consent requirements for unsolicited marketing email in many countries, with looser treatment of generic business addresses likeinfo@in some of them. - In the United States, CAN-SPAM allows cold business email but requires an accurate sender, a physical address and a working opt-out honoured within ten business days.
- Everywhere, a generic role address (
info@,bookings@) is safer than a named person's address, and a relevant, one-to-one message is safer than a blast.
We wrote a longer guide on whether scraping Google Maps is legal, including the database and terms-of-service questions. This section is not legal advice: if outreach is your business model, have a lawyer look at your process once.
What it costs
Each search call returns up to 20 places with phones and websites for 1 credit, and each details call costs 1 credit per place. A list of 1,000 businesses needs 50 search calls; adding international phone numbers for all of them is 1,000 more. With 200 free calls a month you can build a test list of several hundred businesses before paying anything, and after that the list price is $3 per 1,000 calls. The pricing page has the credit packs, and the website crawl costs nothing but your own bandwidth.
FAQ
Can you extract emails from Google Maps?
Not directly. Google Maps listings show a phone number and a website but no email address, so there is nothing to extract from the listing itself. The usual method is to export the websites from Google Maps and then look for a published contact address on each business's own site.
How do I export phone numbers from Google Maps?
Search for the businesses with an API that returns Google Maps places as JSON. Each result has a phone field in local format, and place details add phone_international. Page through the results with the cursor, then save the name, phone and website columns to CSV.
Why do some places have no phone or website?
The business never added them to its Google profile, or Google removed them. In that case the fields are null in the API response. It is common for very small or new businesses, and there is no other source for them on Google Maps.
Is it legal to email businesses found on Google Maps?
It depends on the recipient's country and on whether the address identifies a person. In the EU and UK the GDPR and ePrivacy rules apply to named addresses and often require consent for marketing emails; in the US CAN-SPAM allows cold business email with an opt-out. Generic role addresses and relevant one-to-one messages carry the least risk.
How many emails can I expect to find?
It varies a lot by industry and country. Hospitality businesses publish emails more often than trades, and many small businesses have no website at all. Test on a sample of about 100 places and measure your own hit rate before planning a campaign around it.
Try it on your own data
Create a free account and get 200 free API calls every month. No credit card required.