Google Maps Lead Extractor for Spain avatar

Google Maps Lead Extractor for Spain

Pricing

from $4.00 / 1,000 place scrapeds

Go to Apify Store
Google Maps Lead Extractor for Spain

Google Maps Lead Extractor for Spain

Extract contactable leads for Spanish local businesses from Google Maps: a Spanish search pack for Madrid, Barcelona and Valencia, with emails and phones pulled from each business's own website. Pay only for leads with a contact found.

Pricing

from $4.00 / 1,000 place scrapeds

Rating

0.0

(0)

Developer

Apitory.com

Apitory.com

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

13 hours ago

Last modified

Categories

Features

Limited permissions

Share

Pull contactable leads for Spanish local businesses — plumbers, electricians, renovation companies, dental clinics, mechanics, restaurants and more — straight from Google Maps, with the public contact details from each business's own website attached.

You get one structured record per business: place data (name, category, address, phone, website, rating, review count) plus the contacts published on the business's website — emails, phone numbers and social profile links. The input comes prefilled with a Spanish-language search pack covering Madrid, Barcelona and Valencia, and the proxy country is prefilled to ES, so categories and addresses render in Spanish, the way a local buyer sees them.

Built for agencies that sell to Spanish local businesses — web design, local marketing, booking and ordering systems, review management — and for anyone building a prospect list of Spanish trades and services with working contact details.

Quickstart

Default input — eight Spanish trades/services across three cities; swap in your own terms and cities:

{
"searchTerms": [
"fontanero en Madrid",
"electricista en Madrid",
"empresa de reformas en Madrid",
"clínica dental en Barcelona",
"restaurante en Barcelona",
"taller mecánico en Barcelona",
"clínica dental en Valencia",
"peluquería en Valencia"
],
"maxPlaces": 200,
"extractContacts": true,
"proxyCountry": "ES"
}

One trade + one city per term, written in Spanish exactly as a local customer would type it into Maps. To cover several markets, duplicate the pack per city. To go deep on one trade (say, every dental clinic in Andalucía), keep a single term and raise maxPlaces. Businesses are deduplicated by Google place ID across all terms, so overlapping terms never double-charge you.

Spanish search wording that works well on Maps: fontanero (plumber), electricista (electrician), cerrajero (locksmith), taller mecánico (car mechanic), clínica dental (dental clinic), empresa de reformas (renovation company), peluquería (hair salon), restaurante, abogados (lawyers), empresa de limpieza (cleaning company), aire acondicionado (air conditioning), fisioterapia (physiotherapy).

Pricing (pay per event)

EventPriceWhen it is charged
Actor start$0.00005 per GB of memoryOnce, when the run starts
Place scraped$0.004 / businessFor every business record in the dataset
Lead scraped$0.10 / leadOnly when the business's website yields at least one public email or phone (contactFound: true)

No contact found → no lead charge. No website → no lead charge. You never pay the premium for an empty record.

