Google SERP & SEO Scraper
Pricing
from $3.99 / 1,000 results
Google SERP & SEO Scraper
Extract public Google Search organic results, paid cards, People Also Ask questions, AI Overview text, and visible result totals.
Pricing
from $3.99 / 1,000 results
Rating
0.0
(0)
Developer
Google API
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Collect a structured record of what Google Search publicly displays for each keyword, or — in a separate, explicitly enabled mode — read genuine Search Console Search Analytics data for a property you own.
Source modes (NW14-B)
Three INDEPENDENT, explicitly selected modes exist. They never fall back into one another. A stop in one mode produces a failure state in the key-value store, zero fabricated dataset rows, and no attempt to use another source.
sourceMode | Status | What it reads |
|---|---|---|
google_serp_public (default) | ACCESS_RESTRICTED / NOT_PUBLISHABLE | The original public Google Search extraction path, preserved unchanged. It is not retried or rewritten here. |
search_console_owned | LOCAL_VERIFIED / OWNER_OAUTH_REQUIRED | Google Search Console Search Analytics for a property verified against the authenticated account. Default-off. |
licensed_serp_provider | DISABLED (provider + rights approval required) | A named licensed SERP provider. Hard-disabled: no provider is approved in this tree. |
Owned Search Console semantics
search_console_owned requires BOTH sourceMode: "search_console_owned" AND enabled: true, a verified searchConsoleProperty, and an explicit valid reportStartDate/reportEndDate window (at most 90 days). Every record identifies its query, page, country, device and date dimension plus the exact reporting window.
clicks,impressionsandctrare copied EXACTLY from the Search Console response — never recomputed or rounded.averagePositionis the provider's aggregate average position. It is NOT an independent live SERP rank and is labelledpositionSemantics: "provider_average_position_not_live_rank".- Queries the provider did not return are NOT emitted as zero-impression or zero-ranking rows. Missing observations stay absent.
- This mode is not a technical SEO audit. It makes no crawl, indexation, backlink, competitor, or "technical health" claim, and invents no competitor rankings.
- Certification covers the Search Console mode ONLY, never the original general SERP extractor.
The original google_serp_public mode remains access-restricted and non-publishable; historical SERP data came from another account and no restricted route was retried during this work.
Credentials (protected environment only)
apify@3.7.2 has no Actor.getSecret(). Credentials are read ONLY from Apify-injected environment variables, are masked, and are never accepted from actor input, hardcoded, logged, written to a dataset row, written to KVS diagnostics, or embedded in a URL:
search_console_owned:APIFY_SECRET_GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN(or legacyGOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN), with optional scope-name declaration viaGOOGLE_SEARCH_CONSOLE_OAUTH_SCOPES/oauthScopes. Required scope:https://www.googleapis.com/auth/webmasters.readonly.licensed_serp_provider:APIFY_SECRET_LICENSED_SERP_PROVIDER_TOKEN(or legacyLICENSED_SERP_PROVIDER_TOKEN), plusLICENSED_SERP_PROVIDER_NAMEandLICENSED_SERP_RIGHTS_APPROVED=true.google_serp_public: no credential mechanism (public source only).
The actor never calls an OAuth token endpoint, a paid API, or a licensed provider during this offline task.
How to use
- Enter a keyword or several queries, or provide public Google Search URLs.
- Choose the language, country, result count, and page range.
- Select which result modules to include.
- Run the Actor and review one dataset record per keyword.
Example:
{"query": "mechanical keyboards","language": "en","country": "US","maxResults": 20,"maxPages": 2,"includePaid": true,"includeProducts": true,"includePaa": true,"includeAiOverview": true}
Input
| Input | Description | Default |
|---|---|---|
query / queries | One or more search phrases. keywords and searchQuery are aliases. Queries can set their own language, country, and result limit. | — |
startUrls | Public Google Search URLs with a q parameter. When provided, these take precedence over generated queries. urls is an alias. | — |
language / country | Google Search language and country code. | en / US |
maxResults | Maximum organic results per keyword across pages (1–100). | 10 |
maxItems | Maximum keyword records across the run (1–20). | 10 |
page / maxPages | First Google results page and maximum consecutive pages per keyword. | 1 / 10 |
includePaid | Include visible sponsored text ads. | true |
includeProducts | Include Sponsored Products, Popular products, and More products modules. | true |
includePaa | Include visible People Also Ask cards. | true |
includePaaAnswers | Expand a bounded number of question cards to collect answers. | false |
maxPaaExpansions | Maximum question cards to expand. | 5 |
includeAiOverview | Include a visible AI Overview and cited sources. | true |
includeSnippets | Include visible text excerpts under result cards. | true |
renderJavaScript | Use a standard browser for rendered Google Search content. | true |
proxyConfiguration | Optional proxy settings for page requests. | — |
sourceMode | Independent source: google_serp_public, search_console_owned, or licensed_serp_provider. | google_serp_public |
enabled | Second switch; must be true to engage a non-default mode. | false |
searchConsoleProperty | Verified Search Console property for owned mode. | — |
reportStartDate / reportEndDate | Inclusive YYYY-MM-DD reporting window (max 90 days) for owned mode. | — |
oauthScopes | Declared scope NAMES only (never tokens) for owned mode. | — |
licensedProvider | Actual provider name; disabled until provider and rights are approved. | — |
Input examples
A basic keyword search with a bounded result count:
{"query": "mechanical keyboards","language": "en","country": "US","maxResults": 20,"maxPages": 2}
Several queries with per-query locale, module toggles, and a run-wide item cap:
{"queries": [{ "query": "mechanical keyboards", "language": "en", "country": "US", "maxResults": 15 },{ "query": "clavier mécanique", "language": "fr", "country": "FR", "maxResults": 10 }],"maxItems": 5,"includePaid": true,"includeProducts": true,"includePaa": true,"includeAiOverview": true}
Public Google Search URLs take precedence over generated queries and keep their parameters:
{"startUrls": [{ "url": "https://www.google.com/search?q=web+scraping&hl=en&gl=US&num=20" }],"renderJavaScript": false,"maxItems": 2}
Owned Search Console performance for one verified property and an explicit reporting window (default-off; requires the protected OAuth token in the environment):
{"sourceMode": "search_console_owned","enabled": true,"searchConsoleProperty": "sc-domain:brambletools.dev","reportStartDate": "2026-11-01","reportEndDate": "2026-11-14","oauthScopes": ["https://www.googleapis.com/auth/webmasters.readonly"],"maxItems": 10}
Licensed provider mode stays disabled until a provider AND redistribution rights are explicitly approved:
{"sourceMode": "licensed_serp_provider","enabled": true,"licensedProvider": "APPROVED_PROVIDER_NAME_GOES_HERE"}
Output
Each dataset item represents a keyword and its visible Google Search page. The record can include:
- Keyword summary: language, country, displayed total-results text, and fields describing the first organic result.
- Search cards: organic results, sponsored listings, and product cards with visible prices, sellers, ratings, and delivery details.
- Answer content: People Also Ask, AI Overview, and featured snippets with visible text and citations.
- Discovery modules: related searches, People Also Search For, search tabs, videos, discussions, and result refinements.
Modules vary by query, language, location, and time. Dates and prices are preserved as Google displays them; missing values are not guessed. Result links are included for reference but their destinations are not opened.
Example dataset item:
{"keyword": "mechanical keyboards","language": "en","country": "US","totalResultsText": "About 2,100 results","organicResults": [{"title": "A sample mechanical keyboard guide","resultUrl": "https://example.org/keyboards","domain": "example.org","descriptionSnippet": "A public result excerpt shown by Google.","resultType": "web"}],"relatedSearches": [{"term": "quiet mechanical keyboard","destinationUrl": "https://www.google.com/search?q=quiet+mechanical+keyboard"}],"peopleAlsoAsk": [{"question": "Which keyboard is best for typing?"}]}
In search_console_owned mode each dataset item is one genuine Search Analytics dimension row for the owned property, with exact source metrics and its reporting window:
{"keyword": "mechanical keyboard guide","sourceMode": "search_console_owned","sourceProvider": "GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS","property": "sc-domain:brambletools.dev","reportDate": "2026-11-14","reportingWindow": {"startDate": "2026-11-01","endDate": "2026-11-14","granularity": "daily"},"country": "usa","device": "MOBILE","pageUrl": "https://brambletools.dev/blog/keyboards","clicks": 184,"impressions": 5230,"ctr": 0.035178967,"averagePosition": 8.42,"positionSemantics": "provider_average_position_not_live_rank","metricSource": "search_console_search_analytics_exact_source_values"}
The Output tab shows the available result fields. Run summary information is available with the run output in Apify. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
Limits and responsible use
Google controls which modules appear and may change or limit results by query, locale, and time. More queries, pages, and optional answer expansion increase run time. The Actor does not sign in or bypass access checks.
Use public search information responsibly and follow applicable privacy requirements and Google Search terms. The public SERP mode is access-restricted and not publishable. An owned-mode failure never falls back to a restricted or unlicensed source. This Actor is not affiliated with Google. Search Console certification covers only the search_console_owned path with an authorized owner account; it does not certify general SERP extraction.