google_search_scraper
Scrape Google search results with support for parsing, pagination, geolocation, and locale settings to extract structured data efficiently.
Instructions
Scrape Google Search results.
Supports content parsing, different user agent types, pagination, domain, geolocation, locale parameters and different output formats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to retrieve in each page. | |
| pages | No | Number of pages to retrieve. | |
| parse | No | Should result be parsed. If the result is not parsed, the output_format parameter is applied. | |
| query | Yes | URL-encoded keyword to search for. | |
| domain | No | Domain localization for Google. Use country top level domains. For example: - 'co.uk' for United Kingdom - 'us' for United States - 'fr' for France | |
| locale | No | Set 'Accept-Language' header value which changes your Google search page web interface language. Examples: - 'en-US' for English, United States - 'de-AT' for German, Austria - 'fr-FR' for French, France | |
| render | No | Whether a headless browser should be used to render the page. For example: - 'html' when browser is required to render the page. | |
| ad_mode | No | If true will use the Google Ads source optimized for the paid ads. | |
| start_page | No | Starting page number. | |
| geo_location | No | The geographical location that the result should be adapted for. Use ISO-3166 country codes. Examples: - 'California, United States' - 'Mexico' - 'US' for United States - 'DE' for Germany - 'FR' for France | |
| output_format | No | The format of the output. Works only when parse parameter is false. - links - Most efficient when the goal is navigation or finding specific URLs. Use this first when you need to locate a specific page within a website. - md - Best for extracting and reading visible content once you've found the right page. Use this to get structured content that's easy to read and process. - html - Should be used sparingly only when you need the raw HTML structure, JavaScript code, or styling information. | |
| user_agent_type | No | Device type and browser that will be used to determine User-Agent header value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |