Google Autocomplete Keyword Expansion Scraper avatar

Google Autocomplete Keyword Expansion Scraper

Pricing

from $0.49 / 1,000 results

Go to Apify Store
Google Autocomplete Keyword Expansion Scraper

Google Autocomplete Keyword Expansion Scraper

Expand seed keywords into long-tail suggestions using Google's autocomplete, with question-word, preposition, comparison, and A-to-Z expansion modes across any country and language.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

Dataspryva

Dataspryva

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Share

Turn a short seed keyword into the long-tail phrases people actually type into Google — then keep the provenance that makes the list usable: which query surfaced each phrase, where it ranked, which market and language it came from, and Google's own relevance score.

Suggestions come straight from Google's public autocomplete endpoint. No login, no API key, no browser, no cookies.

What it does

  • Runs one of eight expansion modes per seed, from a single exact query to a full sweep that combines alphabet, digits, questions, modifiers, comparisons and related variants.
  • Adds letters and numbers before and after the seed (coffee a, coffee 1, a coffee, 1 coffee), not just the usual A–Z suffix.
  • Uses native question and modifier vocabularies for 19 languages, so Spanish and Japanese seeds are expanded with Spanish and Japanese words instead of English ones.
  • Can query Google web, YouTube and Shopping in one run.
  • Optionally re-queries the first 15 discoveries one or two levels deeper.
  • Targets 134 verified Google markets and 78 verified interface languages.
  • Caps the run with a global record limit and a per-seed suggestion limit. The per-seed cap limits collected rows rather than aborting the A–Z sweep, so a full alphabet sweep is never silently cut short.
  • Keeps the old flat and tree record shapes, so existing tasks and integrations keep working.

Modes

ModeWhat it sendsTypical unique phrases per seed
exactThe seed only.10–15
alphabetseed a … seed z, seed 0 … seed 9, and the same tokens before the seed.~1,000
questionsNative question words before and after the seed.~300–450
prepositionsNative prepositions after the seed.~50–150
comparisonsvs, or, versus after the seed and vs seed.~15–50
modifiersPrepositions plus buyer-intent words before and after the seed.~300–470
relatedTrailing-space, wildcard, near-me, review and price variants.~30–70
allThe deduplicated union of every strategy.~1,100–2,000

Counts are for mainstream 1–3 word seeds. Obscure or long seeds return far fewer suggestions because Google completes prefixes, not topics.

Output

One flat row per suggestion (default):

FieldMeaning
keyword / textThe suggested phrase. text is the legacy alias.
seed / source_keywordThe seed this phrase came from. source_keyword is the legacy alias.
typeWhich expansion produced it: suggestion, alphabet, question, modifier, preposition, comparison, related or recursive.
positionIts 1-based rank in Google's response to that query.
expansion_queryThe exact query sent to Google, when different from the seed.
locale, country, languageThe market and interface language used.
sourceweb, youtube or shopping.
sourceUrlThe exact Suggest request URL, for traceability.
relevanceGoogle's own ranking score for the phrase, when the chrome dialect returns it.
suggestion_type, sub_typesGoogle's raw suggestion tag and numeric sub-type codes.
verbatim_relevanceGoogle's query-level verbatim score.
depth, parent_keywordRecursion level and the query that produced a deeper suggestion.
is_question, word_count, intentDeterministic local tags. intent is added when a language vocabulary matches.
mode, recordType, scrapedAtRun metadata and the legacy record marker.

tree mode emits one record per seed and source with a nested suggestions[] array and a type_counts summary. Its legacy keys (source_keyword, mode, country, language, suggestion_count, suggestions, scrapedAt) are unchanged.

Input

