Google
Google maps search API
Search places on Google Maps by keyword and location. Call the Google maps search API for JSON. 1 credit per call. Every call returns the same flat shape.
POST
Search places on Google Maps by keyword and location
Searches places on Google Maps by keyword and location.
Request
query and location are required.
This endpoint can be called without an API key, subject to per-address limits. Pagination requires a key.
Response
If successful, the response body contains the standard envelope.data.results[] contains the places, each with its rating, address, contact details and opening hours.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Optional parameters
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
Results are paginated. To retrieve the next page, incrementpage. An empty data.results indicates the last page. The maximum value of page is 10.
Related methods
- Google Maps place: Accepts
placeUrl. Returns a place’s address, hours, rating and contact details. - Google Maps reviews: Accepts
placeUrl. Returns a place’s reviews.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 200Required string length:
2 - 200Available options:
2, 2.5, 3, 3.5, 4, 4.5 Google Maps' own Hours filter, Open now: only places open at the moment of the search.
ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
Pattern:
^[A-Za-z]{2}$BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
Pattern:
^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,4})?$Page number, starting at 1.
Required range:
1 <= x <= 10