Google Search Scraper – SERP, People Also Ask & Rank Tracker avatar

Google Search Scraper – SERP, People Also Ask & Rank Tracker

Pricing

from $4.70 / 1,000 scraped search result pages

Go to Apify Store
Google Search Scraper – SERP, People Also Ask & Rank Tracker

Google Search Scraper – SERP, People Also Ask & Rank Tracker

Scrape Google results pages (SERP): organic results, People Also Ask and related searches. Choose Google domain, country and language. Result links followed to the real page URL where possible. Rank tracking compares your domains' positions between runs. Search filters as fields. Pay per page.

Pricing

from $4.70 / 1,000 scraped search result pages

Rating

0.0

(0)

Developer

Badr Bouargan

Badr Bouargan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Google Search Scraper – SERP, Real URLs & Rank Tracking

Google Search Scraper: visual report of a real run, key figures and charts

What it does. Scrapes Google search results pages — organic results, ads when shown, People Also Ask and related searches — for any query, on any Google country domain, in any language, and remembers positions between runs for the domains you track.

The problem it solves. Checking rankings by hand is slow and biased by your own location and history, and Google now hides each result link behind a redirect, so copied links often point to Google rather than the page. This Actor returns the real destination URL of each result and, from the second run on, tells you which of your pages moved up or down.

Who it is for. SEO consultants and agencies tracking keywords, content marketers studying who ranks for a topic, link builders collecting exact page URLs, market researchers comparing countries, and developers or AI agents who need Google results as JSON.

What you get. One row per result: query, page, position, type (organic / paid), title, url (real destination), domain, description, isExactUrl, emphasizedKeywords, and for tracked domains previousPosition, positionChange, rankMovement; peopleAlsoAsk and relatedQueries on the first row of each page. Output example below.

How to start.

  1. Open the Actor on the Store: apify.com/badr_xba/google-search-scraper — or try the ready-made task (results for "best CRM software") from the Actor page.
  2. Type your searches, one per line, and pick a Google domain (and optionally country and language). Add your site to Tracked domains.
  3. Press Start, export Excel, CSV or JSON — and add an Apify Schedule to build a ranking history.

Why choose it.

  • Real result URLs: Google's redirect is followed for each result (isExactUrl tells you when it could not be).
  • Rank tracking built in: previous position, change and movement for your tracked domains, kept between runs in a named store — no SEO-suite subscription needed.
  • Search filters as fields: exact match, site:, intitle:, inurl:, file types, before/after dates, quick date range, search language, unfiltered results — no operators to remember.
  • 33 Google domains in the list, any other by pasting a full Google URL; desktop or mobile; precise location (UULE).
  • Optional full page content of each organic result (text + markdown), for content-gap analysis or feeding an AI model.
  • Pay per results page, People Also Ask and related searches included; failed pages are never billed.

How much it costs. $4.70 per 1,000 results pages (about 10 results each) on every plan, plus $0.0005 per run. Example: top 30 results for 100 keywords = 300 pages ≈ $1.41. Full pricing and add-ons.

What you can do with it

  • Track your rankings: list your domains, schedule a daily run, and read the gains and losses in a column.
  • Watch competitors: see who occupies the top ten on your money keywords, and when that changes.
  • Do keyword research: People Also Ask questions and related searches come with every page.
  • Build link prospect lists: the exact URL of every result, not just the homepage.
  • Compare markets: the same keyword through 33 national Googles, desktop or mobile.

No API key. Requests go through Apify's Google SERP proxy.

Why this Actor

  • Any search, anywhere. 33 country domains are in the list (google.com, google.co.uk, google.de, google.co.jp, google.com.br, google.ma…), and any other works by pasting a full Google URL.
  • Exact result URLs. Google now hides every result link behind an encrypted redirect. This Actor follows Google's own redirect for each result, so you get https://site.com/the/real/page, not just the homepage.
  • Rank tracking built in. For the domains you follow, every row carries the previous position, the change and the movement label.
  • Mobile or desktop, with country and language control.

