Local businesses
Google Maps API reference
Search Google Maps businesses and read place details, hours, ratings and reviews.
Three endpoints read public Google Maps data: search businesses by keyword, place or coordinates with paging; read a place's address, phone, website, hours, attributes, photos, rating breakdown and review topics; and read its public reviews with owner replies.
API availability: Available
http://localhost:3067Public API: https://api.scrapeatlas.com.Endpoints
/v1/google/business/searchSearch places
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.
Reference/v1/google/business/infoGet place details
Read one Google Maps place by place ID, cid, feature ID, Maps link or keyword: address, phone, website, hours, status, attributes, owner, photos, star-rating breakdown and the topics reviewers mention.
Reference/v1/google/business/reviewsGet place reviews
Read the reviews Google Maps shows publicly for a place, most relevant first, with rating, text and translation, date, reviewer and Local Guide level, photos, dining details and the owner's reply, plus the place's rating breakdown and review topics.
ReferenceQuick start
Create an API key on your account page, then call the public API. Values below are placeholders.
curl "https://api.scrapeatlas.com/v1/google/business/search?query=coffee&location=Austin%2C+TX" \
-H "x-api-key: YOUR_API_KEY"Coverage & limits
- Independent, stateless worker: eight concurrent operations, with up to 16 more waiting at most 8 seconds for a slot; 30-second total deadline, including the wait; at most eight upstream requests per operation. One read is retried once on a network failure or HTTP 5xx. HTTP 429 is never retried by the worker.
- Fixed public HTTPS origin www.google.com (the logged-out Google Maps web client). No login, cookies, browser, outbound link visits, media downloads or result storage. The service API key is never forwarded.
- At most 6 MiB decoded data per operation, depth 64 and 600,000 parsed nodes.
- Search returns up to 100 places per request (pages of 20) and up to about 180 places per query; reviews return up to 20.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with unreadable_places_skipped or more_reviews_need_sign_in warnings. |
| 400 | invalid_request | Missing, duplicate, malformed or conflicting parameters, or a link that names no Google Maps place. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 404 | not_found | Unknown place, or a keyword with no result. |
| 429 | upstream_rate_limited | Google rate limited the request. |
| 502 | upstream_challenged | Google refused the public request. |
| 502 | unsupported_page | Malformed or mismatched source data. |
| 502 | response_too_large payload_too_complex | Response exceeded byte or parsing limits. |
| 502 | unsafe_redirect request_limit upstream_error | Bounded source retrieval could not complete. |
| 503 | busy | All worker slots and the waiting queue are occupied. |
| 504 | timeout | The total deadline was exceeded. |