Build a free keyword research tool with Google Autocomplete
Autocomplete is more than a list of phrases that appears beneath a search box. It reflects what people are actively trying to solve, making it useful for finding content ideas, service keywords and questions that match real search behaviour. For a small business, those suggestions can reveal whether customers are looking for a product, a local provider, pricing information or urgent help.
This guide explains how to create a free keyword research tool using Google Autocomplete. The example uses a small Python application with an Australian region setting, expansion controls and a scored output. You will collect related phrases, remove duplicates and sort them by commercial relevance. The finished tool supports local research without pretending that autocomplete is an official search-volume database.
| Signal | Cost | Best use | Important limitation |
|---|---|---|---|
| Google Autocomplete | Free, unofficial endpoint | Discovering phrases and search intentions | No reliable monthly volume figures |
| Google Trends | Free | Comparing relative demand | Results are normalised, not exact volumes |
| Search Console | Free with an owned site | Finding queries that already generate traffic | Limited to your own website |
| Keyword Planner | Free with limited usage | Obtaining volume and bidding estimates | Requires a Google Ads account |
Start with a small Australian-first setup
Keep the first version deliberately small: a Streamlit interface, a Python request function and a CSV export. Streamlit turns ordinary Python into a browser application, while its caching feature reduces repeated requests. This is enough to validate the workflow before adding databases, user accounts or a more elaborate design.
Create a project folder and install the two required packages in a virtual environment:
python -m venv .venv
source .venv/bin/activate
pip install streamlit requests
Save the application code as app.py, then run streamlit run app.py. Australian searches should default to gl=au and hl=en, while the interface should allow users to test city-specific phrases such as “plumber Sydney”, “accountant Melbourne” and “NDIS support Brisbane”.
Collect suggestions with a lightweight Python client
Google’s autocomplete endpoint can return suggestions as JSON without an API key. It is undocumented, so it should be treated as a low-volume research utility rather than a production service with guaranteed availability. The following example connects the browser interface to the endpoint and caches identical searches for one hour.
import requests
import streamlit as st
st.set_page_config(page_title="AU Keyword Scout")
st.title("AU Keyword Scout")
seed = st.text_input("Seed keyword")
@st.cache_data(ttl=3600)
def autocomplete(query, gl="au", hl="en"):
response = requests.get(
"https://suggestqueries.google.com/complete/search",
params={"client": "firefox", "q": query, "gl": gl, "hl": hl},
timeout=15,
)
response.raise_for_status()
payload = response.json()
return payload[1] if len(payload) > 1 else []
if seed:
st.dataframe(autocomplete(seed), use_container_width=True)
The second item in the returned JSON array contains the suggested phrases. Store each suggestion alongside the seed that produced it; otherwise, you will lose important context when combining results from several related topics. For example, “commercial cleaning” might produce a broad phrase, while “commercial cleaning Sydney” reveals stronger local demand.
Use sensible request spacing and cache common queries. If the endpoint returns an error, display a clear message rather than retrying continuously. Bulk scraping can trigger rate limits, and repeated automated requests may conflict with Google’s terms, so personal research and a limited team workflow are safer starting points.
Expand seed phrases into a useful keyword set
A single seed rarely reveals every relevant variation. Expand it with alphabet prefixes to discover phrases such as “affordable”, “emergency” or “same-day” services. Question stems can expose informational searches, while place names and commercial modifiers reveal stronger transactional intent.
A compact expansion function can generate the queries, while the interface should let users control how many prefixes are submitted:
def expansion_queries(seed, prefixes, questions=("how", "what", "where", "why")):
return (
[f"{prefix} {seed}" for prefix in prefixes]
+ [f"{question} {seed}" for question in questions]
)
Start with a manageable batch, such as ten prefixes, and add more only when needed. Normalise suggestions by removing duplicate casing, extra spaces and repeated punctuation, but preserve the original phrase for display. Australian spelling and vocabulary deserve particular attention: “hire”, “tradie”, “arvo” and “holiday house” may represent genuine local intent that a US-focused keyword list misses.
Score ideas when search volume is unavailable
Autocomplete shows suggestions, not monthly searches, so your tool needs another way to prioritise ideas. A simple score can combine commercial intent, business fit, Australian relevance and phrase specificity. Giving each factor a value between zero and three makes the ranking transparent and easy to adjust.
For example, “24 hour plumber Melbourne” may score highly because it contains a service, urgency and location. A broad term such as “plumber” can still be valuable, but it needs supporting content and location pages rather than being treated as an immediate conversion target. Terms connected to GST, Medicare, council rates or NDIS may score well only when they match your actual offer.
Treat the score as a decision aid, not a replacement for checking demand. Use Google Trends to compare related phrases, inspect Search Console for a site that already ranks, and manually review the search results. If Google shows large national brands for a keyword, ranking may require more authority than a new business can provide.
Turn raw suggestions into a usable research interface
A useful output should include the suggestion, originating seed, assigned intent, score and a short action note. Filters can separate phrases that deserve a new article from those that fit an existing service page. Showing the Australian location used for each search also prevents users from accidentally combining data from different markets.
Keyword quality and landing-page quality are closely connected. When a phrase points to a commercial page, this A/B testing guide can help you compare headlines, proof points and calls to action without changing the underlying topic. The experiment should test the message, while the keyword determines whom the page should serve.
A CSV export completes the first version. Include the collection date, market, seed, suggestion, intent and score so results can be compared over time. For a local campaign, run separate passes using Sydney, Melbourne, Brisbane, Perth and Adelaide, then preserve those labels in the export rather than merging every city into one undifferentiated list.
Keep the tool compliant, reliable and easy to validate
The most important limitation is that the autocomplete endpoint is not Google’s official keyword API. Review Google’s terms before operating the tool, keep traffic modest and avoid presenting the output as an exhaustive Google dataset. Cache popular requests, add delays between expansions and keep a fallback workflow using Google Trends, Search Console and manual SERP review.
The tool can identify questions surrounding a service without handling the legal or operational work attached to that service. For example, autocomplete may reveal interest in “event risk assessment” or “public liability for events”. A business planning events in Germany can use an event liability declaration template for that separate compliance process, while Australian operators should confirm their own insurance and legal requirements.
Protect user information by collecting only the keyword inputs needed for research. If you later store user accounts, contact details or search histories, assess them against the Privacy Act 1988 and the Australian Privacy Principles. Validate results regularly by comparing the tool with manual Google searches, checking spelling variants and confirming that the displayed region matches the intended Australian audience.
Launch a repeatable keyword research workflow
Use the tool as a weekly research routine rather than a one-time download. A strong process begins with business priorities, expands a controlled set of seeds, reviews intent and then validates the strongest phrases against real search results. The final output should be a prioritised publishing or campaign schedule, not an oversized spreadsheet of unranked suggestions.
- Begin with three to five seeds that directly match your products, services or audience.
- Keep
gl=auas the default and run separate searches for relevant Australian cities. - Expand in small batches, adding alphabet prefixes only when they produce useful variations.
- Tag every suggestion as informational, commercial, local or transactional.
- Check priority phrases manually in Google and compare them with Trends or Search Console.
- Export a dated CSV so ranking changes, new content and campaign results remain auditable.
Publish the working application for your team or customers and give each person a clear way to submit new seeds. Start with your highest-value service keyword, generate the first 100 Australian suggestions and use the ranked list to schedule the next page, article or campaign.