How to use it in 3 steps

  1. Type your searches in Search queries, one per line, exactly as in Google (best running shoes, site:example.com pricing) — or paste a full Google URL.
  2. Pick a Google domain and, if you want, a country and language (us, en).
  3. Press Start and export the results as Excel, CSV or JSON.

The input is tidied for you: a block of lines pasted into one item is split, extra spaces, bullets and duplicates are removed, www.google.fr/search?q=… without https:// is understood, and US or USA becomes us. An unreadable country or language code is ignored with a warning instead of sending Google a wrong parameter. An empty input runs the demo search (1 page of best running shoes) instead of failing.

How it works

  1. Each query becomes a Google results page request through the SERP proxy.
  2. The page is parsed structurally — by links, headings and blocks, never by CSS class names, which Google changes constantly.
  3. Every result's redirect is resolved to its true destination in parallel, outside the SERP proxy, which keeps that step nearly free.
  4. Tracked domains are compared with the previous run, stored in a named key-value store that survives runs.

Step-by-step tutorial

  1. Put one query per line in Queries, or paste a full Google URL to reuse your own parameters.
  2. Pick a Google domain, and optionally a Country and Language (gl and hl).
  3. Set Pages per query — about ten results per page, so 3 pages gives the top 30.
  4. To follow your own site, list it in Tracked domains (example.com) and create an Apify Schedule to run daily.
  5. Press Start, then export as Excel, CSV or JSON.

Input example

{
"queries": ["best running shoes", "trail running shoes review"],
"googleDomain": "www.google.com",
"countryCode": "us",
"languageCode": "en",
"maxPagesPerQuery": 3,
"trackedDomains": ["example.com"],
"mobileResults": false
}

Output example

Google Search Scraper: result cards from a real run

Screenshots from a real platform run.

Every row as JSON:

{
"query": "best running shoes",
"page": 1,
"position": 2,
"type": "organic",
"title": "What are the best running shoes that you'd actually buy?",
"url": "https://www.reddit.com/r/runninglifestyle/comments/1u5x7mx/what_are_the_best_running_shoes/",
"domain": "reddit.com",
"description": "Jun 15, 2026 · The Asics Superblast 2 are the most well made running shoes…",
"isExactUrl": true,
"previousPosition": 5,
"positionChange": 3,
"rankMovement": "progression",
"peopleAlsoAsk": ["Which running shoe brand is best?"],
"relatedQueries": ["best running shoes for flat feet"]
}

rankMovement takes the values nouveau (first time seen), progression (up), stable and recul (down); the French values are kept as they are because existing integrations rely on them. peopleAlsoAsk and relatedQueries are attached to the first row of each results page only. totalResults is usually null: the lightweight results page Google serves no longer shows the total count.

The Rank tracking dataset view shows only the tracked domains with their movement.

Each row also carries a searchQuery object in the format of the Store's reference Google scraper (term, url, device, page, type, domain, countryCode, languageCode, locationUule), and each result its emphasizedKeywords (the words Google shows in bold). Turn off One row per result to get one row per results page with organicResults and paidResults arrays.

Advanced search filters

Build precise searches without writing Google operators yourself:

FieldGoogle operatorExample
Force exact match"…""best seo tools"
Site / Related to sitesite: / related:site:example.com
Words in title / text / URLintitle: / intext: / inurl:intitle:tutorial
Before date / After datebefore: / after:after:2024-01-01, or "3 months"
File typesfiletype:(filetype:pdf OR filetype:doc)
Exclude sites-site:-site:pinterest.com (a full URL is reduced to its domain)
Exclude words-word / -"phrase"-free -"used shoes"
Quick date rangetbs=qdr:d10, w2, m6, y1
Search languagelr=pages in French only
Unfiltered resultsfilter=0include results Google hides
Precise location (place name)uule=Austin,Texas,United States is turned into the UULE code for you (names up to 63 bytes; an explicit locationUule wins)

Add-ons

  • 📢 Paid results (ads) extraction — focusOnPaidAds: the ads shown for each query. Billed per results page where at least one ad was captured.
  • 🔍 Full website content — websiteContentScraper: {"enable": true}: each organic result page is read and attached as websiteContent (title, text, markdown, length), for content gap analysis and SERP benchmarking. Billed per page actually read; pages that show no text without JavaScript are not billed.
  • Save HTML — saveHtml (into the dataset) or saveHtmlToKeyValueStore (a link in htmlSnapshotUrl), free.

