Skip to documentation
Browse documentation

Get place

Fetch one place with available identity, contact, rating, category, coordinate, and Google Maps URL fields. Provide a search query or a Maps URL; a URL that contains the place ID returns that exact place or not found.

Capability ID googlemaps.place
Maximum runtime 90 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

country string optional

Two-letter country code (default 'us'). Default: `us`.

lang string optional

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

query string optional

Place name/address, ChIJ or GhIJ Place ID (optionally prefixed place_id:), decimal CID (optionally prefixed cid:), or 0x...:0x... feature ID. Explicit identifiers must match the returned place.

Example Empire State Building New York
url string optional

HTTPS Google Maps URL with an explicit ID or named place. Supports maps.app.goo.gl and goo.gl/maps short links with at most five redirects to allowed Maps hosts. Also normalizes google.co.in, google.co.uk, google.fr, google.de, google.ca and google.com.au (bare or www) to www.google.com. Explicit IDs are verified; name-only URLs use the best search match.

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 example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

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.