Skip to the content

Use casesLocal business leads

A list of local businesses, with how to reach them.

Search Google Maps for a kind of business in a place. Each result has a name, an address, a phone number, a rating and a website. Website contacts then reads that website for the addresses and profiles the business publishes itself.

For agencies, field sales and anyone who sells to local businesses.

Or have it done for you, as playbooks:

  • Acquisition Universe · Every business of your acquisition thesis in your metros, off the market from Google Maps and on it from sale listings.
  • Directory to Leads · The businesses a directory lists, each with its website and the email that site publishes, checked.
  • Home-Services Pros · The plumbers, electricians or cleaners of a place, with ratings, licences, years in business and an email.
  • Local Business Leads · Businesses of a kind in your places, with their phone and website, and an email where their own site publishes one.
  • Supplier Discovery · Suppliers of a product from IndiaMART, Google Maps, Gelbe Seiten and ThomasNet, each with location, website and email.

From a map search to a contact

The place record's website is the input of Website contacts. Two scrapers, and the list has an email address beside the phone number.

  1. Find the businesses

    Google Maps searchgoogle.maps_search

    input

    query: "emergency plumber"

    location: "Chicago, IL"

    name: "Rescue Plumbing"

    category: "Plumber"

    address: "1137 W Webster Ave"

    phone: "(773) 219-6071"

    rating: 4.8

    review_count: 1556

    website: "https://www.myrescueplumbing.com/"

    ok1 unit a page

  2. Read what the website publishes

    Website contactsweb.contacts

    input

    domain: "katzsdelicatessen.com"

    max_pages: 2

    domain: "katzsdelicatessen.com"

    emails: [ { "address": "press@katzsdelicatessen.com", "kind": "ro…

    phones: [ { "raw": "212-254-2246", "e164": null, "calling_code": …

    social: { "linkedin": [], "x": [ "https://x.com/KatzsDeli" ], "fa…

    contact_page: "https://katzsdelicatessen.com/contact"

    ok1 unit a run

Each record is the scraper's own sample, returned for the input shown above it. Where a sample was run with another input, the place the carried value goes is marked beside it.

The scrapers behind it

2 scrapers on the line-up, each with a page of its own: its inputs, every field of its record with a sample, and a request ready to send.

  • Google Maps searchgoogle.maps_search

    What to look for, and where: a kind of place and a city, a neighbourhood or a postcode. The places Google Maps lists for the search, in its order, up to a few hundred: name, categories, the address and its parts, phone, website, rating, number of reviews, opening hours, coordinates and the ids Google Maps gives the place.

    1 unit a page, for runs that return data

  • Website contactsweb.contacts

    A company's domain. The contact details its own website publishes: e-mail addresses, phone numbers, social profiles and postal address.

    1 unit a run, for runs that return data

What it is used for

  1. A territory list

    One search a neighbourhood or postcode, de-duplicated on the place id each record carries.

  2. Ranked by reputation

    Rating and review count are on every place, so a list can be sorted or filtered before anyone is called.

  3. An address for the business, not a person

    Website contacts returns role addresses such as info@ or press@ by default. Addresses that name a person are returned only when you ask for them.

The first step, ready to send

This starts Google Maps search with the input shown in the picture above, waits for the run and reads its records. Put your key in the variable it reads.

  • Into a CRM import

    CSV gives one row a place with the same columns every time, which is what an import expects. Records as CSV and NDJSON

  • Run the second step when the first ends

    A webhook on the map search starts the contact runs without polling. How a webhook arrives

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/google.maps_search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"emergency plumber","location":"Chicago, IL"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("google.maps_search", {
    "query": "emergency plumber",
    "location": "Chicago, IL",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("google.maps_search", {
  query: "emergency plumber",
  location: "Chicago, IL",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "google.maps_search", map[string]any{"query": "emergency plumber", "location": "Chicago, IL"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("google.maps_search", Map.of("query", "emergency plumber", "location", "Chicago, IL"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run google.maps_search --input-json '{"query":"emergency plumber","location":"Chicago, IL"}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What it does not do

  • A map search returns the places the list holds when it first loads: about 20, 60 at most.
  • Website contacts reads the business's own site only, a few pages of it. It returns what is published there and nothing from anywhere else.
  • A business with no website has no second step.

Only public pages are read, and a value that could not be read is null. Each scraper’s own page lists its limits in full.

Try it on your own input.

The first 1,000 units each month are free, and a run that fails is never charged.