FieldDefaultNotes
keywords["python tutorial"]Required. One or more seeds; 1–3 words work best.
modeallOne of the eight modes above.
countryUS134 verified Google markets, plus a legacy ALL value that maps to US.
languageen78 verified Google languages.
sourcewebweb, youtube, shopping or all.
maxItems5000Global record cap. Flat counts suggestions; tree counts seed/source records.
maxSuggestionsPerSeed–Cap on collected suggestions per seed; the depth-0 query plan still runs.
minLength, maxLengthunsetDrop suggestions outside the character range.
containsKeywordunsetKeep suggestions containing a substring; prefix with ! to exclude.
outputFormatflatflat or legacy tree.
expansionDepth00, 1 or 2: re-query the first 15 discoveries.
dedupeAcrossSeedsfalseEmit a phrase only once per run.
includeIntenttrueAdd the deterministic intent tag.

Old tasks that send maxItemsPerKeyword still work: it maps to maxSuggestionsPerSeed. country: "ALL" is mapped to US with a warning because Google has no ALL market.

The input prefill is one python tutorial seed in exact mode, capped at 3 records.

Examples

Exact, cheapest run:

{"keywords": ["coffee"], "mode": "exact", "maxItems": 3}

Full English sweep with one extra recursion level:

{"keywords": ["running shoes"], "mode": "all", "country": "US", "language": "en", "expansionDepth": 1, "maxItems": 5000}

Spanish market with native question words on the web and YouTube:

{"keywords": ["café"], "mode": "questions", "country": "ES", "language": "es", "source": "all"}

Legacy nested output:

{"keywords": ["coffee"], "mode": "all", "outputFormat": "tree", "maxSuggestionsPerKeyword": 100}

How it works

Each mode turns the seed into a fixed, deduplicated list of Suggest queries. The actor sends them with a browser-like client, reads the JSON array Google returns, and normalises four response dialects (chrome, firefox, safari, and the JSONP variants). It detects a block from the status code, an HTML content type, a /sorry URL or the "unusual traffic" page, and switches from a direct connection to its included Apify datacenter proxy. If the automatic proxy cannot be created, it retries with the lighter firefox dialect. There is no proxy setting to configure, no login and no API key.

FAQ

Do I need a proxy or a Google account? No. The actor starts with a direct connection and uses its included Apify proxy only after Google blocks the direct one. There is nothing to configure and no credential to supply.

How many suggestions will one seed return? It depends on the seed and mode. A mainstream 1–3 word seed with all typically returns 1,100–2,000 unique phrases. A long or obscure seed can return fewer than 100 because autocomplete only completes prefixes.

Why are there no search-volume numbers? Google autocomplete does not expose search volume. relevance is Google's internal ranking score for the phrase, and it is useful for ordering, not for estimating monthly searches. Use a separate keyword-volume source if you need exact demand.

What is the difference between country and language? country (gl) changes which suggestions Google considers locally relevant. language (hl) changes the interface language and the native question/modifier words the actor uses. Setting both gives the most authentic local list.

Can I get the same phrase from two seeds? By default yes, because each seed stays complete. Turn on dedupeAcrossSeeds to emit each phrase once per run.

What does recursion do? expansionDepth 1 re-queries the first 15 suggestions, and depth 2 re-queries the first 15 results of that pass. It costs about 15 extra requests per level and can add hundreds of phrases, especially with exact.

Why is a phrase I know missing? Google filters some commercial, medical and political suggestions, and it varies results by market and time. The actor reports what Google returns; it does not invent missing phrases.

Does the actor work with non-Latin scripts? Yes. It preserves the original script and corrects the response charset, including Japanese, Korean, Chinese, Russian, Arabic, Hebrew, Greek, Polish, Turkish, Thai, Vietnamese and the Indic languages.

Is this affiliated with Google? No. It reads Google's public autocomplete endpoint and is not operated by or affiliated with Google. You are responsible for how you use the output.

Limits

  • Google's autocomplete endpoint is undocumented and can change or throttle without notice.
  • Heavy direct traffic can be blocked; the actor then switches to its included Apify datacenter proxy automatically. No residential proxy is used.
  • Autocomplete completes prefixes, so very long seeds return little.
  • There is no pagination: each query returns at most 15 suggestions (10 on the fallback dialect). Coverage comes from more queries, not more pages.
  • Google may omit suggestions for sensitive or highly commercial queries.
  • No search volume, CPC, difficulty, People Also Ask or entity metadata is fabricated.