WebScrapingAPI Docs

Related Searches Results

Understand the `related_searches` section returned by Google Search API responses.

Google may include related search suggestions near the end of a result page. Google Search API returns them in related_searches.

Request

curl --get "https://serpapi.webscrapingapi.com/v2" \
  --data-urlencode "api_key=YOUR_API_KEY" \
  --data-urlencode "engine=google" \
  --data-urlencode "q=coffee"

Fields

FieldTypeDescription
querystringRelated search text.
linkstringGoogle search URL for the related query.

Example

{
  "related_searches": [
    {
      "query": "best coffee beans",
      "link": "https://www.google.com/search?q=best+coffee+beans"
    }
  ]
}

Related searches vary by location, language, and current Google layout.

On this page