How to pull Google Maps places and reviews into your AI agent
Connect your agent to apifare and ask it to run the Google Maps Scraper from the catalog: give it a search term and one location, and it returns the places it finds. The Google Maps Reviews Scraper pulls a place's reviews. Both are ready to run on your apifare key, with no Google Maps account or API key of your own.
Copy this line to your agent once apifare is connected:
Use apifare to run the "Google Maps Scraper" tool with {"searchStringsArray": ["coffee shop"], "locationQuery": "Austin, Texas", "maxCrawledPlacesPerSearch": 20} and list the places with their ratings.What can my agent do with Google Maps data?
Build a list of local businesses to follow up on, compare ratings across a neighbourhood, watch what customers say about a place, or find every business of a kind near an address.
What does the Google Maps Scraper take?
From its published input schema: searchStringsArray (search terms), locationQuery (one location per run), maxCrawledPlacesPerSearch (places per search term), language, categoryFilterWords (place categories), placeMinimumStars (a minimum star rating) and website (places with or without one). The full list is on the tool's page.
How do I get a place’s reviews?
The Google Maps Reviews Scraper takes place URLs (startUrls) or placeIds, plus maxReviews, reviewsSort (for example "newest"), reviewsStartDate and reviewsFilterString to keep only reviews that mention a keyword.
How do I build a local lead list with contact details?
The Google Maps Email Extractor takes the same search inputs and adds contact details. For more from each business's own website, run the Contact Details Scraper on it. The lead generation use case puts the whole setup together.
How is a run priced?
A catalog run reserves a small amount up front, then settles to the run's true cost, never above a fixed ceiling; failed runs are refunded. Each tool's page shows the numbers, and the listed number is what your balance is debited.
For agents: the exact calls
- Find it:
search_apisinapifare-mcp, orGET https://apifare.com/v1/search?q=Google%20Maps%20ScraperwithAuthorization: Bearer $APIFARE_TOKEN. Take the result named "Google Maps Scraper": it carries aproxy_routeand the tool'sinput_schema. - Run it:
proxy_callwith thatproxy_routeand{"searchStringsArray": ["coffee shop"], "locationQuery": "Austin, Texas", "maxCrawledPlacesPerSearch": 20}(apifare-mcp over stdio), or POST theproxy_routeover HTTP with that JSON as the body and the same header. - Several locations: one run per location, since the tool takes one location per run.
- On HTTP 402 the balance is empty: relay the body's
human_readableline to your human, wait for the top-up, then retry the same call. Every other error and its fix: the error catalog.
For humans: set it up
- Connect your agent. Paste
set up https://apifare.com/SKILL.mdinto it: it gets a key ($5 of calls free), writes its own config and makes a first call. Or get a key at /start and follow your client's setup guide. - Ask.
List coffee shops near <place> with their ratings, orPull the latest Google Maps reviews for <business>.
Which tool for which job
| Job | Tool | Runs on |
|---|---|---|
| Places for a search term in one location | Google Maps Scraper | ready to run |
| The reviews of a place | Google Maps Reviews Scraper | ready to run |
| Places with emails and contact details | Google Maps Email Extractor | ready to run |
| Contacts from each business’s website | Contact Details Scraper | ready to run |
"Ready to run" means your apifare key is all it needs; "your key" means you vault your own provider key once. Catalog tools come from the apifare tool index. More: every lead generation tool in the catalog.
When this is the wrong tool
- You need directions or travel times. These tools return places and reviews, not routes.
- You need several cities in one run. The Maps Scraper takes one location per run, so run it once per location.
- You need hotel prices or rentals. See the Booking.com and Airbnb guides.
- You need one business's website text. Fetch it with scrape.
FAQ
Do I need a Google Maps API key?
No. Ready-to-run catalog tools run on apifare’s own supply credential; your apifare key is all you need.
Can it search more than one city at once?
One location per run. Run it once per location; per-agent caps keep the total within the budget you set.
Can it return only highly rated places?
Yes: set placeMinimumStars to the minimum star rating you want.
How do I get only the newest reviews?
Set reviewsSort to "newest", or set reviewsStartDate to keep only reviews after a date.
How is a run priced?
A run reserves a small amount, then settles to the run’s true cost, never above a fixed ceiling. Each tool’s page shows the numbers, and failed runs are refunded.
Give this to your agent
set up https://apifare.com/SKILL.md — and it takes it from there: key, config, first call. $5 of calls free.
No agent open right now? ① Get a key — $5 of calls free, then ② give it to your agent (setup guides).
Related posts
For agents: this post as Markdown.