Not available (accepted in the input for compatibility, ignored, never billed): Google AI Mode, full AI Overview, ChatGPT, Perplexity, Microsoft Copilot and Gemini search, business leads enrichment, email verification, link prospecting tool, icon image data.

Visual report

Every run also saves a visual report: one HTML page that shows your results the way you read a results page, with tools on top.

  • Result cards: position (organic rank across pages, or "Ad"), title linked to the result, domain badge, displayed URL, snippet with Google's own bold words, result type, page number, an "Approx. URL" mark when Google hid the link, and the rank movement of your tracked domains (▲ / ▼ / new). The first result of each page also opens the page's People also ask questions and related searches.
  • Key figures and charts: results, searches, domains, share of organic results and exact URLs, tracked positions; top domains, result types and results per search. They follow your filters; click a bar to filter.
  • Search, filters and sorting: search titles, snippets, domains and queries; filter by search, type, domain, page, position range, tracked domains or exact URL; sort by position, domain or biggest rank gain. Card or table view.
  • Export: download the filtered results as JSON or CSV, or the full dataset as JSON, CSV or Excel.
  • Live progress: while the run works, the page shows a progress bar (searches done / total) and the results saved so far, and refreshes itself every 30 s.
  • Data quality: a panel shows how complete the key fields are (title, URL, domain, position, snippet, displayed URL, bold keywords).
  • Pages that could not be fetched are listed at the top, grouped by reason (they are not billed), with the input problems the run worked around (unknown fields, unreadable codes).

How to open it: in the run, go to the Output tab and choose Visual report (or open the REPORT record of the key-value store).

Results have no pictures: the domain badges are drawn in the page, no favicon service is called. With One row per result off, each page row is shown as one card per result. The report holds the first 2,000 results of a run; the full dataset is one click away. Saving the report is never billed and can never make a run fail.

Pricing

Pay per event: you pay for each Google results page successfully read and parsed (about ten organic results, with People Also Ask and related searches at no extra charge), plus a tiny start fee. Platform costs — the Google SERP proxy and compute — are included, so there is nothing else to pay.

EventFreeStarterScaleBusiness
Scraped search result page (~10 results)$4.70 / 1,000$4.70 / 1,000$4.70 / 1,000$4.70 / 1,000
Add-on: Paid results (ads), per page with ads$6.50 / 1,000$5.00 / 1,000$4.00 / 1,000$3.50 / 1,000
Add-on: Full website page scraped$8.00 / 1,000$5.00 / 1,000$4.00 / 1,000$3.00 / 1,000

Example: the top 30 results of 100 keywords (300 pages) = $1.41.

Plus $0.0005 per run start (one start event per GB of memory: the default 256 MB is one event). Pages that fail are never charged: they are listed in the FAILED_INPUTS record. Set a maximum cost per run and the Actor stops cleanly before exceeding it. Each run also writes a RUN_SUMMARY record (pages charged, results, failures, whether the budget stopped the run).

FAQ

Is it legal? The Actor scrapes only publicly available search result pages, as any visitor sees them, and does not sign in. You are responsible for complying with the site's terms and with data-protection law when you use the results.

Does it return AI Overviews or AI Mode answers? No. The page the Actor reads does not contain them; those input options are accepted for compatibility, ignored and never billed.

How many results per page? About ten — Google's no-JavaScript page. Set Pages per query to 3 for the top 30.

Why do some rows have isExactUrl: false? Google's redirect could not be followed for that result, so the address was rebuilt from the text Google displays. Domain, title, position and snippet remain correct. When Google displays no address at all (Reddit threads, YouTube videos), the row keeps Google's own result link instead and urlIsGoogleRedirect is true: the link still opens the page.

Are ads always included? They are collected when Google shows them, but the no-JavaScript layout the Actor reads does not always contain them.

