Google Related Searches Scraper avatar

Google Related Searches Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
Google Related Searches Scraper

Google Related Searches Scraper

Collect Google related-search suggestions and optionally nest visible results from each linked Google Search page.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Google API

Google API

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Collect related search phrases from public Google Search pages. Each dataset record contains a suggested phrase and its Google Search URL. By default, the Actor stops there. You can optionally open a bounded number of those Google Search pages and attach the visible result cards to each suggestion.

Third-party result links are saved as links; the Actor does not open those destination pages.

How to use

  1. Enter a search phrase, several phrases, or Google Search URLs.
  2. Choose the result pages and the total suggestion limit.
  3. Leave includeSearchResults off to collect related phrases only, or enable it to add Google result cards.
  4. Run the Actor and inspect the dataset.

Example: related phrases only

{
"queries": ["web scraping", "structured data"],
"language": "en",
"country": "US",
"maxItems": 25,
"page": 1,
"maxPages": 1
}

Example: add cards from linked Google searches

{
"query": "coffee shops in Chennai",
"country": "IN",
"includeSearchResults": true,
"maxSearchPages": 2,
"maxSearchResults": 5,
"maxLocalPlaces": 3,
"maxItems": 10
}

Input

InputDescriptionDefault
query / queriesOne or more Google Search phrases. keywords and searchQuery are aliases.—
startUrlsPublic Google Search URLs with a q query. urls is an alias.—
language / countryLanguage and country for Google Search. Country can be two-letter code or ALL.en / US
page / maxPagesStarting results page and consecutive pages per query.1 / 1
maxItemsMaximum unique suggestion records across all searches.25
includeSearchResultsFetch linked Google Search pages and attach visible cards to their suggestion.false
maxSearchPagesGlobal limit on linked Google Search pages when enrichment is enabled.10
maxSearchResultsMaximum web, discussion, shopping, and ad cards attached per page.10
maxLocalPlacesMaximum local-business cards from the same page. Set to 0 to omit local cards.5
sourceTransportStart with direct HTTP (http) or a standard browser (browser).http
renderJavaScriptAllow a standard browser render if the page requires JavaScript.true
proxyConfigurationOptional Apify Proxy settings.—

Output

Each dataset item represents one related-search suggestion and requires suggestion and suggestionUrl. When linked search results are enabled and available, it may also contain:

  • Search cards: web results, discussions, shopping offers, and ads, with displayed title, snippet, type, date, price, and publisher details when visible.
  • Discussion context: visible community name, comment/answer counts, top-answer excerpt, and related discussion links.
  • Local places: business name, rating, review-count label, price range, category, address, services, and image URL when present.

Suggestions stay as parent records even if an optional linked search has no supported cards or cannot be fetched. Result card links are not visited. Search-result dates and price labels are preserved as displayed rather than estimated or normalized.

Example dataset item:

{
"suggestion": "Web scraping python",
"suggestionUrl": "https://www.google.com/search?q=Web+scraping+python&hl=en&gl=US",
"searchResults": [
{
"title": "A Practical Introduction to Web Scraping in Python",
"resultUrl": "https://realpython.com/python-web-scraping-practical-introduction/",
"resultType": "web",
"snippet": "Python web scraping allows you to collect and parse data.",
"site": {
"siteName": "Real Python",
"domainName": "realpython.com"
}
}
],
"localPlaces": [
{
"name": "Example Coffee House",
"ratingValue": 4.7,
"ratingScale": 5,
"businessCategory": "Coffee shop"
}
]
}

The Output tab shows the available result fields. Run summary information is available with the run output in Apify.

Limits and responsible use

Search phrases, locale, and result types affect what Google displays. Extra linked-page collection increases run time. The Actor stops when Google limits access and does not bypass access checks.

Search terms are submitted to Google. Use public search data responsibly and follow applicable privacy requirements and Google Search terms. This Actor is not affiliated with Google.