Places API (New)
Stay organized with collections
Save and categorize content based on your preferences.
The Places API allows developers to access a variety of search and retrieval endpoints for a Place.
Service: places.googleapis.com
The Service name places.googleapis.com
is needed to create RPC client stubs.
Methods |
AutocompletePlaces
|
Returns predictions for the given input. |
GetPhotoMedia
|
Get a photo media with a photo reference string. |
GetPlace
|
Get the details of a place based on its resource name, which is a string in the places/{place_id} format. |
SearchNearby
|
Search for places near locations. |
SearchText
|
Text query based place search. |
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."],[[["\u003cp\u003eThe Places API provides developers with access to various search and retrieval endpoints for Place data.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize endpoints like AutocompletePlaces, GetPhotoMedia, GetPlace, SearchNearby, and SearchText to interact with Place information.\u003c/p\u003e\n"],["\u003cp\u003eThe service name \u003ccode\u003eplaces.googleapis.com\u003c/code\u003e is crucial for creating RPC client stubs to access these features.\u003c/p\u003e\n"],["\u003cp\u003ePlace details can be retrieved using a resource name in the format \u003ccode\u003eplaces/{place_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Places API (New)\n\nThe Places API allows developers to access a variety of search and retrieval endpoints for a Place.\n\nService: places.googleapis.com\n------------------------------\n\nThe Service name `places.googleapis.com` is needed to create RPC client stubs.\n\n[google.maps.places.v1.Places](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places)\n---------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [AutocompletePlaces](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.AutocompletePlaces) | Returns predictions for the given input. |\n| [GetPhotoMedia](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.GetPhotoMedia) | Get a photo media with a photo reference string. |\n| [GetPlace](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.GetPlace) | Get the details of a place based on its resource name, which is a string in the `places/{place_id}` format. |\n| [SearchNearby](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.SearchNearby) | Search for places near locations. |\n| [SearchText](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.SearchText) | Text query based place search. |"]]