Google Search Scraper icon

Google Search Scraper

Extract organic search results, ads, local pack, and 'People Also Ask' from Google Search for SEO analysis.

As an Apify affiliate, we may earn a commission from qualifying purchases made through our links, at no extra cost to you. We only recommend tools we believe in.

JSON CSV XML EXCEL JSONL HTML

Try It Out

Experience the power of this scraper for free.

Run Scraper Now
apify-console
~ apify call google-search-scraper
Loading actor configuration...
Running on Apify cloud...
Run succeeded!
Fetched items: 1,245
Exporting to: CSV Excel

Overview

The Google Search Scraper is an immensely powerful tool designed for SEO professionals, marketers, and data researchers. Unlike the official Google Custom Search API, which limits you to 100 results and strips out much of the SERP's layout, this actor extracts the search engine results pages (SERPs) precisely as a real user sees them. You can effortlessly scrape organic link rankings, Google Ads (PPC text ads), the Knowledge Graph, the Local Pack (map listings), Related Searches, and 'People Also Ask' boxes. This allows you to track keyword rankings accurately across any country or language, reverse-engineer competitor SEO strategies, and aggregate massive amounts of localized search data without worrying about IP bans or CAPTCHAs.

Key Features

Extract 100% of organic Search Engine Results Pages (SERPs)
Scrape Paid Ads (Top, Bottom, and Shopping Carousels)
Support for exact geographic targeting (Country & specific location)
Extract 'People Also Ask' questions and direct answer text
Scrape Local Pack (Google Maps snippet) business listings
Mobile vs. Desktop rendering emulation
Automatic proxy rotation and CAPTCHA solving

Use Cases

1

Track daily keyword rankings (Rank Tracking) globally or locally

2

Analyze competitor PPC ad copy and paid search strategies

3

Discover new content ideas via 'People Also Ask' extraction

4

Monitor search engine reputation management (SERM) and PR

5

Conduct massive SEO audits for enterprise clients

6

Feed search data into custom LLMs and RAG pipelines

Input Parameters

Parameter Type Required Description
queries String Optional The exact search terms to scrape (e.g., 'best CRM software')
countryCode String Optional Two-letter country code (e.g., 'US', 'GB') for geolocated results
languageCode String Optional Language of the search results (e.g., 'en', 'ar')
maxPagesPerQuery Number Optional How many pages deep to go per keyword (1 = Top 10 results)
mobileResults Boolean Optional If true, simulates searching from a mobile device

Sample Output

{
  "searchQuery": "best CRM software",
  "organicResults": [
    {
      "title": "The 10 Best CRM Software for 2026",
      "url": "https://www.example.com/best-crm",
      "description": "Compare the top CRM systems for small business and enterprise...",
      "position": 1
    }
  ],
  "paidResults": [
    {
      "title": "Salesforce® Official Site | #1 CRM Software",
      "url": "https://www.salesforce.com/",
      "description": "Connect to your customers in a whole new way."
    }
  ],
  "peopleAlsoAsk": [
    {
      "question": "Which CRM is best for a small business?",
      "answer": "HubSpot and Zoho are often considered the best..."
    }
  ]
}

How to Use

  1. 1

    Click the 'Try for Free' button to access the Google Search Scraper on Apify.

  2. 2

    Log in to your free Apify workspace.

  3. 3

    Enter your target search keywords (one per line) in the queries field.

  4. 4

    Set your target country (e.g., 'US') and language (e.g., 'en') to ensure accurate localized rankings.

  5. 5

    Click 'Start'. The actors will utilize specific Google proxies to bypass blocks.

  6. 6

    Download the rich SERP data in JSON or CSV for your SEO analysis.

API Example

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({
    token: 'YOUR_API_TOKEN',
});

const input = {
    "queries": "buy cheap flights\nhotels in paris",
    "maxPagesPerQuery": 2,
    "countryCode": "us",
    "languageCode": "en"
};

const run = await client.actor("apify/google-search-scraper").call(input);

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Pricing Structure

Pay for usage. Because Google heavily protects its search pages, specialized Google SERP Proxies are utilized. The cost is roughly $2.50 to $4.00 per 1,000 SERP pages scraped. The platform's $5 monthly credit easily lets you track hundreds of keywords completely free.

Limitations

  • Cannot scrape Google Shopping tabs or Google Images specifically (requires dedicated scraper variants).
  • Extracting 10+ pages deep per keyword slows down the run and increases cost significantly.
  • Google frequently changes the HTML layout of the 'Knowledge Graph' or 'Local Pack', which occasionally causes the actor to miss edge-case snippets until patched.

Frequently Asked Questions

Is this better than Google's Official Custom Search JSON API?
Absolutely. Google's official API is strictly limited to 100 results per query, heavily filters the results it returns, and costs $5 per 1,000 queries. This scraper gives you the raw, unfiltered truth of exactly what a real user sees on a browser, including Ads and 'People Also Ask'.
Can I target a specific city or ZIP code?
Yes. While the standard setting is Country, the actor allows you to input exact 'uule' parameters or coordinates to simulate a search query coming from a specific neighborhood, which is crucial for Local SEO (Google Maps/Local Pack tracking).
Will my IP address get blocked by Google?
No. The actor routes all requests through Apify's enterprise-grade Proxy pool using intelligent rotation, ensuring your personal IP is never exposed or blocked.
Does it scrape 'People Also Ask' (PAA) questions?
Yes, it extracts the PAA questions, and uniquely, it can also simulate clicking them to extract the textual answer snippet displayed inside.

Extracted Data Details

Organic Positional Rank Title tag & Meta Description Snippets Destination URLs & Display URLs Paid Ad Copy & Extensions People Also Ask (Questions & Answers) Related Searches Data Knowledge Graph Entities Local Pack Businesses

Pricing Structure Freemium
Category Web Scraping
Last Verified Mar 2026

View on Apify Store

Need a Custom Solution?

Contact us for a bespoke scraper built to your exact requirements.

Hire an Expert
Google Search Scraper

Google Search Scraper

Ready to extract data from {name}

Run for Free