Short answer: every /google/search response includes related_searches, the list of queries Google prints at the bottom of the results page, as a plain array of strings. One request, one credit, no separate endpoint.
Related searches are Google telling you what people who typed your keyword typed next. For keyword research that is a free list of adjacent topics, already filtered by real demand.
The request
curl -X POST 'https://api.serpbase.dev/google/search' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"q":"python tutorial","gl":"us","hl":"en","device":"desktop"}'
What comes back
We ran these on 27 November 2026.
python tutorial on desktop returned eight:
"related_searches": [
"Python tutorial PDF",
"Python tutorial for beginners",
"Python Tutorial W3Schools",
"Python tutorialspoint",
"Python tutorial app",
"Python tutorial free",
"Python tutorial - youtube",
"Python Tutorial Programiz"
]
running shoes on mobile returned four: Running Shoes Nike, Running shoes Men, Running shoes Women, Running shoes Boys.
Eiffel Tower returned eight on desktop and six on mobile.
So the count is not fixed. In four tests we saw four, six and eight, and desktop gave more than mobile for the same keyword.
The response also has people_also_search_for. In both tests above it held the same queries as related_searches, so read one of them, not both.
Python: expand a seed keyword one level
import time, requests
def related(q):
r = requests.post(
"https://api.serpbase.dev/google/search",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"q": q, "gl": "us", "hl": "en", "device": "desktop"},
timeout=60,
).json()
if r["status"] != 0:
print(q, "failed:", r.get("error"))
return []
return r.get("related_searches", [])
seed = "python tutorial"
seen = {seed.lower()}
level1 = related(seed)
for q in level1[:5]:
time.sleep(1)
for q2 in related(q):
if q2.lower() not in seen:
seen.add(q2.lower())
print(q, "->", q2)
Six requests give you the seed's related searches and the related searches of its first five. Deduplicate case-insensitively: Google's capitalisation is not consistent (Python Tutorial W3Schools, Python tutorial free).
Things that trip people up
- Use desktop for the longer list. Eight against four to six on mobile in our tests. The default device is mobile.
- The field is left out when the page has no related searches. Use
.get("related_searches", []). - They are plain strings. No link, no position, no volume. To get volume you need another data source; to get the results for one, search it.
- They follow
glandhl. The same keyword in another country gives a different list, so keep one market per run. - Related searches are not autocomplete. Autocomplete completes what you are typing; related searches are what people searched after. Both are useful and they overlap less than you would think.
Related endpoints
Google autocomplete returns the suggestions from the search box. People Also Ask returns the questions, from the same response as this field.
Cost and limits
Each search costs 1 credit; failed requests are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.
- Parameters and the full response: Google web search docs
- Try it in the browser: Google web search
- Credit packs: pricing