Related searches
The query suggestions Google places at the foot of a results page, delivered inline as part of the Google Search response.
Overview
Related searches are the follow-up queries Google recommends beneath the organic results, derived from the original query and aggregate search behavior. cloro parses this block and hands it back as a relatedSearches array, so there is no dedicated request to make — the data ships alongside every Google Search call. Each entry preserves the on-screen ordering: index 0 is the first suggestion Google renders, index 1 the next, and so on.
Because the suggestions are already embedded in the Google Search payload, you only need to submit a standard search request. The snippet below shows a minimal body that will produce a response carrying the array documented here.
{
"query": "best laptops for programming",
"country": "US"
}
Related search structure
| Field | Type | Description |
|---|---|---|
| query | string | The suggested query text as shown by Google. |
| link | string | A ready-to-use Google Search URL that runs the suggested query. |
Response example
{
"success": true,
"result": {
"relatedSearches": [
{
"query": "best laptops for programming under $1000",
"link": "https://www.google.com/search?q=best+laptops+for+programming+under+%241000"
},
{
"query": "best laptops for programming and gaming",
"link": "https://www.google.com/search?q=best+laptops+for+programming+and+gaming"
},
{
"query": "best budget laptop for coding",
"link": "https://www.google.com/search?q=best+budget+laptop+for+coding"
}
]
}
}
Notes
The array is omitted or returned empty when Google surfaces no suggestions for a given query, so treat its presence as optional in your parsing logic. Suggestion sets vary with the query, the requested country, and the language of the results. For help interpreting a specific response, reach us at [email protected].