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.
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
Learn it in a course
Sources and further reading
Other terms from APIs
- Amazon ComprehendAWS's pre-trained NLP API that extracts entities, key phrases, sentiment, language and personal data from text…
- API (Application Programming Interface)A set of rules that lets one piece of software request data or functions from another, such as pulling Search…
- API KeyA secret code that identifies your project when a script or tool calls an API, so the provider can authorise t…
- DataForSEO APIA pay-as-you-go suite of SEO data APIs for SERPs, keywords, backlinks, on-page data and AI search mentions, us…
- Google Cloud Natural Language API (Google NLP API)Google Cloud's pre-trained NLP API for entity analysis, sentiment, syntax, text classification and content mod…
- Google Knowledge Graph Search APIGoogle's read-only API for looking up entities in its Knowledge Graph, returning names, types, descriptions an…
- Google Search Console APIGoogle's API for pulling Search Console performance data (clicks, impressions, CTR, position) and URL index st…
- IBM Watson NLU (Natural Language Understanding)IBM's NLP API for entities, sentiment, emotion, relations, keywords and categories; deprecated in July 2026 an…
- IndexNowAn open protocol that lets sites instantly notify Bing, Yandex and other participating engines when URLs are a…

