ScraperData

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:

  1. An exact name first, then names that start with your text, then names that hold it.
  2. Places in the country of gl first.
  3. Broader places, then bigger ones: Austin is Austin, Texas.
  4. Words after a comma narrow it down: Austin, Indiana.
  5. 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

FieldTypeDescription
search_parameters.location_requestedstringWhat you sent.
search_parameters.location_usedstringGoogle's name for the place that was searched from.
search_parameters.uulestringThe location code Google got for it.

To pick the exact place yourself, look it up with GET /v1/locations and send its canonical_name.