VOOZH about

URL: https://apify.com/johnvc/google-autocomplete-api

⇱ Google Autocomplete API - Search Suggestions Scraper Β· Apify


πŸ‘ Google Autocomplete API | Search & Place Suggestions for Agents avatar

Google Autocomplete API | Search & Place Suggestions for Agents

Pricing

from $0.01 / 1,000 results

Go to Apify Store

Google Autocomplete API | Search & Place Suggestions for Agents

Get Google autocomplete suggestions for any query as structured JSON: the suggestions Google shows as you type. Resolve partial searches and surface place suggestions to feed into a Maps or Places lookup. Fast query and keyword expansion for SEO and AI agents. Pay per suggestion, MCP-ready.

Pricing

from $0.01 / 1,000 results

Rating

5.0

(1)

Developer

πŸ‘ John

John

Maintained by Community

Actor stats

1

Bookmarked

1

Total users

1

Monthly active users

11 hours ago

Last modified

Share

Get the autocomplete suggestions Google shows as you type, for any query, as clean structured JSON. Pass one or many partial queries and get back the ranked suggestion list for each. For location and place queries, these act as fast place suggestions you can pipe straight into a Maps or Places lookup. It is the lightweight front-end for query expansion, keyword research, and resolving partial searches before a heavier call.

What you get

One row per suggestion:

  • query: the input query the suggestion belongs to
  • position: the rank of the suggestion (1 is the top suggestion)
  • value: the suggested query text

Use cases

  • Resolve a partial place query into suggestions, then feed a chosen one into a Google Maps Places API
  • Expand a seed keyword into the real phrases people search (SEO and PPC)
  • Power a type-ahead box with Google's own suggestions
  • Give an AI agent the likely full queries behind a vague user request
  • Mine "near me", "open now", and long-tail variants for a location term

Input

FieldTypeDescription
queriesarray of stringsOne or more partial queries, e.g. coffee near. Each is completed independently. Required.
glstringOptional two-letter country code, e.g. us, gb, de. Default us.
hlstringOptional two-letter language code, e.g. en, es, de. Default en.

Example input

{
"queries":["coffee near","best pizza in"],
"gl":"us",
"hl":"en"
}

Sample output

{
"result_type":"suggestion",
"query":"coffee near",
"position":1,
"value":"coffee near me"
}

Each query typically returns about ten suggestions, ranked from most to least likely.

Pricing

Pay-per-result: a flat $0.002 per suggestion returned. No setup fee, no per-run fee, no monthly minimum. You only pay for the suggestions you receive.

How to get started

  1. Open Google Autocomplete API on the Apify Store.
  2. Enter one or more partial queries.
  3. Optionally set gl / hl, then run the Actor.
  4. Export the dataset as JSON, CSV, or Excel, or pull it from the API.

Prefer code? See johnvc's GitHub for setup guides and code examples.

Run from the API

curl-X POST "https://api.apify.com/v2/acts/johnvc~google-autocomplete-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN"\
-H"Content-Type: application/json"\
-d'{"queries":["coffee near"],"gl":"us","hl":"en"}'

πŸ”Œ Use this API from Claude (MCP)

This Actor is compatible with the Model Context Protocol (MCP), so AI agents can call it as a tool. Add it through the hosted Apify MCP server using this Actor-specific URL:

https://mcp.apify.com/?tools=actors,docs,johnvc/google-autocomplete-api

If you run agents from Claude Code (free trial) or Claude Cowork (free trial), add the Apify MCP server and ask it to "autocomplete 'coffee near' and pick the best place query."

Setup walkthrough:

Apify MCP integration docs: https://docs.apify.com/platform/integrations/mcp

MCP setup, step by step

Visual setup guides for each client (source and more assets: ApifyPublicData on GitHub):

Claude Cowork Desktop (free trial)

πŸ‘ Apify MCP install screenshot for the Cowork desktop app

Claude Code (free trial)

πŸ‘ Apify MCP install screenshot for the Code CLI

Claude (website)

πŸ‘ Install in Claude website

Cursor

πŸ‘ Install in Cursor

ChatGPT

πŸ‘ Install in ChatGPT

FAQ

Does it return place IDs? No. It returns the suggested query text. For full place records (place ID, address, rating, coordinates), pipe a chosen suggestion into the Google Maps Places API.

How many suggestions per query? Usually about ten, the same set Google shows in its type-ahead box.

Can I autocomplete many queries at once? Yes. Pass multiple queries; each is completed independently and tagged with its source query.

Can I localize suggestions? Yes. Set gl (country) and hl (language) to localize the suggestions.

n8n integration

Available as an n8n community node, n8n-nodes-google-autocomplete-api. In n8n: Settings, Community Nodes, install n8n-nodes-google-autocomplete-api, then use it in any workflow (it also works as an AI Agent tool).

Featured Tasks

Ready-to-run examples that show this API solving a specific problem. Each opens its own setup so you can run it on your account in one click.

Last Updated: 2026.06.19

You might also like

Google Search Autocomplete β€” Keyword Suggestions Extractor

maged120/google-autocomplete-ppe

Extract the full list of Google autocomplete suggestions for any search query. Returns all suggestions Google shows as you type β€” ideal for keyword research and content ideation.

Google SERP Scraper

google-serp-scraper-api/google-serp-scraper

Scrapes Google search results, autocomplete suggestions, and Google News.

Keyword Suggestions Scraper πŸ”

easyapi/keyword-suggestions-scraper

Scrape keyword suggestions and autocomplete data from multiple search engines and e-commerce platforms including Google, Amazon, YouTube, Pinterest, and more. Perfect for SEO research and content optimization.

Google Keyword Suggestions Scraper

datapilot/google-keyword-suggestions-scraper

This Apify Google Suggest Scraper fetches real-time Google autocomplete suggestions for a keyword using a residential proxy. It enriches suggestions with simulated SEO metrics like search volume, CPC, competition, and trends, then saves results to the Apify Dataset.

Google Keyword Suggestions Scraper

powerai/google-keywords-suggest-scraper

Get Google keyword suggestions and insights including search volume, competition level, and bid estimates for any keyword.

Google Autocomplete Scraper β€” Suggestions

scrape.badger/google-autocomplete-scraper

Scrape Google's autocomplete / suggestions endpoint at scale. Returns up to 10 suggestions per seed, enriched with Knowledge Graph entity_name + thumbnail when Google surfaces them. Supports bulk seeds (one run = many queries). Ideal for SEO keyword research, long-tail discovery, and entity mapping.

16

Google Autocomplete Scraper - Keyword Suggestions at Scale

santhej/google-autocomplete-scraper

Scrape Google Autocomplete suggestions for any seed keyword β€” the real queries people type. Mine long-tail keywords, questions & content ideas in bulk. 190+ countries. Clean JSON/CSV for SEO & content research. No API keys.

πŸ‘ User avatar

Santhej Kallada

4

5.0

Google Keyword Suggestions by URL Scraper

powerai/google-keywords-suggest-by-url-scraper

Scrape Google keyword suggestions based on a specific URL using our API wrapper service