Skip to main content
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, increment page. An empty data.results indicates the last page. The maximum value of page is 10.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required
Required string length: 1 - 200
location
string
required
Required string length: 2 - 200
minRating
enum<number>
Available options:
2,
2.5,
3,
3.5,
4,
4.5
openNow
boolean
default:false

Google Maps' own Hours filter, Open now: only places open at the moment of the search.

country
string
default:us

ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.

Pattern: ^[A-Za-z]{2}$
language
string
default:en

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
integer
default:1

Page number, starting at 1.

Required range: 1 <= x <= 10

Response

The data, and the credits this call used.

success
any
required
data
object
required
creditsUsed
integer
required
requestId
string
required