Autocomplete location

Returns location predictions for a search query using Google Places or
MapQuest depending on the source parameter.

Query Params
string
required

Must be at least 2 characters long

double

The latitude to search for. Improves accuracy of results.

double

The longitude to search for. Improves accuracy of results.

country_codes
array of strings

Array of ISO 3166-1 alpha-2 country codes. Defaults to ['US', 'CA'] if not provided.

country_codes
int32
≥ 0

Range: 1-15, defaults to 10

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json