Skip to documentation
Browse documentation

Get Place

Fetch the best matching place with available identity, contact, rating, category, coordinate, and Google Maps URL fields. Provide exactly one search query or Maps URL.

Capability ID googlemaps.place
Cost 1 credit per request
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

country string optional

Two-letter country code (default 'us').

lang string optional

Language code such as 'en' or 'en-US' (default 'en').

query string optional

Place name or address, e.g. 'Shake Shack Madison Square Park'.

Example Empire State Building New York
url string optional

Full Google Maps place URL whose path contains /maps/place/.

Response

Successful output is returned in results[0].data. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
address string Empire State Building, 20 W 34th St., New York, NY 10001
cid string 15074921902713971043
feature_id string 0x89c259a9b3117469:0xd134e199a405a163
lat number 40.7484405
lng number -73.98566439999999
maps_url string https://www.google.com/maps/place/?q=place_id:ChIJaXQRs6lZwokRY6EFpJnhN…
name string Empire State Building
place_id string ChIJaXQRs6lZwokRY6EFpJnhNNE
rating number 4.7
types array 3 items
types array 3 items
website string https://www.esbnyc.com/

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.