Introducing the Instagram APIRead more →

Google Maps Search API. Businesses matching your search.

Businesses by keyword and location, with ratings. We handle the proxies, blocks and platform changes.

In your agent: Google Maps MCP server →

Google Maps Search API at a glance

Returns the places a Google Maps search lists for your words in a location or around a point, in Google's order. Each has its place ID, address, coordinates, phone, website, categories, rating and review count, weekly hours, photos and whether it is claimed or closed. A search for one business's name returns that place alone.

GET /v1/googlemaps/search_places

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 28 typed fields null when unknown
  • 20 businesses per page, Google Maps' ranking for the map: most relevant first
  • query is all it needs, e.g. pizza

Send one request. Get up to 20 businesses back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
query = pizza
GET /v1/googlemaps/search_placesTry in
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
  lat: "40.7222",
  lng: "-73.9874",
  query: "pizza",
  zoom: "15",
});
const res = await fetch(`https://socialtap.dev/v1/googlemaps/search_places?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/googlemaps/search_placesLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 3 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Google Maps doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    What to look for, as typed into Google Maps: a kind of place (pizza, dentist), a business's name or an address.

  • Write one parser

    Google Maps, Instagram and Facebook Marketplace answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, instagram, …).
In the example "googlemaps"
idstring
Platform-native place ID (TikTok POI ID, Instagram location ID, Facebook Page ID, Google place ID).
In the example "ChIJ52tvBGhZwokROhzPBm3wPrU"
namestring
Place name as the platform shows it.
In the example "Pizza Loves Sauce - Lower East Side"
urlstring
Canonical place page URL.
In the example "https://www.google.com/maps?cid=13060140320477355066"
typestring
venue: one spot (a business, landmark or address); area: a region (a neighborhood, city, state or country); unknown: not stated. New values may be added; treat unknown values as unknown.
In the example "venue"
categorystring
The platform's category label (Cafe, City, Pizza Fast Food), as shown; not normalized across platforms.
In the example "Pizza restaurant"
categoriesstring[]
Every category label the platform gives the place, primary first (category is the first), as shown; [] when it gives none (or unknown: see unknown_fields).
In the example 1 item: "Pizza restaurant"
descriptionstring
The place's description or about text; null when none is shown.
In the example null

What teams build with the Google Maps Search API.

  • Build a lead list of local businesses

    Search a trade in each city you sell to (dentist, Austin, TX) and keep name, phone, website_url and address, with is_claimed to find owners who never set up their listing.

  • Map competitors around a location

    Search your category at a store's lat and lng and store each result's rating, metrics.review_count and coordinates, to see who ranks above you on that map.

  • Find a business's place ID from its name

    Search the name with its city: a name Google knows returns that one place, whose id the Google Maps Place and Reviews APIs take.

Good to know before you build.

  • Google Maps stops listing a search after about 120 to 150 places. A walk that ends past 100 places ends with page.end_reason platform_limit, even when the list was complete, as Google doesn't say which: search smaller maps or narrower words for more.
  • Results in a list leave rating_distribution and parent null and review_topics unknown: the Google Maps Place API returns them for one place.
  • A location that Google can't place on a map, or that several places share (Springfield), may be read as another: add the state or country.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Google Maps Search API.

More in the API reference.

Is this a Google Maps scraper that needs no API key from Google?
Yes. It reads the search Google Maps shows logged-out visitors, so you need only your SocialTap key, and you get each place's place ID, CID and feature ID.
How do I get more results than one search lists?
Split the area: search the same words at several lat and lng points with a higher zoom, or in each neighborhood or postcode as location, and deduplicate by id.
Can I search around coordinates?
Yes. Send lat and lng, with zoom for the map's size. A Maps search link with @lat,lng,zoom in it works as the query, and its map is used.
How much does the Google Maps Search API cost?
A page of up to 20 businesses costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it with your own search.

Type it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 319 endpoints
Start for free Read the docs