Skip to main content
POST
Search places on Google Maps by keyword and location
  • Endpoint: maps.search
  • Returns: data has places.
  • Cost: 3 credits per 20 items, at least 3 credits. Failed calls cost nothing.
  • Paging: No.

Example

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
near
string
Required string length: 2 - 200
center
object
radiusKm
number
default:5
Required range: x <= 100
limit
integer
default:20
Required range: 1 <= x <= 1000
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})?$

Response

The data, and the credits this call used.

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