Google Maps Search
2 creditsSearch for places on Google Maps.
/api/v1/tools/google/maps/searchParameters
Search query (e.g. "pizza near me", "hotels in Paris"). Provide query, searchTerms, placeIds, or companies.
Up to 10 search terms, run in order and merged into one list without repeats. Replaces query. maxResults covers all terms together, and each place lists its term in matchedQuery.
Up to 100 place IDs (e.g. "ChIJN1t_tDeuEmsRUsoyG83frY4"), place URLs, CID URLs (?cid=...), or share links (maps.app.goo.gl). A Maps search URL (/maps/search/coffee/@37.77,-122.41,14z) searches the map area it shows, up to maxResults. Query and location are ignored.
Up to 50 companies. Each entry has name and city, with optional state and country. Each place carries the position of its company in inputIndex. Query, location, and placeIds are ignored.
Maximum places to return for each company (1-20). Defaults to 1.
BCP-47 language code for localized results (e.g. "en", "ja", "fr"). Defaults to "en".
ISO 3166-1 alpha-2 region code (e.g. "us", "jp", "fr"). Defaults to "us".
Address, city, or area. A search needs an area: customGeolocation, a boundary field, both coordinates, or location. That is also the order in which they apply.
Center latitude (-90 to 90).
Center longitude (-180 to 180).
Country name or code (e.g. "US", "Germany"). With state, county, city, or postalCode, the search covers the exact boundary of the area. An area with no boundary, such as a US ZIP code, is searched around its center with the radius.
State, province, or region (e.g. "Texas", "Bavaria").
County or district (e.g. "Kings County").
City or town (e.g. "Austin").
Postal code (e.g. "10115").
A GeoJSON Polygon, MultiPolygon, or Point. Coordinates are [longitude, latitude]. A Point is the center of a circle with its own radiusKm, or with the search radius when radiusKm is absent. Overrides the boundary fields.
"area" (default) returns places with known positions inside the search area. "nearby" returns the places that best match the query near the point, about 60 at most for each search term.
Map zoom level (1-21). Defaults to 14.
Search radius in km. Defaults to 50. Capped at 5,000 km. Do not send it with radius.
Search radius in radiusUnit. Defaults to 50. Capped at 5,000 km. Use it instead of radiusKm.
"km" (default) or "mi". Sets the unit of radius. radiusKm is always km.
Maximum places to return, over all search terms together. Defaults to 20. 0 sets no limit, up to 100,000. A search that runs out of time returns the places found so far with truncated set.
Only return places that are currently open.
Only return places that are open 24 hours.
Only return places open at a specific day/time. Properties: day (1=Mon to 7=Sun), hour (0-23).
Only return places with at least this average rating. Must be from 2 through 4.5. The scraper rounds the filter to the nearest 0.5.
Only return places matching these price levels. Values: "1" ($), "2" ($$), "3" ($$$), "4" ($$$$).
Google category ID to filter by (e.g. "sushi_restaurant", "italian_restaurant", "ramen_restaurant"). Available categories depend on query/location.
Leave out places that are closed temporarily or permanently.
"all" (default), "withWebsite" (only places that have a website), or "withoutWebsite" (only places that have none).
Compare each place name with the search term that found it. "contains": the name includes all words of the term, in order (e.g. "chicken" keeps "Chicken Shack"). "exact": the name is the term. Case, accents, and punctuation are ignored. Default "all".
Up to 50 words. Keep only places with a category that contains one of them (e.g. "restaurant" keeps "Italian restaurant", but "bar" does not keep "Barber shop"). Categories are in the request language. These filters run before maxResults.
Adds the details that a search leaves out: photos (with imagesCount and totalPhotoCount), review quotes, featured reviews, price per person, popular times, live busyness, typical time spent, amenities, related places, menu, popular dishes, tickets, tours, owner details and posts, cover photo, street view, review counts per star, review topics, ratings from other sites, visitor updates, regions, and similar hotels. A place that Google has no details for keeps its search fields. The search is slower. If the time runs out, or the owner, review, and region fields of a place cannot be read, the places not fully read keep their search fields and truncated is true. When fields is omitted, these fields are in the defaults. A call with this option costs 5 credits.
Adds each place's photo and video listing, with the author and upload details of each. This turns on includeRichFields, so the call costs 5 credits. Photos are listed up to maxPhotos. Each place is slower. When the listing cannot be read, the place keeps the photos from the search and truncated is true.
Maximum photos per place when includePhotos is on. Defaults to 200. 0 lists all the photos that Google shows, up to about 2,100 for the busiest places. Videos are listed in addition. Range 0 to 10,000.
Adds each place's web results: the top web pages about it, such as its own site or social profiles. This turns on includeRichFields, so the call costs 5 credits. Each place is slower. A place with no web results gets an empty list. webResults is missing, and truncated is true, when the pages could not be read.
Finds email addresses, social profiles, and the owners and managers named on each place's own website. Google Maps does not publish business emails. Reads the website and up to 3 contact, legal, or about pages on it, so the search is slower. The text that the owner wrote on Google is also read for emails. Every place gets emails, socialProfiles, contactPersons, and contactsStatus (scraped, no_website, skipped, blocked, or failed), which are in the defaults when fields is omitted. A website that is still open near the 60-second limit gets contactsStatus failed. A call with this option costs 5 credits.
Also returns the places inside each result, such as the shops in a mall, one level deep. Each one lists the outer place in parentPlaceId. They come after the results and are extra to maxResults, up to 500. Min rating, price levels, skip closed places, and the website filter also apply to them. If the time runs out, truncated is true.
Sort order for results. One of "relevance" (default), "distance", "price", "rating".
Hotel star ratings to include (2-5). Example: [4, 5] for 4-star and 5-star hotels.
Hotel price range filter. Properties: min (number), max (number), currency (3-letter code, e.g. "USD", "JPY").
Fields per place. Omit for defaults: placeId, title, categories, rating, reviewCount, formattedAddress, latitude, longitude, phone, website, businessStatus, priceRange. A search with several terms also returns matchedQuery, a company lookup also returns inputIndex, places inside also return parentPlaceId, includeRichFields adds the rich fields, and includeContacts adds emails, socialProfiles, contactPersons, and contactsStatus. Use ["*"] for all.
Response Schema
Google Maps search result
Array of place objects. Fields depend on the fields parameter. Default fields: placeId, title, categories, rating, reviewCount, formattedAddress, latitude, longitude, phone, website, businessStatus, priceRange.
Number of results returned
Request metadata
Tool name (google-maps-search)
Credits consumed (2, or 5 when includeRichFields, includePhotos, includeWebResults, or includeContacts is on)
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/google/maps/search \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"query": "best pizza","location": "New York, NY","maxResults": 10}'
Response Example
{"data": {"results": [{"placeId": "ChIJWbGLc9JYwokRaGMkH7wlF3g","title": "Joe's Pizza","categories": ["Pizza restaurant"],"rating": 4.5,"reviewCount": 12450,"formattedAddress": "7 Carmine St, New York, NY 10014","latitude": 40.7306,"longitude": -74.0021,"phone": "+1 212-366-1182","website": "https://www.joespizzanyc.com","businessStatus": "OPERATIONAL","priceRange": "$"}],"count": 1},"meta": {"tool": "google-maps-search","creditsUsed": 2,"requestId": "req_abc123"}}