Locations
Location matching
Google searches from a place only when it gets the place's own name. Write location in any words and we find that name for you.
How a place is chosen
sachin, Austin, Texas or surat gujarat all work. We match your text to Google's list of about 115,000 places:
- An exact name first, then names that start with your text, then names that hold it.
- Places in the country of
glfirst. - Broader places, then bigger ones:
Austinis Austin, Texas. - Words after a comma narrow it down:
Austin, Indiana. - Former names still work, such as Bangalore or Bombay.
When nothing matches, the text is sent to Google as it is.
What the answer shows
| Field | Type | Description |
|---|---|---|
search_parameters.location_requested | string | What you sent. |
search_parameters.location_used | string | Google's name for the place that was searched from. |
search_parameters.uule | string | The location code Google got for it. |
To pick the exact place yourself, look it up with GET /v1/locations and send its canonical_name.