Google Search Scraper avatar

Google Search Scraper

Try for free

No credit card required

Go to Store
Google Search Scraper

Google Search Scraper

apify/google-search-scraper
Try for free

No credit card required

You can access the Google Search Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "queries": "Hotels in NYC\\nRestaurants in NYC\\nhttps://www.google.com/search?q=restaurants+in+NYC",
3  "resultsPerPage": 100,
4  "maxPagesPerQuery": 1,
5  "countryCode": "",
6  "customDataFunction": "async ({ input, $, request, response, html }) => {\\n  return {\\n    pageTitle: $('\''title'\'').text(),\\n  };\\n};"
7}' |
8apify call apify/google-search-scraper --silent --output-dataset

Google Search Scraper API through CLI

The Apify CLI is the official tool that allows you to use Google Search Scraper locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 10 stars

  • >99% runs succeeded

  • Created in Apr 2019

  • Modified 3 years ago

Categories