# Google Autocomplete Scraper (`piotrv1001/google-autocomplete-scraper`) Actor

Get Google autocomplete suggestions for any keyword. A–Z and 0–9 expansion turns one seed into hundreds of long tail keywords, each with position, relevance score and the prefix that found it. Any language and country. Google suggest data for keyword research and SEO content ideas.

- **URL**: https://apify.com/piotrv1001/google-autocomplete-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 suggestions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🔎 Google Autocomplete Scraper: Long Tail Keywords from Google Suggest

Export **Google autocomplete** suggestions for any seed keyword as clean JSON, CSV or Excel. The **Google Autocomplete Scraper** reads Google suggest the way a searcher sees it while typing, expands each keyword with every letter and digit, and returns hundreds of long tail keywords with their position and Google's relevance score. Use it as a Google autocomplete API for keyword research, SEO and content planning.

### 🎯 Google Autocomplete Keyword Research Use Cases

- **Long tail keyword research**: turn "running shoes" into 500+ long tail keywords people really type into Google.
- **Content ideas and blog topics**: find the modifiers and questions around a topic ("for flat feet", "vs", "how to") and plan articles around them.
- **SEO keyword lists**: send the suggestions to the [Google Keyword Volume Scraper](https://apify.com/piotrv1001/google-keyword-volume-scraper) to pick targets by search volume and CPC.
- **International SEO**: compare Google suggest across languages and countries before you localise pages.
- **Brand monitoring**: see what Google autocompletes after your brand or product name, and how it changes week to week.

### ✨ Google Suggest Data You Get

- **Real Google suggestions**: the phrases Google offers while people type, up to 15 per lookup, in Google's own order.
- **A–Z and 0–9 expansion**: each seed is also looked up with every letter and digit after it, which gives about 500 unique suggestions per seed.
- **Position and prefix**: every row says where the suggestion stood in the list and which letter or digit found it, plus the relevance score.
- **No duplicates**: a suggestion found by several lookups of the same seed is saved and billed once.
- **Many seeds per run**: one per line, with one limit for the whole run.

### 🛠️ How It Works

1. **Enter seed keywords**, one per line, and choose the language and country.
2. **Keep "Expand with a–z and 0–9" on** for hundreds of suggestions per seed, or turn it off for the seed's own list only.
3. **Run the scraper** and download the suggestions as JSON, CSV or Excel, or pull them through the API.

### ⚙️ Input

| Field | What it does |
| --- | --- |
| **Seed keywords** | Keywords to get suggestions for, one per line. Default "running shoes". |
| **Expand with a–z and 0–9** | Also look up "seed a" … "seed z" and "seed 0" … "seed 9". Default on. |
| **Language** | Language of the suggestions as a code: en, de, es, pt-BR… Default en. |
| **Country** | Two-letter country code: us, gb, de, in… Default us. |
| **Max suggestions** | How many suggestions to save in the run, all seeds together. Default 50. |

```json
{
    "queries": ["running shoes"],
    "expand": true,
    "language": "en",
    "country": "us",
    "maxItems": 500
}
```

### 💰 Pricing

Pay only for the suggestions you get. No monthly rental.

| Event | Price | What you get |
| --- | --- | --- |
| **Suggestion** | $0.0005 per suggestion ($0.50 per 1,000) | One unique suggestion with all fields below |
| **Actor start** | $0.00005 per run | Charged once when the run starts. |

Examples: 50 suggestions = $0.025 · 500 suggestions = $0.25 (about one expanded seed) · 10,000 suggestions = $5.00.

### 📊 Sample Output Data

```json
{
    "seed": "running shoes",
    "suggestion": "running shoes amazon",
    "position": 3,
    "expansion": "a",
    "query": "running shoes a",
    "relevance": 601,
    "source": "Google",
    "language": "en",
    "country": "us",
    "scrapedAt": "2026-11-06T07:18:01.388Z"
}
```

`relevance` is Google's own score behind the order of the list (higher = shown first). `expansion` is the letter or digit added to the seed for that lookup (`null` = the seed itself), and `query` is the exact text that was looked up.

### 🔁 Schedule and Integrate

For keyword and trend monitoring, run it **once a week** with the same seeds: every run is a dated snapshot, so new and dropped suggestions stand out. Set it up in Apify **Schedules**. Send the results to **Google Sheets**, **Zapier**, **Make**, **n8n** or a webhook with Apify **integrations**, so the keyword list lands where your team already works.

### 🤖 Use with AI Agents (MCP)

This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`). An agent can call it with:

```json
{ "queries": ["running shoes"], "maxItems": 100 }
```

### ❓ FAQ

**Does Google have an official autocomplete API?** No public, documented one. Google's Programmable Search and Ads APIs do not return the suggestions people see while typing. This Actor gives you the same Google suggest results as rows, with no API key, quota setup or parsing.

**How many suggestions do I get per keyword?** Google shows up to 15 suggestions for each typed text. With "Expand with a–z and 0–9" on, one seed is looked up 37 times and usually gives about 500 unique suggestions. Turn it off to get only the seed's own suggestions.

**Can I get Google suggestions for another country or language?** Yes. Set Language (e.g. de) and Country (e.g. de). A few location-style suggestions (city names, "near me") follow where the lookup is made from; the rest follow your settings.

**How do I find long tail keywords with Google autocomplete?** Enter your topic as the seed, keep the expansion on, and sort the results by seed and position. Every suggestion is a phrase real users typed, so the longer ones are your long tail keywords. Check their volumes with the Google Keyword Volume Scraper.

**Do I need a Google account?** No. Suggestions are public.

**Why is a field empty?** `expansion` is `null` for the seed's own suggestions. `relevance` is `null` when no score came with the list. A seed with nothing to suggest is listed under "Nothing found" in the run's status.

### 🔗 Related Scrapers

- [Google Keyword Suggestions Scraper](https://apify.com/piotrv1001/google-keyword-suggestions-scraper): keyword ideas with search volume, CPC and difficulty for the topics you find here.
- [Google Keyword Volume Scraper](https://apify.com/piotrv1001/google-keyword-volume-scraper): monthly Google search volume for your suggestion list.
- [YouTube Autocomplete Scraper](https://apify.com/piotrv1001/youtube-autocomplete-scraper): the same keyword research for YouTube search.
- [Amazon Autocomplete Scraper](https://apify.com/piotrv1001/amazon-autocomplete-scraper): what shoppers type into the Amazon search box.
- [Bing Autocomplete Scraper](https://apify.com/piotrv1001/bing-autocomplete-scraper): Bing autocomplete for the same seeds.

# Actor input Schema

## `queries` (type: `array`):

Keywords to get Google autocomplete suggestions for, one per line.

## `expand` (type: `boolean`):

Also look up each keyword followed by every letter and digit ("running shoes a", "running shoes b"… "running shoes 9"). One keyword then gives up to a few hundred suggestions instead of about ten.

## `language` (type: `string`):

Language of the suggestions as a code: en, de, es, fr, pt-BR, ja…

## `country` (type: `string`):

Two-letter country code: us, gb, de, in, br…

## `maxItems` (type: `integer`):

Maximum number of suggestions saved in this run, all keywords together. Each unique suggestion per keyword is saved once.

## Actor input object example

```json
{
  "queries": [
    "running shoes"
  ],
  "expand": true,
  "language": "en",
  "country": "us",
  "maxItems": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "running shoes"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/google-autocomplete-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": ["running shoes"] }

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/google-autocomplete-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "running shoes"
  ]
}' |
apify call piotrv1001/google-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/google-autocomplete-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Xexz45rs3HehUMpB9/builds/o0GnFuPBQcpZcH9cS/openapi.json
