naïve
← Blog
GuideDevelopersNovember 26, 2026·12 min read

Google Maps Lead Generation API: A Claude Outreach Agent

Use a Google Maps lead generation API from code or as a Claude skill: find local businesses, read reviews, verify a contact and email them after you approve.

Guide/email

TL;DR

  • A Google Maps lead list is an API call, not a scrape: maps.places returns names, websites, phone numbers, ratings and place ids for a keyword near a city, about 20 places per call, at $0.00015 a call.
  • Claude can do it as a skill: point it at usenaive.ai/developers/skill.md or add the MCP connector, and it calls the same maps tools with no scraper, Docker image or proxy.
  • Reviews give the agent its opening line. maps.reviews returns the newest reviews for a place, also $0.00015 a call.
  • People finder lists the addresses on a business's domain ($0.025 per address) and verify-email checks one before the agent writes ($0.01).
  • The agent sends from its own inbox for $0.0008 per email, and with the email.send rule set to always, every message waits for your approval.
  • 200 leads cost about $7.19 with contact lookup, or $2.19 when you already have the addresses. Outreach still has to follow CAN-SPAM.

Tools used in this post

How do you turn Google Maps into a lead list?

Call a Google Maps lead generation API instead of scraping pages. One call to maps.places with a keyword and a city returns about 20 businesses, each with name, address, phone, website, rating, review count and a place_id. It costs $0.00015 per call. An agent can then read each place's reviews, find and verify a contact, write a short personal note and send it from its own inbox. You approve each send before it goes out.

What Naive is. Naive is a developer platform that gives AI agents data tools (such as Google Maps search and reviews) and resources of their own (an identity, an email inbox, a phone number), all on one API key with pay-per-call pricing. "One key" means a single NAIVE_API_KEY that runs every tool and resource in this guide, from the SDK, the CLI or Claude.

Most Google Maps scrapers stop at the CSV. You still have to find who to write to, write something worth reading and send it without burning your own mailbox. This guide builds the whole loop on one key: search, reviews, contact lookup, an inbox the agent owns, and an approval step before anything leaves.

Definitions. A place is one business listing on Google Maps. A hook is one specific, true detail that shows you looked at the business. An identity is the agent's own name in Naive; it holds the inbox and the approval rules.

Is there a Google Maps scraper skill for Claude?

You do not need a scraper skill. Give Claude one line: "set up https://usenaive.ai/developers/skill.md". It reads the skill file, installs the tools and can then search Google Maps through maps.places and maps.reviews. In Claude or ChatGPT you can instead add https://mcp.usenaive.ai/v1/mcp as a custom connector. Either way, Claude gets structured results back. There is no Docker container, headless browser or proxy pool to keep alive.

The skill route also keeps the approval step. Self-hosted scraper skills often tell the agent to skip permission prompts so a long run does not stall. Here, the rule that holds each email lives on the agent's identity, and only a signed-in person can change it. An agent working with an API key can read its rules but cannot switch them off.

Google Maps lead generation: scraper, official API or Naive?

ApproachWhat you runWhat you getContact and send
Self-hosted scraper (script or Claude skill)A headless browser, proxies, fixes when the page changesWhatever the page showsNot included
Hosted scraper marketplaceAn actor or job per scrape, usually a monthly plan plus usageA CSV or JSON exportNot included
Google's official Places APIA Cloud project and billing account; Google's caching and display rules applyPlace details and a few reviewsNot included
Naive maps.places + maps.reviewsOne API key, from code, the CLI or ClaudeStructured places and reviews, $0.00015 per callPeople finder, verify-email, the agent's own inbox, approvals

If all you want is the list, any of the first three will do. Naive is useful when the list feeds an agent that also writes and sends.

What does the agent need?

StepTool or resourcePrice (catalog)
Search placesmaps.places$0.00015 / call
Read reviewsmaps.reviews$0.00015 / call
Find addresses on a domainpeople-finder.find-domain-emails$0.025 / result
Verify an addresspeople-finder.verify-email$0.01 / result
Send the emailInboxinbox included, $0.0008 / email
Optional: search a listings database by categorygoogle-maps.business-listings-search$0.00036 / result
Optional: text follow-upPhone number$1.15 per 30 days, $0.0129 per sent segment

