Google Maps API Tutorials (JavaScript)

Places API Place Details

Last modified on March 20th, 2022
Google Maps API Javascript

Place Details Request lets you get more comprehensive information about a specific place using place_id.

The place_id can be found on each place item of the Place Search Response Object which could be either Nearby Search Request or Text Search Request.

Place Details BASE URL

https://maps.googleapis.com/maps/api/place/details

Place Details Request URL Parameter (Required)

namedescription
JSON or XMLOutput format (json recommended)

Place Details Request Query Params (Required)

namedescription
place_id (Required)A unique identifier of a place (ID) that is normally returned from a Place Search
key (Required)Your Application API Key from Google Cloud Console

Sample Place Details Request URL

https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJryijc9s0K4gRG9aU7SDTXdA&key=[YOURAPIKEY]

Place Details Response JSON Object

Hey, Like what you're reading? Check this out!

🔥 9,134+ students already enrolled!
4.6 ⭐️⭐️⭐️⭐️⭐️ (145+ ratings) BEST SELLER