GET /maps/api/place/queryautocomplete/json
The Query Autocomplete service can be used to provide a query prediction for text-based geographic searches, by returning suggested queries as you type.
The Query Autocomplete service allows you to add on-the-fly geographic query predictions to your application. Instead of searching for a specific location, a user can type in a categorical search, such as "pizza near New York" and the service responds with a list of suggested queries matching the string. As the Query Autocomplete service can match on both full words and substrings, applications can send queries as the user types to provide on-the-fly predictions.
Servers
- https://www.googleapis.com
- https://maps.googleapis.com
- https://roads.googleapis.com
Query parameters
Name | Type | Required | Description |
---|---|---|---|
input |
String | No |
(Required) The text string on which to search. The Place Autocomplete service will return candidate matches based on this string and order results based on their perceived relevance. |
location |
String | No |
The point around which to retrieve place information. This must be specified as The
location parameter may be overriden if the query contains an explicit location such as Market in Barcelona . Using quotes around the query may also influence the weight given to the location and radius . |
radius |
String | No |
Defines the distance (in meters) within which to return place results. You may bias results to a specified circle by passing a The radius will automatically be clamped to a maximum value depending on the type of search and other parameters.
|
offset |
String | No |
The position, in the input term, of the last character that the service uses to match predictions. For example, if the input is |
language |
String | No |
The language in which to return results.
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.