How does rank tracking start? The first run records positions; from the second run on you get previousPosition, positionChange and rankMovement. Use a Schedule for a daily history.

Can I scrape a country that is not in the list? Yes — paste the full Google URL (for example https://www.google.com.sg/search?q=...&hl=en) as a query.

Why is the Google SERP proxy required? Google returns no usable results to ordinary datacenter addresses; this was tested. The proxy group is preselected for you. If you change it to something that does not exist, the Actor falls back to GOOGLE_SERP.

What it can and cannot do

✅ Can❌ Cannot
Organic results with exact URLs, ads when shown, People Also Ask, related searchesGoogle AI Overview / AI Mode, ChatGPT, Perplexity, Copilot, Gemini answers
33 Google domains in the list, any other through a pasted URL; desktop or mobileGoogle Images, News, Shopping or Maps tabs (see the Google Maps scrapers for places)
Rank tracking between runs for your domainsMore than about 10 results per page (Google's no-JavaScript page)

Troubleshooting

SymptomFix
fetchFailed in FAILED_INPUTSGoogle's SERP proxy was slow: run again or raise Attempts per page. Not billed
Some isExactUrl: falseGoogle's redirect could not be followed; title, domain and position stay correct
No adsThe no-JavaScript page does not always show ads; the ads add-on is billed only for pages where ads were captured
No previousPositionNormal on the first run: positions are compared from the second run on (same device, country and language)
maxTotalChargeReachedYour maximum cost per run was reached; the remaining pages were not fetched nor billed

Use it via API

Replace YOUR_API_TOKEN with your token from Apify Console → Settings → API & Integrations.

Python (pip install apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("badr_xba/google-search-scraper").call(run_input={
"queries": ["best running shoes", "trail running shoes review"],
"countryCode": "us",
"languageCode": "en",
"maxPagesPerQuery": 2,
"trackedDomains": ["example.com"],
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["query"], row.get("position"), row.get("url"))

JavaScript (npm install apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('badr_xba/google-search-scraper').call({
queries: ['coffee shop new york'],
googleDomain: 'www.google.com',
maxPagesPerQuery: 1,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((r) => [r.position, r.title, r.url]));

cURL (waits for the run and returns the rows)

curl -X POST "https://api.apify.com/v2/acts/badr_xba~google-search-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries": ["best crm software"], "countryCode": "gb", "maxPagesPerQuery": 1}'

Integrations

  • AI agents (MCP): add the Actor to Claude, Cursor or any MCP client through the Apify MCP server — https://mcp.apify.com/?actors=badr_xba/google-search-scraper — and let your agent search Google.

  • Schedules: a daily run builds your own rank-tracking history, without a subscription to an SEO suite.

  • API: pull each run's dataset as JSON, CSV or Excel.

  • Webhooks: notify your service, or your Slack, as soon as positions change.

  • Make, Zapier and n8n: trigger a run from a new keyword and push the rows to your SEO dashboard, a sheet or Slack.

  • Google Sheets: send each run's results to a sheet from the Integrations tab, or export the CSV.

Support

Open an issue on the Actor's Issues tab for a bug, a missing SERP feature or a country that misbehaves.

Did this Actor do the job? Leaving a short review on its Store page takes a minute and helps other people find it — and tells me which feature to build next.

Feedback and reviews

If this Actor saved you time, a short review on its Store page helps other users find it. If something did not work as expected, please open an issue on the Issues tab with your run ID: we read every issue.

This Actor reads public search result pages, the same ones any visitor sees, and collects no personal data. Automated access may conflict with Google's Terms of Service; how you use the results is your responsibility.

En français

Récupère les résultats de recherche Google — résultats naturels, annonces, « Autres questions posées » et recherches associées — pour n'importe quelle recherche, depuis n'importe quel pays et dans n'importe quelle langue (33 Google nationaux, et n'importe quel autre en collant son URL). Google chiffre désormais l'adresse de chaque résultat : l'Actor suit la redirection de Google pour restituer l'adresse exacte de la page, pas seulement le domaine. Il mémorise les positions d'un run à l'autre et signale ce qui monte et ce qui baisse pour les domaines suivis. Aucune clé API.