Google Search Results Scraper
Pricing
from $4.99 / 1,000 results
Google Search Results Scraper
Google Search Results Scraper extracts structured data from Google search pages in real time. Collect titles, URLs, snippets, rankings, ads, and related queries in JSON or CSV. Ideal for SEO tracking, competitor research, and keyword performance analysis.
Pricing
from $4.99 / 1,000 results
Rating
0.0
(0)
Developer
Scraper Engine
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Google Search Results Scraper
The Google Search Results Scraper is a fast, reliable Google SERP scraper that extracts structured data from Google search pages in real time. It solves the hassle of manual SERP copy-paste by returning clean JSON/CSV with titles, URLs, snippets, rankings, ads, related queries, and more. Built for marketers, developers, data analysts, and researchers, this Google search results scraping API helps you scale SEO tracking, competitor research, and keyword performance analysis across countries, languages, and devices.
What data / output can you get?
Below are the primary JSON fields the scraper pushes to the Apify dataset. You can export results to JSON or CSV.
| Data type | Description | Example value |
|---|---|---|
| searchQuery | Context for the current page/query | {"term":"javascript intitle:"guide"","url":"http://www.google.com/search?...","device":"DESKTOP","page":1,"type":"SEARCH","domain":"google.com","countryCode":"US","languageCode":"en","locationUule":null,"resultsPerPage":10} |
| searchQueryTerm | The full query string sent to Google (with applied filters) | "javascript intitle:"guide"" |
| url | The final Google Search URL for the page | "http://www.google.com/search?q=javascript+intitle%3A%22guide%22&gl=us&hl=en&udm=14" |
| hasNextPage | Whether another page of results is available | false |
| serpProviderCode | Source identifier | "O" |
| resultsTotal | Parsed βAbout X resultsβ count | 2380000000 |
| relatedQueries | List of related query links (built from top organic titles) | [{"title":"JavaScript - MDN Web Docs - Mozilla","url":"https://www.google.com/search?q=JavaScript+-+MDN..."}] |
| organicResults | Organic results with position, title, URL, snippet, and more | [{"title":"JavaScript - MDN","url":"https://developer.mozilla.org/...","displayedUrl":"developer.mozilla.org/...","description":"JavaScript (JS) is...","emphasizedKeywords":["javascript"],"siteLinks":[{"title":"Read more","url":"https://developer.mozilla.org/...","description":""}],"productInfo":{},"type":"organic","position":1}] |
| paidResults | Paid ad links if detected | [{"title":"Best JS Courses","url":"https://example.com/...","displayedUrl":"example.com","description":"","emphasizedKeywords":["javascript"],"siteLinks":[],"productInfo":{},"type":"paid","position":1}] |
| paidProducts | Shopping/commerce blocks with titles and price snippets | [{"title":"JavaScript Handbook","displayedUrl":"shop.example.com/item/123","prices":["$19.99"]}] |
| suggestedResults | Organic suggestions derived from related queries | [{"title":"JavaScript - MDN","url":"https://www.google.com/search?q=JavaScript+-+MDN...","type":"organic","position":1}] |
| peopleAlsoAsk | PAA questions with optional URLs | [{"answer":null,"question":"What is JavaScript?","title":"What is JavaScript?","url":"https://developer.mozilla.org/...","date":null}] |
| aiOverview | AI summary and references (if AI Mode + SerpApi key enabled) | {"text":"JavaScript is a programming language...","references":[{"title":"MDN Web Docs","url":"https://developer.mozilla.org/..."}]} |
| customData | Echoes add-on settings for Perplexity/ChatGPT and leads filters | {"perplexitySearch":{"enablePerplexity":false,"searchRecency":null,"returnImages":false,"returnRelatedQuestions":false},"chatGptSearch":{"enableChatGpt":false},"maximumLeadsEnrichmentRecords":0,"leadsEnrichmentDepartments":[]} |
| htmlSnapshotUrl | HTML snapshot key in the key-value store (if enabled) | "javascript_20260222_065327_p1.html" |
| html | Full HTML of fetched page(s) (if enabled) | "..." |
Notes:
- Optional fields like aiOverview, htmlSnapshotUrl, and html appear only if the corresponding add-ons/settings are enabled.
- Icons for results can be included when includeIcons is enabled (field key: icon on individual result items).
Key features
-
π Real-time SERP extraction & streaming Pushes data page-by-page as itβs scraped with Actor.pushData, so you can monitor and integrate results immediately.
-
π Country, language, and location controls Use countryCode, searchLanguage (lr), languageCode (hl), and locationUule to tailor results like a precise Google SERP crawler for GEO/AEO targeting.
-
π― Advanced query filters Apply forceExactMatch, site, relatedToSite, wordsInTitle (intitle:), wordsInText (intext:), wordsInUrl (inurl:), fileTypes (filetype:), quickDateRange, beforeDate, and afterDate. Perfect for a structured Google search result extractor.
-
π± Desktop or mobile results Toggle mobileResults to emulate device types and compare SERP layouts.
-
π° Paid results (ads) focus add-on Enable focusOnPaidAds for enhanced paidResults/paidProducts detection with specialized proxy logic and retries.
-
π€ AI Overview support (add-on) When aiMode is active and serpApiKey is provided, aiOverview text and references are returned alongside organic resultsβideal for modern AEO/GEO workflows.
-
π§© AI comparison flags in output Perplexity and ChatGPT add-ons are captured under customData (enable flags, recency, etc.) for cross-platform analysis and downstream automation.
-
πΎ Debug & audit-ready Save HTML to dataset (html) and/or to key-value store (htmlSnapshotUrl). Great for QA, parsing tests, and reproducibility.
-
π Production-ready proxying Always uses proxies. Defaults to GOOGLE_SERP and automatically falls back to RESIDENTIAL with retries on blocksβrobust Google SERP scraping tool behavior.
How to use Google Search Results Scraper - step by step
- Create your Apify account
- Sign up or log in to Apify.
- Open the actor
- Find βGoogle Search Results Scraperβ and click Try for free.
- Add your queries
- In queries, enter one search term or a full Google search URL per line.
- Tip: 1 page β 10 results. For ~100 results, set maxPagesPerQuery to 10.
- Configure location and language
- Set countryCode, languageCode (hl), and optional searchLanguage (lr).
- For precise local targeting, set locationUule.
- Apply filters (optional)
- Use forceExactMatch, site or relatedToSite, wordsInTitle / wordsInText / wordsInUrl, fileTypes, quickDateRange, beforeDate, afterDate, and includeUnfilteredResults.
- Choose device and ads focus
- Toggle mobileResults for mobile SERPs.
- Enable focusOnPaidAds to improve ad detection across retries.
- Enable AI add-ons (optional)
- Set aiMode and provide serpApiKey to populate aiOverview.
- Configure perplexitySearch and chatGptSearch as needed (settings echoed in customData).
- Run and monitor
- Click Start. The actor pushes structured results for each page (organicResults, paidResults, peopleAlsoAsk, etc.) into the dataset in real time.
- Download results
- Export your dataset as JSON or CSV from the Apify UI or via API.
Pro tip: Use proxyConfiguration defaults (GOOGLE_SERP) for best stability, and switch to RESIDENTIAL automatically on blocksβno manual proxy tuning required.
Use cases
| Use case name | Description |
|---|---|
| SEO teams β keyword tracking & SERP analysis | Collect organicResults with positions, snippets, and relatedQueries to track keyword performance at scale. |
| PPC analysts β ad visibility & product blocks | Extract paidResults and paidProducts to audit ad coverage and pricing signals. |
| Content teams β questions & topic ideation | Mine peopleAlsoAsk and suggestedResults to discover question clusters and content gaps. |
| Competitive intelligence β global SERP comparison | Apply countryCode, searchLanguage, languageCode, and locationUule to compare SERPs by market. |
| Data engineers β Google SERP scraping API pipeline | Stream structured records and export to JSON/CSV for automated ingestion. |
| Researchers β time-bounded corpus building | Filter by quickDateRange, beforeDate, afterDate to capture time-scoped SERPs for studies. |
| E-commerce β offer monitoring | Use paidProducts with prices and displayedUrl to track marketplace positioning. |
Why choose Google Search Results Scraper?
Purpose-built for precision, scale, and reliabilityβno brittle extensions or manual scraping.
- π― Accurate, structured output: Clean JSON with stable keys like organicResults, paidResults, peopleAlsoAsk, aiOverview, and more.
- π Multilingual & geo targeting: Control languageCode (hl), searchLanguage (lr), countryCode (gl), and locationUule for true local search emulation.
- π Scales from single queries to bulk runs: Manage maxPagesPerQuery and resultsPerPage; real-time dataset updates per page.
- π» Developer friendly: Export to JSON/CSV, consume via API, and integrate with your pipelines.
- π‘οΈ Robust proxying: Starts with GOOGLE_SERP and falls back to RESIDENTIAL on blocks with retriesβbuilt for resilience.
- π§© Add-on ready: AI Overview via SerpApi when aiMode is enabled; Perplexity/ChatGPT settings captured in customData.
- πΎ Auditable: Save HTML to dataset or key-value store for debugging and QA.
In short: a production-grade Google search results scraper tool that outperforms browser extensions and unstable scripts.
Is it legal / ethical to use Google Search Results Scraper?
Yesβwhen done responsibly. This actor retrieves publicly available Google search results and offers controls to align with your compliance needs.
Guidelines:
- Review and respect Googleβs terms of service for automated access.
- Use the data ethically and for legitimate purposes.
- Be mindful of personal data. The maximumLeadsEnrichmentRecords option includes a GDPR noticeβconsult legal counsel if unsure.
- Ensure your use complies with applicable laws (e.g., GDPR, CCPA).
Input parameters & output format
Example input JSON
{"queries": "javascript\ntypescript\npython","resultsPerPage": 100,"maxPagesPerQuery": 1,"aiMode": "aiModeOff","serpApiKey": "","perplexitySearch": {"enablePerplexity": false,"searchRecency": "","returnImages": false,"returnRelatedQuestions": false},"chatGptSearch": {"enableChatGpt": false},"maximumLeadsEnrichmentRecords": 0,"leadsEnrichmentDepartments": [],"focusOnPaidAds": false,"countryCode": "us","searchLanguage": "","languageCode": "en","locationUule": null,"forceExactMatch": false,"site": null,"relatedToSite": null,"wordsInTitle": [],"wordsInText": [],"wordsInUrl": [],"quickDateRange": null,"beforeDate": null,"afterDate": null,"fileTypes": [],"mobileResults": false,"includeUnfilteredResults": false,"saveHtml": false,"saveHtmlToKeyValueStore": true,"includeIcons": false,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["GOOGLE_SERP"]}}
Parameter reference (all fields from the schema):
- queries (string, required): Use regular search words or full Google Search URLs. One per line. Max ~32 words per query.
- resultsPerPage (integer, default 100): Desired num per page (1β100). Actual results may vary due to Google filtering.
- maxPagesPerQuery (integer, default 1): Maximum pages to scrape per query. ~10 results per page.
- aiMode (string, default "aiModeOff", enum: "aiModeOff" | "aiModeWithSearchResults" | "aiModeOnly"): Enable Google AI Mode add-on.
- serpApiKey (string, optional): SerpApi key to fetch AI Overview when aiMode is active.
- perplexitySearch (object): Perplexity add-on settings (captured in customData).
- perplexitySearch.enablePerplexity (boolean, default false)
- perplexitySearch.searchRecency (string, enum: "", "day", "week", "month", "year")
- perplexitySearch.returnImages (boolean, default false)
- perplexitySearch.returnRelatedQuestions (boolean, default false)
- chatGptSearch (object): ChatGPT add-on settings (captured in customData).
- chatGptSearch.enableChatGpt (boolean, default false)
- maximumLeadsEnrichmentRecords (integer, default 0): Leads enrichment limit per domain (see GDPR warning in description).
- leadsEnrichmentDepartments (array[string], default []): Department filters for leads enrichment (e.g., "marketing", "sales", "c-suite").
- focusOnPaidAds (boolean, default false): Use ad-specialized proxy behavior to improve paid ads detection.
- countryCode (string, default "us"): Country for gl parameter and Google domain.
- searchLanguage (string, optional): Restrict results to a language via lr (e.g., "lang_de"). Empty string = none.
- languageCode (string, default "en"): Interface language (hl).
- locationUule (string, optional): Exact location UULE code.
- forceExactMatch (boolean, default false): Wrap queries in quotes for exact matches.
- site (string, optional): Apply site: filter.
- relatedToSite (string, optional): Apply related: filter (ignored if site is set).
- wordsInTitle (array[string], default []): Adds intitle:"..." filters.
- wordsInText (array[string], default []): Adds intext:"..." filters.
- wordsInUrl (array[string], default []): Adds inurl:"..." filters.
- quickDateRange (string, optional): Shorthand date range (e.g., d10, m1, y1) via tbs=qdr:.
- beforeDate (string, optional): Filter before date (YYYY-MM-DD or relative like "3 months").
- afterDate (string, optional): Filter after date (YYYY-MM-DD or relative like "8 days").
- fileTypes (array[string], default []): One or more filetype: filters (e.g., pdf, csv, md, etc.).
- mobileResults (boolean, default false): Toggle mobile SERP.
- includeUnfilteredResults (boolean, default false): Include results Google normally filters out (tbs=li:1).
- saveHtml (boolean, default false): Store full HTML in the dataset under html.
- saveHtmlToKeyValueStore (boolean, default true): Store HTML in key-value store and link under htmlSnapshotUrl.
- includeIcons (boolean, default false): Include icon data for results if found.
- proxyConfiguration (object): Proxy settings. Prefill uses Apify Proxy with GOOGLE_SERP group; actor falls back to RESIDENTIAL on blocks.
Example output JSON
{"searchQuery": {"term": "javascript intitle:\"guide\"","url": "http://www.google.com/search?q=javascript+intitle%3A%22guide%22&gl=us&hl=en&udm=14","device": "DESKTOP","page": 1,"type": "SEARCH","domain": "google.com","countryCode": "US","languageCode": "en","locationUule": null,"resultsPerPage": 10},"searchQueryTerm": "javascript intitle:\"guide\"","url": "http://www.google.com/search?q=javascript+intitle%3A%22guide%22&gl=us&hl=en&udm=14","hasNextPage": false,"serpProviderCode": "O","resultsTotal": 2380000000,"relatedQueries": [{"title": "JavaScript - MDN Web Docs - Mozilla","url": "https://www.google.com/search?q=JavaScript+-+MDN+Web+Docs+-+Mozilla&hl=en&gl=us"}],"paidResults": [],"paidProducts": [],"aiOverview": null,"organicResults": [{"title": "JavaScript - MDN Web Docs - Mozilla","url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript","displayedUrl": "developer.mozilla.org/en-US/docs/Web/JavaScript","description": "JavaScript (JS) is a lightweight interpreted programming language with first-class functions.","emphasizedKeywords": ["javascript"],"siteLinks": [],"productInfo": {},"type": "organic","position": 1}],"suggestedResults": [{"title": "JavaScript - MDN Web Docs - Mozilla","url": "https://www.google.com/search?q=JavaScript+-+MDN+Web+Docs+-+Mozilla&hl=en&gl=us","type": "organic","position": 1}],"peopleAlsoAsk": [],"customData": {"perplexitySearch": {"enablePerplexity": false,"searchRecency": null,"returnImages": false,"returnRelatedQuestions": false},"chatGptSearch": {"enableChatGpt": false},"maximumLeadsEnrichmentRecords": 0,"leadsEnrichmentDepartments": []},"htmlSnapshotUrl": "javascript_20260222_065327_p1.html"}
Notes:
- html appears only when saveHtml is true.
- aiOverview includes text and references only when aiMode β aiModeOff and serpApiKey is provided.
FAQ
Do I need to provide queries as URLs or keywords?
You can use either. Enter one search term or a full Google Search URL per line in the queries field. The actor resolves Google URLs to the q parameter automatically.
How many results can I scrape per query?
Use resultsPerPage (1β100) and maxPagesPerQuery. As a rule of thumb, 1 page β 10 results. For ~100 results, set maxPagesPerQuery to 10.
Can I target specific countries and languages?
Yes. Set countryCode for gl, languageCode for the interface (hl), and optionally searchLanguage for lr. You can also provide locationUule for exact local targeting.
Does it scrape mobile SERPs?
Yes. Enable mobileResults to switch to mobile user agents and retrieve mobile-optimized SERPs.
How do I capture AI Overviews?
Enable aiMode and provide serpApiKey. When active, aiOverview will include a text summary and references fetched via SerpApi.
Can it focus on paid ads and shopping results?
Yes. Enable focusOnPaidAds to improve paidResults and paidProducts detection using specialized proxy behavior and retries.
Can I export the data to CSV?
Yes. Results are stored in an Apify dataset that you can export to JSON or CSV. You can also access them programmatically via API.
Is there a way to debug the HTML?
Enable saveHtml to include HTML in the dataset, or saveHtmlToKeyValueStore to store page snapshots and link them under htmlSnapshotUrl for easy inspection.
Closing thoughts
The Google Search Results Scraper is built to extract structured Google SERP data at scale. With robust proxying, granular filters, GEO/language controls, and optional AI Overview support, itβs ideal for SEO teams, PPC analysts, researchers, and developers. Export clean JSON/CSV to power dashboards, models, and pipelinesβor stream results to your own Google search engine scraper workflows with real-time dataset updates. Start extracting smarter SERP insights today.