Skip to content

APIs

Google Autocomplete APIs

In shortGoogle endpoints that return autocomplete predictions for Search, YouTube and Places queries, used to collect real query patterns for keyword research.

Updated 24 Oct 2026· 2 min read

Google Autocomplete APIs is a collective name for the endpoints that return Google’s autocomplete predictions programmatically: Google Search and YouTube suggestions, Query Autocomplete and Place Autocomplete in the Places API, and retail search autocomplete in Vertex AI. For SEOs they are a quick way to collect the phrasing people actually search with, along with the refinements and next steps Google suggests.

How it works

Autocomplete is built on predictive text models that guess the rest of a query from the characters typed. Google says its predictions reflect real searches, weighted by how common and fresh they are and by language and location, and that some predictions are removed under its autocomplete policies. Each endpoint exposes a different slice of that system:

  • Google Search and YouTube suggestions come from a public suggestion endpoint that returns a list of predictions for a seed term. It is undocumented, so there is no official support or rate limit, and it can change.
  • Query Autocomplete and Place Autocomplete are documented Places API services that need an API key on a billing-enabled Google Cloud project. Google now lists Query Autocomplete as a legacy service that new projects cannot enable, with Places API (New) as the migration path.
  • Vertex AI search for commerce offers autocomplete for a retailer’s own site search, trained on that site’s data.

How it’s used in SEO and marketing

  • Expanding a keyword universe from a list of seed terms, with each suggestion linked back to its seed.
  • Grouping suggestions by shared n-grams to uncover the characteristics people attach to a topic.
  • Finding YouTube video topics and local or map-based query patterns for local SEO.
  • Discovering Google-suggested query paths and refinements for content journeys.
  • Spotting emerging phrasing before it shows up in keyword tools’ volume data.

Example

In MLforSEO’s autocomplete tutorial, a Colab script takes a CSV of seed keywords, fetches suggestions for each and clusters them by the n-grams they share. For “business loan”, Google might suggest related terms such as calculators or credit scores, characteristics that are not obvious from the seed but are frequently attached to it, and which often point to missed content or tools.

Limitations and things to watch

  • Predictions are not search volumes; pair them with volume data before prioritising.
  • Results vary by language, location and time, so record your settings.
  • Predictions are filtered by Google’s policies, so sensitive or brand-negative phrasing may be missing.
  • Add pauses between requests to the unofficial endpoint, and expect billing on the Places API.

Learn it on MLforSEO

Where Google Autocomplete APIs shows up on MLforSEO

Sources and further reading

Other terms from APIs

See all 15 APIs terms →