Core APIs
...
Google
Google Places & Maps

Details

4min

Google Place Details Parameters

GET /search?search_type=place_details

The Google Place Details Parameters are applicable when making a request with search_type=place_details to retrieve place details for a Place. The Place is specified in the data_id parameter, data_id values are returned from search_type=places Places requests.

If the data_id is not available you may also request a place_details request using a data_cid (a standardised Google Place identifier you may already have access to). However, data_id is the recommended identifier to use.

data_cid vs data_id

When working with our API, it’s important to note that the parameter you use will determine the type of data returned. Here's a quick overview:

  • Requests with data_cid Utilize Google Maps data as the primary source. e.g. requests will not yield profiles data in the response.
  • Requests with data_id Access data through Google Places (powered by the Knowledge Graph parser). These requests include profiles data when available.

In summary, the choice between data_cid and data_id depends on your data requirements.



Google Place Detail Results
Google Place Detail Results


For example, to request place detail results for a Place with data_id=0x87b7122bd8e99a89:0xf20c18461109b2c0 , the request would be:

HTTP
Curl
Node.js
Python
PHP



Google Place Details Parameters

The following parameters are available for all requests made when search_type=place_details .

Parameter

Required

Description

search_type

required

Should be set to search_type=place_details .

data_id

required

The data_id of the Place to retrieve place details for. data_id values are returned in Places requests .

Access data through Google Places. Data returned will differ from data_cid

Note that either a data_id or data_cid identifier must be supplied.

data_cid

required

The data_cid (a standard Google Place identifier) of the Place to retrieve place details for. data_cid values are returned in Places requests .

Access data through Google Maps. Data returned will differ from data_jd

Note that either a data_id or data_cid identifier must be supplied.

hl

optional

The hl parameter determines the Google UI language to return results. View the full list of supported hl values here . Defaults to en .



Next Steps      Google Place Details Results

Updated 22 Jan 2025
Did this page help you?