Method: geocode.places.geocodePlace
Stay organized with collections
Save and categorize content based on your preferences.
This method performs a geocode lookup using a place ID.
HTTP request
GET https://geocode.googleapis.com/v4beta/geocode/{place=places/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
place |
string
Required. Place identifier to geocode in the format of places/{place}.
|
Query parameters
Parameters |
languageCode |
string
Optional. Language in which the results should be returned.
|
regionCode |
string
Optional. Region code. The region code, specified as a ccTLD ("top-level domain") two-character value. The parameter affects results based on applicable law.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of GeocodeResult
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/maps-platform.geocode
https://www.googleapis.com/auth/maps-platform.geocode.place
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],[],null,["# Method: geocode.places.geocodePlace\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nThis method performs a geocode lookup using a place ID.\n\n### HTTP request\n\n`GET https://geocode.googleapis.com/v4beta/geocode/{place=places/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------|---------------------------------------------------------------------------------|\n| `place` | `string` Required. Place identifier to geocode in the format of places/{place}. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `languageCode` | `string` Optional. Language in which the results should be returned. |\n| `regionCode` | `string` Optional. Region code. The region code, specified as a ccTLD (\"top-level domain\") two-character value. The parameter affects results based on applicable law. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [GeocodeResult](/maps/documentation/geocoding/reference/rest/v4beta/GeocodeResult).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/maps-platform.geocode`\n- `\n https://www.googleapis.com/auth/maps-platform.geocode.place`"]]