Google Search Scraper avatar
Google Search Scraper
Try for free

3 days trial then $20.00/month - No credit card required now

View all Actors
Google Search Scraper

Google Search Scraper

epctex/google-search-scraper
Try for free

3 days trial then $20.00/month - No credit card required now

Boost SEO with our tool! Explore organic & paid results, People Also Ask, and Related Queries. Select countries, languages, and precise locations for tailored insights.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.google.com/search?q=fitness"
9  ],
10  "queries": [
11    "sculpture"
12  ],
13  "locationUule": "w+CAIQICIIaXN0YW5idWw=",
14  "maxItems": 20,
15  "endPage": 1,
16  "extendOutputFunction": "($) => { return {} }",
17  "customMapFunction": "(object) => { return {...object} }",
18  "proxy": {
19    "useApifyProxy": true
20  }
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/epctex~google-search-scraper/runs?token=$API_TOKEN" \
27  -X POST \
28  -d @input.json \
29  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 42 monthly users
  • 1 star
  • 95.3% runs succeeded
  • Created in Sep 2023
  • Modified 2 days ago