Google Search SERP Scraper $8/1k avatar

Google Search SERP Scraper $8/1k

Pricing

from $8.00 / 1,000 results

Go to Apify Store
Google Search SERP Scraper $8/1k

Google Search SERP Scraper $8/1k

Scrape Google Search Engine Results Pages (SERPs). πŸ”₯ $8/1k results πŸš€ Select the country, language or precise location and extract organic and paid results, ads, queries, People Also Ask, prices, reviews, like a Google SERP API for SEO research, rank tracking, and content gap workflows.

Pricing

from $8.00 / 1,000 results

Rating

0.0

(0)

Developer

Dipendra KC

Dipendra KC

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 months ago

Last modified

Categories

Features

Limited permissions

Share

Google Search SERP Scraper

A production-grade, ultra-fast Apify Actor that scrapes Google Search Engine Results Pages (SERPs) and returns structured data. Functions as a reliable Google SERP API for SEO rank tracking, market research, content-gap analysis, and competitive intelligence.


✨ Features

  • ⚑ High-Speed Static Scraping: Built on Crawlee's CheerioCrawler (pure HTTP fetching with zero browser overhead) tuned for high concurrency.
  • πŸ€– Google AI Overview Support: Extract Google AI Overview answer summaries and citations, or toggle off to exclude generative content.
  • 🌐 Apify Google SERP Proxy Built-in: Utilizes Apify's dedicated GOOGLE_SERP proxy group (groups-GOOGLE_SERP), routing requests to the appropriate regional domain (google.co.uk, google.de, google.fr, etc.) with fallback to RESIDENTIAL.
  • πŸ“ Precision Geo-Targeting (UULE): Converts free-text location names (e.g. Austin,Texas,United States) into Google's canonical uule parameter.
  • πŸ“¦ Comprehensive SERP Extraction:
    • Organic Results: Position, title, destination URL, displayed URL / breadcrumbs, description/snippet, sitelinks, and rich snippets (ratings, review counts, prices, dates).
    • Paid Ads: Placement (top vs bottom), position, advertiser domain, title, ad URL, description, callout extensions, and ad sitelinks.
    • People Also Ask (PAA): Question text, answer preview, and source citation URL.
    • Related Searches: Suggested search queries.
    • Knowledge Graph / Answer Box: Title, subtitle, description, source URL, key-value attributes, and entity images.
    • Google Shopping: Product title, price, currency, merchant/seller, rating, and product URL.
  • πŸ’° Proxy Cost Optimization Suite: Extensive measures to minimize proxy spend, including automatic query deduplication, smart pagination early-stopping (halts on empty pages or when index exhausted), single-retry limits, residential session retirement, Brotli (br) bandwidth compression, circuit breakers, and optional persistent Key-Value Store caching.
  • πŸ“Š Throughput Tracking & Summaries: Emits live queries/sec and pages/sec metrics, with run summaries stored in the Key-Value Store (RESULTS-SUMMARY and OUTPUT).

πŸ“₯ Input Parameters

FieldTypeDefaultDescription
queriesArray of strings["best running shoes"]Search keywords to run (accepts array or one query per line).
resultsPerPageInteger (10, 20, 30, 40, 50, 100)10Number of results requested per page (num parameter).
maxPagesPerQueryInteger1Pagination depth per query.
countryCodeString (ISO 3166-1 alpha-2)"us"Regional country code. Determines regional Google domain (google.de, google.co.uk, etc.) and gl param.
languageCodeString (ISO 639-1)"en"Search interface language (hl parameter).
locationString""Canonical location string (e.g. Berlin,Germany). Encoded into Google uule.
deviceEnum (desktop, mobile)"desktop"Emulated client device and User-Agent headers.
deduplicateQueriesBooleantrueAutomatically deduplicates and normalizes queries to avoid duplicate proxy costs.
maxResultsPerQueryInteger3000Stops pagination early once this target result count is achieved for a query.
maxRetriesInteger1Maximum retry attempts. Setting to 1 cuts retry proxy waste by 50% compared to standard scrapers.
stopOnEmptyPageBooleantrueStops pagination immediately if a page yields 0 results, preventing wasteful subsequent page calls.
stopWhenFewerResultsBooleantrueStops pagination when Google returns fewer organic results than requested (SERP index ended).
enableCacheBooleanfalseCaches search results in Key-Value store (serp-cache) to serve repeated queries with 0 proxy cost.
cacheTtlHoursInteger24Cache retention duration in hours.
maxConsecutiveBlocksInteger10Circuit breaker threshold that halts the crawl after N consecutive blocks to prevent burning proxy budget.
includeOrganicResultsBooleantrueExtract organic search results.
includePaidAdsBooleantrueExtract sponsored top and bottom ads.
includePeopleAlsoAskBooleantrueExtract People Also Ask Q&As.
includeRelatedSearchesBooleantrueExtract related search queries.
includeKnowledgeGraphBooleantrueExtract Knowledge Graph and answer box details.
includeShoppingResultsBooleantrueExtract Google Shopping product cards.
includeSiteLinksBooleantrueExtract sitelinks under organic results and ads.
includeAiOverviewBooleantrueExtract Google AI Overview / Generative AI answer summaries and citations when present.
maxConcurrencyInteger100Maximum parallel requests (auto-scaled).
proxyConfigurationObject{ useApifyProxy: true, apifyProxyGroups: ["GOOGLE_SERP"] }Apify proxy group settings.
outputFormatEnum (dataset, dataset+csv, dataset+json)"dataset"Storage format for results.
debugModeBooleanfalseSave raw SERP HTML snapshots to Key-Value Store under DEBUG-*.

