YepAPI

Command Palette

Search for a command to run...

POST/v1/serp/google-autocomplete

Google Autocomplete API

Google Autocomplete suggestions API. Get real-time search suggestions as users type — perfect for keyword research and content ideation. From $0.01/call.

Live Google Autocomplete suggestions. See what Google suggests as users type, revealing real search intent and popular query completions.

Try it live

Fill in the fields and hit Run to see a real response.

POST/v1/serp/google-autocomplete
Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "query": "best react frameworks 2026",
    "totalResults": 1240000,
    "items": [
      {
        "position": 1,
        "type": "organic",
        "title": "Top 10 React Frameworks in 2026",
        "url": "https://example.com/react-frameworks",
        "description": "A comprehensive guide to the best React frameworks...",
        "domain": "example.com"
      }
    ]
  }
}

Features

Real-time autocomplete suggestions

Each POST to /v1/serp/google-autocomplete returns the live suggestions Google shows as a user types your seed query — the same predictions surfaced in the search box, captured as structured data.

Query completion predictions

Every suggestion is a full predicted completion of your seed term, so you get the exact phrasing real users see rather than guessing at long-tail variants.

Search intent signals

Because autocomplete reflects popular real-world queries, the returned completions act as direct intent signals you can mine for content topics and keyword expansion.

Location and language targeting

Set the location and language fields to pull the suggestions Google serves in a specific country and locale, since predictions are heavily regionalized.

Suggestion type classification

The type field on each item lets you separate standard query completions from any other suggestion blocks Google returns.

Use cases

Keyword Discovery

Find long-tail keywords by exploring what Google suggests for seed queries.

Content Ideation

Generate content ideas based on what people are actually searching for.

Search Intent Analysis

Understand user intent by analyzing the suggestions Google provides.

Quick start

Copy this snippet and start making calls.

const res = await fetch('https://api.yepapi.com/v1/serp/google-autocomplete', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "query": "best react frameworks 2026",
    "depth": 10,
    "location_code": 2840,
    "language": "en"
  }),
});
const data = await res.json();
console.log(data);

Google Autocomplete API — mine real search intent for keyword research

The YepAPI Google Autocomplete API returns the live suggestions Google shows as users type, delivered as structured JSON. Send a seed query and get back the predicted completions — the raw material for keyword research and content ideation.

It shares one key with the rest of YepAPI's SERP, scraping, and AI endpoints, so you can expand keywords with autocomplete and then check their rankings on the organic SERP endpoint in the same workflow at $0.01 per query.

What is a Google Autocomplete API?

A Google Autocomplete API lets you programmatically fetch the suggestions Google predicts as someone types a query, returned as structured data instead of a live dropdown. For a seed term it returns the ranked list of query completions Google would surface in the search box — the exact long-tail phrasings real users see and click. Because these predictions are driven by actual search popularity, they are a direct window into search intent, making the endpoint a fast way to discover keyword variants, question phrasings, and emerging topics without a browser automating the search box.

Build your own keyword research tool

With autocomplete predictions as JSON you can build a keyword-expansion engine, a content-idea generator, or a long-tail discovery tool. Feed a seed term, collect every completion, then recurse on each suggestion (and alphabet-soup variants) to map an entire intent space. Pair it with the YepAPI organic SERP endpoint to score each discovered keyword by what already ranks, turning raw suggestions into a prioritized content plan with both intent and competition data.

Google Autocomplete API pricing — $0.01 per query

Each call to /v1/serp/google-autocomplete is a flat $0.01 per seed query, no matter how many suggestions come back. No subscriptions, no minimums. SerpApi charges $0.05 per query and keyword tools bundle autocomplete into pricey monthly plans. Because YepAPI prices every SERP endpoint at $0.01, recursive autocomplete expansion across thousands of seeds stays affordable.

Turn suggestions into content ideas

Autocomplete shows what people actually search before they finish typing. Use the endpoint to harvest question-based and modifier-rich completions for your seed topics, then cluster them into briefs your writers can act on. Run the same seed with different location and language values to capture region-specific demand — invaluable for localizing content and finding gaps competitors have not covered in each market.

Try the Google Autocomplete API free

Get $5 in free credit, no credit card needed. That funds 500 autocomplete queries — enough to expand a full topic cluster recursively and test location and language targeting before choosing a paid plan.

Start making API calls in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Live Google Autocomplete suggestions. See what Google suggests as users type, revealing real search intent and popular query completions.

Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.

Sign up for a free API key, then send a POST request to /v1/serp/google-autocomplete. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.

YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.

Ready to integrate?

Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.

More serp api endpoints