Skip to content
scrapeatlas.Dashboard

Search places

Try in Playground

Search Google Maps for businesses by keyword, near a place name or around coordinates. Each place returns its IDs, address, phone, website, rating, review count, hours, status and photos. Page with nextCursor.

GET/v1/google/business/searchx-api-keyGoogle Maps Scraper API overview
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
9
querystringrequiredquery

What to search for, 1–200 characters, such as coffee or dentist. The text Google searched is returned as query.

min 1 chars · max 200 chars

Examplecoffee
locationstringquery

Place name to search near, such as Austin, TX. Use location or lat/lng.

min 2 chars · max 120 chars

ExampleAustin, TX
latstringquery

Latitude of the search area center in decimal degrees. Use with lng.

lngstringquery

Longitude of the search area center in decimal degrees. Use with lat.

zoomstringquery

Map zoom for lat/lng, 3–21 (default 14). Higher is a smaller area.

languagestringquery

Interface language for names, labels and translations (hl), such as en, de or pt-BR. Default en.

countrystringquery

Two-letter country for regional results (gl). Default us.

limitstringquery

Places to return, 1–100 (default 20).

cursorstringquery

Offset from a previous nextCursor.

Response fields
81
requestIdstring

Request correlation UUID.

Upstream requests, decoded response bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

True when usable data is returned; inspect status and coverage for omissions.

statusenum

success, partial, failed or challenged. HTTP 200 can be partial.

one of: success, partial

sourceUrlstring

Google Maps page for the search or place.

absolute HTTPS URL

fetchedAtstring

UTC retrieval time.

unreadable_places_skipped (partial) when a result could not be read. order is relevance.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

coverage.orderenum

Always included.

one of: newest_first, oldest_first, ranked, relevance, source_order

querystring

What to search for, 1–200 characters, such as coffee or dentist. The text Google searched is returned as query.

Matching places in Google's order, each with rank (1-based position).

up to 100 items

places.idstring

Always included.

places.placeIdstringnullable

Always included.

places.dataIdstring

Always included.

places.kgIdstringnullable

Always included.

places.namestring

Always included.

places.categorystringnullable

Always included.

places.categoriesstring[]

Always included.

up to 30 items

places.summarystringnullable

Always included.

places.descriptionstringnullable

Always included.

places.addressstringnullable

Always included.

Always included.

places.addressParts.streetstringnullable

Always included.

places.addressParts.neighborhoodstringnullable

Always included.

places.addressParts.citystringnullable

Always included.

places.addressParts.postalCodestringnullable

Always included.

places.addressParts.regionstringnullable

Always included.

places.addressParts.countryCodestringnullable

Always included.

places.plusCodestringnullable

Always included.

places.latitudenumbernullable

Always included.

places.longitudenumbernullable

Always included.

places.timezonestringnullable

Always included.

places.phonestringnullable

Always included.

places.phoneFormattedstringnullable

Always included.

places.websitestringnullable

Always included.

places.domainstringnullable

Always included.

places.ratingnumbernullable

Always included.

places.reviewsCountintegernullable

Always included.

places.businessStatusenum

Always included.

one of: operational, closed_temporarily, closed_permanently

places.openStatestringnullable

Always included.

Always included.

up to 14 items

places.hours.dayenum

Always included.

one of: monday, tuesday, wednesday, thursday, friday, saturday, sunday

places.hours.datestringnullable

Always included.

places.hours.textstring

Always included.

Always included.

up to 6 items

places.hours.periods.opensstring

Always included.

places.hours.periods.closesstring

Always included.

Always included.

up to 10 items

places.secondaryHours.labelstring

Always included.

Always included.

up to 14 items

places.secondaryHours.hours.dayenum

Always included.

one of: monday, tuesday, wednesday, thursday, friday, saturday, sunday

places.secondaryHours.hours.datestringnullable

Always included.

places.secondaryHours.hours.textstring

Always included.

Always included.

up to 6 items

places.secondaryHours.hours.periods.opensstring

Always included.

places.secondaryHours.hours.periods.closesstring

Always included.

places.claimedboolean

Always included.

Always included.

places.owner.idstringnullable

Always included.

places.owner.namestringnullable

Always included.

places.thumbnailstringnullable

Always included.

places.photosCountintegernullable

Always included.

Always included.

up to 20 items

places.images.urlstring

Always included.

places.images.widthintegernullable

Always included.

places.images.heightintegernullable

Always included.

Always included.

up to 40 items

places.attributes.idstring

Always included.

places.attributes.namestring

Always included.

Always included.

up to 80 items

places.attributes.items.idstring

Always included.

places.attributes.items.namestring

Always included.

places.attributes.items.availablebooleannullable

Always included.

places.mapsUrlstring

Always included.

places.rankintegeroptional

Optional.

nextCursorstringnullable

Pass as cursor for the next places, or null at the end.

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
11
HTTPfailure.codeMeaning
200partialUsable data with unreadable_places_skipped or more_reviews_need_sign_in warnings.
400invalid_requestMissing, duplicate, malformed or conflicting parameters, or a link that names no Google Maps place.
401unauthorizedMissing or invalid worker API key.
404not_foundUnknown place, or a keyword with no result.
429upstream_rate_limitedGoogle rate limited the request.
502upstream_challengedGoogle refused the public request.
502unsupported_pageMalformed or mismatched source data.
502response_too_large payload_too_complexResponse exceeded byte or parsing limits.
502unsafe_redirect request_limit upstream_errorBounded source retrieval could not complete.
503busyAll worker slots and the waiting queue are occupied.
504timeoutThe total deadline was exceeded.