We use Google Analytics and PostHog to see which pages bring in customers and where visitors get stuck. Until you agree both run without cookies — they count the pages you open and what you click, but cannot recognise you across visits. Agreeing lets them use cookies, so we can tell repeat visitors apart, lets PostHog record a replay of your visit, with anything you type hidden, and loads OpenAI’s measurement pixel, which shows us whether a visit came from one of our ads in ChatGPT. Nothing is sent to OpenAI until you agree. Either way we never build advertising profiles or target ads. Privacy Policy

15% off your first purchase with code WELCOME15, up to 25 GB.

See pricing

Guide · Scraping practice

How to get Google autocomplete suggestions by country

Google's autocomplete suggestions come from an endpoint at suggestqueries.google.com/complete/search that takes the partial query q, a language hl, a country gl and a client that sets the response format. Google publishes no developer documentation for it, so it is unofficial and can change or stop without notice. In our test on 2026-11-02, hl and gl changed the language and order of suggestions, but city-level suggestions followed the requesting IP: from a German line, gl=us still returned a suggestion containing the name of the city we sent the request from. To get suggestions as a market sees them, send the request from an exit in that country. For search volumes, use Google's Keyword Planner data instead.

Reviewed 2 Nov 2026

The short answer

  • Endpoint: https://suggestqueries.google.com/complete/search?client=firefox&q=…&hl=…&gl=…. Unofficial: no Google developer documentation.
  • client=firefox returned a JSON array of 10 suggestions in UTF-8; client=chrome returned 15 with relevance scores, in ISO-8859-1 unless ie=utf-8&oe=utf-8 is added.
  • Google says predictions depend on the query's language, the location it comes from, trending interest and past searches. The IP is the location signal for a script.
  • No rate limit is published. Pace requests, cache results, and back off on 429 or 403.
  • Autocomplete gives no volumes. The Google Ads API returns keyword ideas with average monthly searches per location and language.

The endpoint and its parameters

ParameterWhat we observed on 2026-11-02
qThe partial query. The response echoes it as the first array element.
client=firefoxtext/javascript; charset=UTF-8, a JSON array: the query, 10 suggestions, an empty list, and a metadata object with suggestion subtypes
client=chrome15 suggestions plus google:suggestrelevance scores and a google:suggesttype per entry (QUERY or NAVIGATION, for example a bare domain); charset ISO-8859-1
output=toolbarXML, one <CompleteSuggestion> element per suggestion, ISO-8859-1
ie=utf-8&oe=utf-8With client=chrome, switched the response to UTF-8 so umlauts arrived intact
hlChanged the language of the suggestions (German vs English completions of the same prefix)
glChanged the order and some entries, but did not remove suggestions tied to the requester's city

None of this is a contract. These are observations from one machine on one day; the same request can answer differently tomorrow.

What changed with gl, and what did not

We sent the prefix bahn from a German residential line with three parameter sets. The first ten suggestions, in order:

RequestSuggestions returned
hl=de&gl=debahnübergang, bahn, bahnhof, bahnhof [local city], bahncard 25, bahncard 100, bahncard 50, bahnhof [local district], bahncard, bahnauskunft
hl=en&gl=usbanh mi, banh mi [local city], banh mi near me, banh xeo, banh mi sandwich, bahn, banh mi recipe, bahni turpin, banh cuon, banh khot
hl=en&gl=gbbanh mi, bahn, bahnhof, banh mi [local city], banh mi near me, bahn thai, banh xeo, bahncard 25, banham zoo, bahnhofstrasse

Language and country parameters clearly matter: English completions appear, and the GB list differs from the US list. But the local city name survives in every set, because the location of the request did not change. Google's help page says predictions take into account "the location a query is coming from". A list collected this way for the US market is a US list as seen from the requesting machine.

Getting a market's suggestions from that market

  • Send each market's requests through an exit in that country: _country-us in the proxy username for the US, _country-gb for the UK. A plain JSON response is small, so the rotating ISP pool, ARC Basic, is usually enough.
  • Set hl to the market's language as well. Country and language are separate variables; Canada in French and Canada in English are two markets.
  • Check the exit once with the proxy location checker before a large run.
  • Expect the result to describe the country at large, not a city, unless you also target a city. City-level suggestions depend on where Google places the IP.

Rate limits, size and pacing

  • Google publishes no rate limit for this endpoint. We sent eleven requests in total, about three seconds apart, and all returned 200. That is not evidence of any particular limit.
  • One request through a fresh proxy tunnel transferred 5.7 KB down and 1.0 KB up in our single measurement, most of it the TLS handshake. Reusing one connection for several requests avoids paying the handshake each time.
  • Expanding a seed with a to z suffixes is 26 requests per seed per market. Count the requests before you multiply them across markets.
  • On a 429 or 403, back off exponentially and lower concurrency; see handling 429 rate limits. Cache suggestions; they do not change by the minute for most prefixes.