πŸ“€ Output Structure

Data is streamed into the default Apify Dataset as each SERP page finishes loading.

Example Organic Result Item

{
"query": "best running shoes",
"page": 1,
"resultType": "organic",
"position": 1,
"title": "The 10 Best Running Shoes of 2025, Tested and Reviewed",
"url": "https://www.runnersworld.com/gear/a20865904/best-running-shoes/",
"displayedUrl": "https://www.runnersworld.com > gear",
"description": "We tested dozens of road and trail shoes to find the best models for every type of runner, budget, and foot strike.",
"sitelinks": [
{
"title": "Best Cushioned Shoes",
"url": "https://www.runnersworld.com/gear/cushioned-shoes"
}
],
"richSnippet": {
"rating": 4.8,
"reviewCount": 124,
"date": "Jan 12, 2025"
},
"searchParameters": {
"countryCode": "us",
"languageCode": "en",
"device": "desktop",
"googleDomain": "google.com"
},
"timestamp": "2026-09-17T12:00:00.000Z"
}

Example Paid Ad Item

{
"query": "running shoes",
"page": 1,
"resultType": "ad",
"position": 1,
"title": "Shop Top Running Shoes | Official Nike Store",
"url": "https://www.nike.com/running",
"displayedUrl": "https://www.nike.com",
"description": "Experience comfort and speed. Browse the newest road racing and trail running shoes with free shipping.",
"adInfo": {
"placement": "top",
"advertiserDomain": "nike.com",
"callouts": ["Free Shipping on $50+", "60-Day Returns"]
},
"searchParameters": {
"countryCode": "us",
"languageCode": "en",
"device": "desktop",
"googleDomain": "google.com"
},
"timestamp": "2026-09-17T12:00:00.000Z"
}

πŸš€ How to Run via API

1. Apify API (cURL)

curl --request POST 'https://api.apify.com/v2/acts/YOUR_USERNAME~google-search-serp-scraper/runs?token=YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"queries": ["best running shoes", "seo rank tracker"],
"countryCode": "us",
"languageCode": "en",
"resultsPerPage": 10
}'

2. Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run_input = {
"queries": ["python programming", "apify web scraping"],
"countryCode": "gb",
"languageCode": "en",
"maxPagesPerQuery": 2,
"device": "desktop"
}
run = client.actor("YOUR_USERNAME/google-search-serp-scraper").call(run_input=run_input)
# Fetch results from dataset
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"[{item['resultType'].upper()}] {item.get('title')} - {item.get('url')}")

3. JavaScript / Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('YOUR_USERNAME/google-search-serp-scraper').call({
queries: ['cybersecurity tools', 'cloud backup solutions'],
countryCode: 'de',
languageCode: 'de',
resultsPerPage: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted ${items.length} SERP elements`);

⏰ Scheduling

To run this scraper automatically (e.g. daily for rank tracking):

  1. Navigate to the Actor in Apify Console.
  2. Click the Schedules tab.
  3. Click Add schedule.
  4. Set the Cron expression (e.g., 0 6 * * * for daily at 6:00 AM UTC).
  5. Specify your search queries in the Input payload.
  6. Connect the run to a Webhook or Slack/Email integration to receive automated alerts!

πŸ€– Google AI Overview Support

This Actor allows you to extract or exclude Google AI Overviews based on your requirements:

  • Include (Default): Enabled by default (includeAiOverview: true), extracting Google AI Overview answer summaries, disclaimers, and citation source links as structured aiOverview items in your dataset.
  • Exclude: Set includeAiOverview: false to purge AI Overview blocks from memory, keeping dataset output focused exclusively on traditional organic search results. In either mode, AI overview elements are cleanly isolated and never contaminate organic ranking positions or snippets.