How it works

  1. Maps phase (browser). For each search term, the Actor opens google.com/maps/search/<term> in Chromium through Apify Proxy (residential by default, exit IP pinned to Spain unless you change proxyCountry), dismisses the EU consent dialog if shown, scrolls the results feed and harvests every result card. It then navigates to each place page directly and reads the detail panel. Places are deduplicated by Google place ID across all search terms.

  2. Contact phase (plain HTTP, no browser). For every business with a website, the Actor fetches the homepage plus up to 3 likely contact pages (discovered from the homepage's own links — /contacto, /contact, /about, …) and extracts:

    • emails — mailto: links first, then a text pass with placeholder / image-filename / tracker-address filtering and light de-obfuscation (name [at] domain [dot] com);
    • phones — tel: links first, then a conservative text pass;
    • social links — Facebook, Instagram, LinkedIn, Twitter/X, YouTube profile URLs (share/intent/post URLs excluded).

    Websites shared by several locations (chains and franchises) are fetched once.

If Google serves its bot-detection "sorry" page for a search (rare through residential IPs), the Actor detects it, marks that term BLOCKED_BY_GOOGLE in the run metrics and finishes honestly with whatever it has — it does not crash or fabricate results.

Inputs

InputTypeDefaultNotes
searchTermsstring arrayeight-term Spanish pack (Madrid / Barcelona / Valencia)One trade + one city per term, in Spanish, typed exactly as in Google Maps.
maxPlacesinteger200Cap on unique businesses across all terms (max 1000).
extractContactsbooleantrueTurn off for place data only (no lead events are charged).
proxyGroupstringRESIDENTIALApify Proxy group for the Maps browser phase. Residential is strongly recommended.
proxyCountrystringESExit-IP country. Prefilled to Spain; change only when retargeting the pack to another Spanish-speaking market.
useApifyProxybooleantrueOff only for local diagnostics.

Output — one record per business

FieldDescription
nameBusiness name.
categorye.g. "Fontanero", "Clínica dental", "Restaurante" (renders in the exit IP's Google UI language — Spanish with proxyCountry: ES).
addressAddress as shown on Maps.
phonePhone as shown on Maps (website phones are in _contact.phones). Every record with a Maps listing phone is callable even without a website hit.
websiteWebsite URL listed on Maps, or null.
rating / reviewsCountRating and review count from Maps — your prioritisation signal (a 4.8-star clinic with 600 reviews is a different prospect from a 3.9 with 12).
mapsUrlLink to the place on Google Maps.
featureIdMaps feature id (0x…:0x…).
placeIdGoogle ChIJ… place id — the deduplication key.
searchTermWhich search produced this business.
contactFoundtrue when the website yielded ≥ 1 email or phone (the lead condition).
_contact{ website, emails[], phones[], socialLinks[], pagesFetched[] }, or null when the business has no website.

A run summary (businesses found, websites visited, contact and email hit rates, per-search states such as RENDERED / BLOCKED_BY_GOOGLE) is stored in the key-value store record metrics and printed at the end of the run log.

Sample record (real output)

From a pre-publish test run — restaurante en Madrid with proxyCountry: ES, 15 businesses: 15 had websites, 12 (80%) produced a public contact and 7 (47%) a public email. (Category and address render in the language of the exit IP's Google UI — the run was pinned to Spain, so they are in Spanish. Note the pagesFetched list: the contact details came from the site's /contacto/ page, which the Actor discovers from the homepage's own links.)

{
"name": "La Taberna de Peñalver",
"category": "Restaurante mediterráneo",
"address": "C. del Conde de Peñalver, 90, 92 94, Salamanca, 28006 Madrid",
"phone": "608 45 05 51",
"website": "https://www.latabernadepenalver.com/",
"rating": 4.8,
"reviewsCount": 22503,
"placeId": "ChIJnx_fKOApQg0RlDK1xQwDUBI",
"contactFound": true,
"_contact": {
"emails": ["info@latabernadepenalver.com"],
"phones": ["+34608450551", "+34644065781"],
"socialLinks": [
"https://www.instagram.com/latabernadepenalver",
"https://www.facebook.com/La-Taberna-de-Pe%C3%B1alver-105284924592263"
]
}
}

Cost per lead, in plain numbers: a 200-business run costs $0.80 in place events. At the test run's 80% contact rate, ≈ 160 of those businesses produce a public contact: $0.80 + 160 × $0.10 ≈ $16.80 for ~160 contactable Spanish businesses — roughly $0.11 per lead. Your conversion will vary by trade and city; every run's summary reports its actual hit rate, so you can price your client report or your resale list from real numbers, not promises.

FAQ

Chains and multi-location businesses — do I get duplicates? Two kinds, two answers. The same location surfaced by several of your search terms is deduplicated by Google place ID before anything is pushed or charged — you never pay twice for one business. Different locations of a chain are separate records on purpose: each location has its own phone, its own reviews and its own manager, and for local outreach the location is the buying unit. If several locations share one chain website, that site is fetched once and its public contact may appear on each location's record — filter by website domain if you want one row per chain.

Do you charge for duplicates? No. Deduplication by place ID happens before pushing and charging.

What if a business has no website? You get the place record (with the Maps phone, if listed) and pay only the $0.004 place event. For web-design agencies, those records are often the best prospects of all — a busy plumber with no website is a pitch waiting to happen.

Can I use it from the API / n8n / Make / Zapier? Yes — like every Apify Actor it runs via the Apify API and the official integrations. Send the input JSON, read the default dataset when the run finishes. Run it on a schedule to rebuild a city's trade list monthly and diff against last month's for new businesses and closed ones.

Which countries are supported? Anywhere Google Maps has listings. This pack is tuned for Spain (Spanish terms, proxyCountry: ES, /contacto page discovery); for another Spanish-speaking market, change the cities in the terms and the proxyCountry code to match.

Limitations (stated plainly)

  • DOM-based extraction. Google Maps changes its markup regularly; the Actor leans on the most stable hooks available (div[role="feed"], data-item-id attributes, the panel h1), but a field coming back null usually means a selector drifted, not that the data does not exist. Report it and it gets fixed.
  • Website fetching is plain HTTP. A minority of sites block datacenter IPs or hide contacts behind JavaScript; those come back with empty _contact arrays and are not charged as leads.
  • Text-derived phones can include false positives. tel:-link phones are reliable; treat text-only numbers as unverified.
  • Public data only. The Actor collects contact details that businesses publish on Google Maps and on their own websites. It does not access private data.

Support

Questions, trade-pack requests, or a field that came back empty? Contact: apitoryhq@gmail.com — issues are answered publicly in the Actor's Issues tab whenever possible.