Developers

SERP API

Reference

Google search localization

Target a country, city or precise location and choose the search language.

Location formats

FormatExample geo_location
Country nameUnited Kingdom
Country codeGB
Canonical cityNew York,New York,United States
StateCalifornia,United States
Coordinates and radius in metreslat: 47.6205, lng: -122.3493, rad: 25000
Google Criteria ID1023191

Scroll horizontally to read all columns.

City and language

City-level query
{
  "source": "google_search",
  "query": "public web data",
  "geo_location": "New York,New York,United States",
  "parse": true,
  "locale": "en-US"
}

Validate the applied location

A misspelled or unrecognised location can produce a successful search without the intended location applied. Use Google’s canonical place name or Criteria ID when precision matters, and inspect the returned search URL and metadata. locale changes language context and does not replace geo_location.

Store the request context

Save the query, location, language, device preset and collection time with every result. Those fields explain why two valid Google responses can differ. Keep this search localization separate from raw proxy country selectors.

Search documentation

Search guides, products and reference pages.