The Google Maps tool has 47 actions in the catalog, including extended reviews, business profiles and Q&A. You only need two of them here.

Step 1: connect and give the agent its own inbox

Install the SDK and set your key. New accounts get $1 of free credit with no card.

npm i @usenaive-sdk/naive
export NAIVE_API_KEY=nv_...

Create an identity for the agent and an inbox on it. Without a domain, the inbox lives on the shared Naive domain; you can move it to your own domain later.

import { createNaive } from "@usenaive-sdk/naive";
 
// approvals: "wait" makes a held call wait for your decision, then return the result.
const naive = createNaive({ approvals: "wait" });
 
const outreach = await naive.identities.create({
  name: "outreach",
  description: "Writes to local businesses about our booking widget",
});
const inbox = await naive.emails.create(outreach.id, {});
console.log(inbox.address);

The CLI does the same:

npm i -g @usenaive-sdk/cli
naive identity create --name outreach
naive email create --identity outreach

From Claude or ChatGPT, add https://mcp.usenaive.ai/v1/mcp as a custom connector and say "create an identity called outreach with an inbox". The setup for each client is in How to give Claude or ChatGPT its own email inbox.

How do you make the agent ask before it sends?

Set the identity's email.send rule to always. By default, email sends without asking. That is fine for replies to your own team, but wrong for outreach. Change the rule in the developers dashboard, or from the CLI while signed in as yourself. An API key can read the rules but not change them, so an agent cannot switch its own approvals off.

naive identity rules outreach --set email.send=always

Now every send from that identity comes back as a held approval. You approve or deny it in the dashboard. In approvals: "wait" mode, the SDK waits up to 10 minutes for your decision and then returns the send result. A denied send throws an ApprovalRequiredError, which you can catch and skip. For a larger batch, use approvals: "return" instead. Queue the sends, then come back to the queue later with naive approvals list --status pending. The full model is in How to add human approval to an AI agent.

How do you search Google Maps places through the API?

maps.places takes a query and a near location. Each result carries the fields a lead list needs.

const run = await naive.tools.run("maps.places", {
  query: "dentists",
  near: "Austin, TX",
});
 
// Field names as returned on production. `reviews` here is the review count, a number.
type Place = { title: string; place_id: string; address?: string; website?: string; phone?: string; rating?: number; reviews?: number };
const places = ((run as { output: { local_results?: Place[] } }).output.local_results ?? [])
  .filter((p) => p.website && (p.rating ?? 0) >= 4);
naive tools run maps.places --arg query=dentists --arg "near=Austin, TX"

One place from our production run, trimmed to the fields used here:

{
  "title": "Swish Dental Downtown",
  "place_id": "ChIJdWgENLS1RIYReos4IrRuTmQ",
  "website": "https://www.swishsmiles.com/location/downtown",
  "phone": "(512) 713-1099",
  "rating": 4.5,
  "reviews": 997
}

Each call returns about 20 places, and there is no page-size option, so passing a larger limit still gets you about 20. In our run, one search returned 20 places, and every one had a website and a phone number. To reach 200 leads, vary the query and the area ("dentists" near "East Austin", "Round Rock", and so on) and drop duplicates by place_id. For a category-wide pull, google-maps.business-listings-search searches a business listings database by category, name or area at $0.00036 per result.

How do you get Google reviews through an API?

A note that opens with a real detail gets read. maps.reviews takes the place_id and returns the newest reviews, plus a list of topics customers mention. Each review carries rating, snippet (the review text) and date.

type Review = { rating: number; snippet?: string; date?: string };
const hooks = new Map<string, string>();
for (const place of places) {
  const r = await naive.tools.run("maps.reviews", { place_id: place.place_id });
  const list = (r as { output: { reviews?: Review[] } }).output.reviews ?? [];
  const praise = list.find((x) => x.rating >= 4 && x.snippet)?.snippet;
  if (praise) hooks.set(place.place_id, praise);
}

