google_search_scraper
Scrape Google search results for any query and return organic titles, URLs, snippets, and positions. Each SERP page returns one row and is billed per page.
Instructions
Google Search Results Scraper returns organic results (title, real URL, snippet, position) for any query through the Apify GOOGLE_SERP proxy — one row per SERP page, priced per page not per result. Billed to your own Apify account: ~$0.005 per result (Apify free-plan price, lower on paid plans).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device — Choose desktop or mobile to control which User-Agent is sent — Google sometimes shows slightly different snippets/layout per device. Options: desktop = Desktop; mobile = Mobile. | desktop |
| queries | Yes | Search queries — Enter the Google search queries to scrape, e.g. apify web scraping. One dataset row is returned per query per result page. Example: ["apify web scraping"]. | |
| safeSearch | No | SafeSearch — Turn this on to request Google's SafeSearch filtering (adds safe=active to the request). | |
| countryCode | No | Country code (gl) — Enter the 2-letter country code Google should localise results for, e.g. us, gb, de. Sent as the gl parameter. | us |
| languageCode | No | Language code (hl) — Enter the 2-letter interface language code, e.g. en, es, fr. Sent as the hl parameter and affects snippet language. | en |
| resultsPerPage | No | Results per page — Enter how many results Google should return per page, e.g. 10. Higher values (up to 100) fit more organic results on one billed page but Google may still cap what it actually returns. | |
| maxPagesPerQuery | No | Max pages per query — Enter how many result pages to fetch per query, e.g. 1. Each extra page is a separate billed SERP page (start=N*resultsPerPage). | |
| includePeopleAlsoAsk | No | Include People Also Ask — Keep this on to parse the People Also Ask question box. Note: Google only loads each answer's text/link after a click, so answerSnippet/url are often null — only the question text is reliably available. | |
| includeRelatedSearches | No | Include related searches — Keep this on to parse the related-searches suggestions shown near the bottom of the page. |