Google Search
google_searchRun Google searches and retrieve structured SERP data with pagination, geo/language filters, and advanced query operators.
Instructions
Google Search. Scrape Google Search results via API and retrieve structured SERP data with pagination. Credit cost: 1 credit per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cr | No | Limit results to one or more countries. Use country{XX} with | as delimiter (e.g. countryFR|countryDE). | |
| gl | No | Country to use for the Google search. Two-letter country code (e.g. us for the United States, uk for United Kingdom, or fr for France). | |
| hl | No | Language to use for the Google search. Two or three-letter language code (e.g. en, es, fr), optionally followed by a region code (e.g. en-gb, es-419). | |
| lr | No | Limit results to one or more languages. Use lang_{xx} with | as delimiter (e.g. lang_fr|lang_de). | |
| num | No | Maximum number of results to return per page (deprecated). Default: 10. | |
| tbs | No | Advanced search filters string (e.g. time ranges: qdr:h last hour, qdr:d last day, qdr:w last week, qdr:m last month, qdr:y last year). | |
| page | No | Page number / offset used for pagination. Default: 1. | |
| safe | No | Adult content filter. active enables Google SafeSearch; off disables it. Omit to use Google default. | |
| uule | No | Google encoded location parameter. Use for precise geo targeting. Note: uule and location cannot be used together. | |
| query | Yes | The search query you want to run on Google (supports advanced operators like site:, inurl:, intitle:). | |
| fields | No | Comma-separated list of fields to keep in the response, with dot notation for nested fields (e.g. name,location.city). Does not change the credit cost. | |
| location | No | Human-readable location to originate the search from (e.g. New York, NY, Paris, France). If several locations match, the most popular one is used. Note: location and uule cannot be used together. | |
| google_domain | No | Google domain to use for the search. Defaults to google.com. Default: "google.com". |