Google Related Searches Scraper
Pricing
from $3.99 / 1,000 results
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
Maintained by CommunityActor 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
- Enter a search phrase, several phrases, or Google Search URLs.
- Choose the result pages and the total suggestion limit.
- Leave
includeSearchResultsoff to collect related phrases only, or enable it to add Google result cards. - 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
| Input | Description | Default |
|---|---|---|
query / queries | One or more Google Search phrases. keywords and searchQuery are aliases. | — |
startUrls | Public Google Search URLs with a q query. urls is an alias. | — |
language / country | Language and country for Google Search. Country can be two-letter code or ALL. | en / US |
page / maxPages | Starting results page and consecutive pages per query. | 1 / 1 |
maxItems | Maximum unique suggestion records across all searches. | 25 |
includeSearchResults | Fetch linked Google Search pages and attach visible cards to their suggestion. | false |
maxSearchPages | Global limit on linked Google Search pages when enrichment is enabled. | 10 |
maxSearchResults | Maximum web, discussion, shopping, and ad cards attached per page. | 10 |
maxLocalPlaces | Maximum local-business cards from the same page. Set to 0 to omit local cards. | 5 |
sourceTransport | Start with direct HTTP (http) or a standard browser (browser). | http |
renderJavaScript | Allow a standard browser render if the page requires JavaScript. | true |
proxyConfiguration | Optional 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.