Have the model turn the review into one sentence in your own words ("Patients keep mentioning how fast you fit in same-day visits"). Do not quote a reviewer by name, and do not invent details the reviews do not contain.

How do you find and verify a business's email address?

The listing gives you a website, not a person. Two people-finder actions close the gap:

  • people-finder.find-domain-emails lists the addresses found on a domain, with sources and confidence scores. It costs $0.025 per address returned. (people-finder.find-email is for when you already know a person's name.)
  • people-finder.verify-email checks one address's deliverability for $0.01 per result. Verify every address before the first send. Bounces hurt the inbox's reputation more than anything you write.
// Input keys and output fields: run `naive tools get people-finder --endpoint people-finder.find-domain-emails`
// (and --endpoint people-finder.verify-email) to read the live schema before you rely on this.
type Found = { value: string; confidence?: number };
const contacts = new Map<string, string>();
for (const place of places) {
  const domain = new URL(place.website!).hostname.replace(/^www\./, "");
  const found = await naive.tools.run("people-finder.find-domain-emails", { domain });
  const emails = ((found as { output: { data?: { emails?: Found[] } } }).output.data?.emails ?? [])
    .sort((a, b) => (b.confidence ?? 0) - (a.confidence ?? 0));
  const best = emails[0]?.value;
  if (!best) continue;
  const check = await naive.tools.run("people-finder.verify-email", { email: best });
  const status = (check as { output: { data?: { status?: string } } }).output.data?.status;
  if (status === "valid") contacts.set(place.place_id, best);
}

For a small business, the address on the website's contact page is often the right one. Prefer the owner or office manager over a generic address when the business lists one. Never guess addresses from a pattern without verifying them. See the people finder tool for every action.

Step 5: draft and send from the agent's inbox

With the identity's rule set to always, the send loop is plain code. Each emails.send is held until you approve it. draft() is any model call you like. Ours used the prompt Write a 60-word email to {business}. Open with this detail in your own words: {hook}. Ask one question about how they take bookings. No flattery, no links.

// Replace with your own model call; it returns the email body as plain text.
async function draft(input: { business: string; hook: string }): Promise<string> {
  return `Hi ${input.business} team, ...`;
}
 
for (const place of places.slice(0, 20)) {
  const to = contacts.get(place.place_id);
  const hook = hooks.get(place.place_id);
  if (!to || !hook) continue;
 
  const text = await draft({ business: place.title, hook });
  try {
    await naive.emails.send(outreach.id, inbox.id, {
      to: [to],
      subject: `A question about bookings at ${place.title}`,
      text,
    });
  } catch (err) {
    console.log(`skipped ${place.title}`, err); // denied, expired or not approved in time
  }
}
naive email send --identity outreach --inbox eml_... \
  --to owner@example.com --subject "A question about bookings" --text "..."

Approve the first batch of 20 one by one and read every draft. Once the drafts are consistently good, keep the rule on for anything new (a new city, a new offer) rather than switching it off. Replies land in the same inbox. Read them with naive.emails.messages(outreach.id, { channel: "email" }), or subscribe to the email.received webhook so the agent wakes when someone answers.

Email to your own team works on the free credit. Email to people outside your workspace unlocks after a first $10 top-up.

Should the agent follow up by SMS?

Only with consent. A business phone number on a Maps listing is not permission to text it. Use the phone number only for people who replied and asked to be texted, or who gave you their number for that purpose. The agent's number receives texts right away. Sending opens after carrier registration, and buying a number asks you first. Sending a text costs $0.0129 per segment and has its own approval rule, sms.send. Details are in Give your AI agent a phone number.

What does it cost to reach 200 leads?

Prices are catalog list prices. The first two rows were checked on production on 2026-11-26. The table assumes one address found per business.

ItemCountUnit priceCost
maps.places searches (about 20 places each)10$0.00015 / call$0.0015
maps.reviews200$0.00015 / call$0.03
people-finder.find-domain-emails200$0.025 / result$5.00
people-finder.verify-email200$0.01 / result$2.00
Emails sent200$0.0008 / email$0.16
Totalabout $7.19

If you already have the addresses and only verify them, skip the lookup row and the total is about $2.19. A domain that lists several addresses bills each one, so the lookup can cost more. Your model's tokens for drafting are on top.

Verified run

CallDateResultBilledWall time from client
maps.places query "dentists" near "Austin, TX"2026-11-2620 places, all with website and phone$0.000158.6 s
maps.reviews for the first place2026-11-268 newest reviews plus topics$0.0001510.4 s

Both runs were read-only calls with a production key. Latency will vary with the place and the time of day.

What are the rules for AI cold email?

The agent writing the email does not change the law. In the US, CAN-SPAM covers commercial email, including email to businesses:

  • Accurate sender. The From name and address must identify who is writing. An agent inbox on your domain, signed with your company name, does that.
  • Honest subject. The subject must reflect the content. No "Re:" on a first message.
  • Say it is an offer when it is one, and include a valid postal address.
  • A working opt-out. Tell people how to stop hearing from you, and honor it within 10 business days. Have the agent keep a do-not-contact list and check it before every send.
  • You are responsible for what the agent sends in your name, approved or not.

Texting is stricter than email: marketing texts need the recipient's prior consent. Outside the US, rules such as the GDPR and Canada's anti-spam law can require consent before the first email. This is not legal advice; check the rules where your recipients are.

When not to use Naive for this

  • You only need the list. If a spreadsheet of places is the end product, a single maps.places call through any client is enough; you do not need an identity or an inbox.
  • High-volume cold email. This setup is for a few dozen considered notes a day, each approved. It is not a bulk sender, and blasting from a new inbox will hurt deliverability.
  • Consumer lists. People finder is for lawful business use. Do not use it to build lists of private individuals.
  • You want sends from your personal mailbox. The agent sends from its own inbox by design. If replies must come from your own Gmail, use your mail client.

Get started

Build the outreach agent: get a key with $1 free credit, no card. Or hand your agent one line: "set up https://usenaive.ai/developers/skill.md", and it installs the tools itself.

The reference for every call above is in the developer docs. Start from the developers page to see every tool and resource on one key.

FAQ

Is there a Google Maps lead generation API?
Yes. On Naive, the maps.places tool searches Google Maps by keyword and location and returns each place's name, address, phone, website, rating, review count and place id, about 20 places per call. It costs $0.00015 per call with one API key, and the same key also runs reviews, contact lookup and email.
Is there a Google Maps scraper skill for Claude?
You do not need a scraper skill. Tell Claude to set up https://usenaive.ai/developers/skill.md, or add https://mcp.usenaive.ai/v1/mcp as a connector. Claude then calls maps.places and maps.reviews and gets structured results, with no Docker container or proxy to run. Approval rules can only be changed by a signed-in person, so the agent cannot turn off approval before sending.
How do I get Google reviews through an API?
Pass a place_id from a places search to maps.reviews. It returns the newest reviews for that place, with rating, text and date, plus the topics customers mention, for $0.00015 per call. The google-maps tool group has 47 actions in total, including extended reviews and business profiles.
How much does it cost to generate 1,000 Google Maps leads?
About 50 maps.places searches cost $0.0075, and reviews for 1,000 places cost $0.15. Finding one address per business costs about $25 and verifying it costs $10. Sending 1,000 emails costs $0.80. That is about $36 in total, or about $11 if you already have the addresses. Model tokens for drafting are extra.
Should I scrape Google Maps or use an API?
A scraper you run yourself breaks when the page changes and needs proxies to keep working. An API returns the same fields as structured JSON, so you have nothing to maintain. Either way, you are responsible for how you store and use the data, so check Google's terms and the outreach laws that apply to you.
Can an AI agent send cold email only after I approve it?
Yes. Set the identity's email.send approval rule to always. Each send is held as an approval until a person approves or denies it in the developers dashboard. With the SDK in approvals: "wait" mode, your script waits and continues with the result once you approve.
Is AI cold outreach to local businesses legal?
Commercial email to US businesses is allowed under CAN-SPAM if the sender is accurate, the subject is not deceptive, the message carries a postal address and a working opt-out, and opt-outs are honored within 10 business days. Texting is stricter: only text people who agreed to it. This is not legal advice; other countries have their own rules.