Terms, robots.txt and what we can and cannot say

Google's Terms of Service forbid using automated means to access its services "in violation of the machine-readable instructions on our web pages", for example robots.txt. On 2026-11-02, suggestqueries.google.com/robots.txt returned HTTP 404; under RFC 9309 a crawler may treat an unavailable robots.txt as no restriction. That describes the robots.txt situation on that day, not legal permission: the terms cover more than robots.txt, and the endpoint is undocumented.

Practical consequences: keep volume modest, write down why you collect, and have a fallback that does not depend on an unofficial endpoint. See respecting robots.txt for how to read the file programmatically.

The official alternative for volumes

Autocomplete tells you what people type, not how often. The Google Ads API's GenerateKeywordIdeas takes a language constant and up to 10 geo-target locations and returns ideas with average monthly searches, a monthly breakdown and competition. It runs under a Google Ads account (every request names a customer ID); for a handful of markets the Keyword Planner interface gives the same data by hand.

A common split: autocomplete per market for discovery and phrasing, the Ads API for volumes, and results-page checks only for the shortlist. For the results side, see how to see Google results from another country.

Code

Worked example

suggest.py: run on 2026-11-02 (direct for DE and GB; once through a local counting proxy)
"""Autocomplete suggestions per market from the unofficial suggest endpoint.Undocumented: the response shape, the parameters and the limits can changewithout notice. Keep volumes small and cache results."""import json, os, timeimport requestsENDPOINT = "https://suggestqueries.google.com/complete/search"GATEWAY = os.environ.get("GATEWAY", "proxy.arcproxies.io:8000")PROXY_USER, PROXY_PASS = os.environ.get("PROXY_USER", "USERNAME"), os.environ.get("PROXY_PASS", "PASSWORD")USE_PROXY = os.environ.get("USE_PROXY", "1") == "1"def suggestions(seed: str, country: str, lang: str) -> list[str]:    params = {"client": "firefox", "q": seed, "hl": lang, "gl": country, "ie": "utf-8", "oe": "utf-8"}    proxies = None    if USE_PROXY:  # exit in the market itself: the IP's location shapes the list, not only gl        url = f"http://{PROXY_USER}_pool-arc_country-{country}:{PROXY_PASS}@{GATEWAY}"        proxies = {"http": url, "https": url}    for attempt in range(3):        r = requests.get(ENDPOINT, params=params, proxies=proxies, timeout=(5, 15))        if r.status_code == 200:            return json.loads(r.text)[1]          # ["seed", [suggestions...], [], {...}]        if r.status_code in (403, 429, 503):            time.sleep(5 * 2 ** attempt)          # back off; do not hammer            continue        r.raise_for_status()    return []if __name__ == "__main__":    for country, lang in [("de", "de"), ("gb", "en")]:        print(country, lang, suggestions("bahn", country, lang))        time.sleep(3)

FAQ

Questions

Something not covered? Write to contact@arcproxies.io.

Does Google have an official autocomplete API?

Not a public one for web search suggestions. The suggestqueries.google.com endpoint that browsers and many tools use has no Google developer documentation, so treat it as unofficial: its format and limits can change without notice.

How do I get autocomplete suggestions for another country?

Set hl to the market's language and gl to its country, and send the request from an IP address in that country. In our test the parameters alone changed the language but kept suggestions tied to the requester's own city.

What is the rate limit of the Google suggest endpoint?

Google publishes none. Pace requests, cache results, and back off on HTTP 429 or 403. Our eleven spaced requests on 2026-11-02 all succeeded, which says nothing about what a large run would meet.

Why are my autocomplete results in the wrong language?

Check hl first, then the encoding: with client=chrome the response came back in ISO-8859-1, which garbles umlauts unless you add ie=utf-8&oe=utf-8 or use client=firefox, which answered in UTF-8.

Can autocomplete tell me search volume?

No. It shows predictions based on real searches, not counts. For average monthly searches per country and language, use Keyword Planner or the Google Ads API's keyword ideas.

Sources & review

Last reviewed by the ARC Proxies team. Prices are read from the live catalog at build time.

  1. [1]Google Search Help: How Google autocomplete predictions work
  2. [2]Google: Google Terms of Service (effective 30 July 2026)
  3. [3]IETF: RFC 9309: Robots Exclusion Protocol, section 2.3.1.3
  4. [4]Google for Developers: Google Ads API: generate keyword ideas
  5. [5]Google: robots.txt for www.google.com (checked 2026-11-02)