google_search
Run Google searches and retrieve structured SERP data, including organic results, ads, and knowledge graph. Supports localization, pagination, filters, and mobile results.
Instructions
Run a Google search via Scrapingdog (/google). Returns organic results, ads, knowledge graph, and other SERP features as JSON (or raw HTML with html=true). Supports localization, pagination, advanced filters, and mobile results. Costs 5–10 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tbs | No | Advanced filter string (time ranges, verbatim mode) copied from Google's URL. | |
| html | No | Return the full raw HTML of the Google results page. | |
| page | No | Page number: 0 = first page, 1 = second, etc. Default: 0. | |
| safe | No | Filter adult content: 'active' to filter, 'off' to disable. Default: off. | |
| uule | No | Encoded geographic locale for tailored results. Cannot be combined with location. | |
| query | Yes | The Google search query. Supports operators like site:, inurl:, intitle:. | |
| domain | No | Google domain for localized results, e.g. google.co.in, google.co.uk. Default: google.com. | |
| api_key | No | Override the configured Scrapingdog API key for this call. If omitted, the key is read from SCRAPINGDOG_API_KEY or a local .env file. | |
| country | No | Two-letter country code, e.g. 'us', 'uk', 'fr'. Default: us. | |
| results | No | Number of results per page. | |
| language | No | Result language code, e.g. 'en', 'es', 'fr'. Default: en. | |
| location | No | Origin location (city-level recommended). Cannot be used with uule. | |
| mob_search | No | Return mobile search results. true costs 10 credits. | |
| advance_search | No | Get advanced feature snippets. true costs 10 credits, otherwise 5. |