Scraper API
Google Search suggestionsgoogle.autocompleteAvailable
Google Search suggestions
What the Google Search box suggests for it, in its order: up to ten completions, and for a suggestion Google Search recognises as a known person, place or thing, its name and a line saying what it is.
Give it the start of a search, as someone would type it, and optionally a country and a language.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 3, 1 required
- Record
- 6 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/google.autocomplete/runs
sent, and answered
a record of the run6 fields
ok1 unit a run
A record this scraper returned for this input. The first 6 of its 6 fields are set down here; the whole record is below.

What it is used for
- Find what people search for
- Read the completions for the start of a topic and see the searches the box offers first, in the order of
position. - Plan content and keywords
- Run the stem of a keyword with each letter after it and collect the long-tail searches people are offered.
- Compare countries and languages
- Ask for the same start with another
countryandlanguage, and see how the suggestions differ.
What you send
The start of a search, as someone would type it, and optionally a country and a language. These are its 3 inputs, as its schema has them.
querystring Required- What has been typed so far, such as coffee gri.
countrystring Optional- The country the suggestions are for, as a two-letter code such as us, gb or de. us unless you say otherwise.Default
us languagestring Optional- The language of the suggestions, as a code such as en, de or pt-BR. en unless you say otherwise.Default
en
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/google.autocomplete/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"taylor sw"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("google.autocomplete", {"query": "taylor sw"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("google.autocomplete", { query: "taylor sw" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "google.autocomplete", map[string]any{"query": "taylor sw"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("google.autocomplete", Map.of("query", "taylor sw"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run google.autocomplete --input 'query=taylor sw'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
What the Google Search box suggests for it, in its order: up to ten completions, and for a suggestion Google Search recognises as a known person, place or thing, its name and a line saying what it is. A record has 6 fields. One we could not read is null, never an empty string or a zero.
{
"query": "taylor sw",
"position": 1,
"suggestion": "taylor swift",
"entity_name": "Taylor Swift",
"entity_description": "American singer-songwriter",
"fetched_at": "2026-11-19T18:07:40.347857Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
querystring- What was typed: the input.
positioninteger- The suggestion's place in the list, from 1.
suggestionstring- The suggested search, as the search box shows it.
entity_namestring or null- For a suggestion Google recognises as a known person, place, work or thing: its name as the search box shows it, e.g.
Taylor Swift. Null for a plain suggestion. entity_descriptionstring or null- The line the search box shows under such a name, saying what it is, e.g.
American singer-songwriter. Null for a plain suggestion. fetched_atdatetime- When the suggestions were read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- Ten suggestions at most: the ones the search box shows. A start that Google Search has nothing for is ok with no records.
- Some suggestions depend on where the search is made from, such as places nearby; the country you give does not change that.
Questions
What does Google Search suggestions return?
What the Google Search box suggests for it, in its order: up to ten completions, and for a suggestion Google Search recognises as a known person, place or thing, its name and a line saying what it is. A record has 6 fields, among them query, position, suggestion, entity_name, entity_description and fetched_at. A value that could not be read is null, never an empty string or a zero.
What do I send?
The start of a search, as someone would type it, and optionally a country and a language. The input query is required. Optional: country and language.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
What does it not do?
Ten suggestions at most: the ones the search box shows. A start that Google Search has nothing for is ok with no records. Some suggestions depend on where the search is made from, such as places nearby; the country you give does not change that.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id google.autocomplete and the same input. It costs what the same API call costs.
Google Search suggestions
What the Google Search box suggests while someone types, for a country and a language.
Google Search suggestions on the line-up
- Industry
- Search and the open web
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.