google-search
v1.0.2Scrape Google search results with SERP data, ads, and knowledge panels
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_google Search Google
Execute a Google search with customizable filters, location targeting, and result pagination. Supports advanced search operators, Knowledge Graph entity lookups, and device-specific results.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | Authentication key for API requests. Provide as a query parameter or in the Authorization header using Bearer token format. |
engine * | string | The search engine identifier. Must be set to 'google' to use Google's search engine. |
cr | string | Restricts results to documents originating from a specific country, determined by the document's top-level domain or server IP geolocation. |
device | string | The device type for search results. Choose from desktop (default), mobile, or tablet to simulate searches from different device types. |
filter | string | Controls duplicate content and host crowding filters. Set to '1' (default) to enable filters or '0' to disable them. |
gl | string | Two-letter country code (e.g., 'us', 'gb', 'de') to restrict results to a specific country. Defaults to 'us'. See Google Shopping countries list for all supported codes. |
hl | string | Two-letter language code (e.g., 'en', 'fr', 'ja') to set the search interface language. Defaults to 'en'. Supports all Google interface languages. |
kgmid | string | A Knowledge Graph identifier representing a specific entity. Format: Location identifiers start with /m/ followed by 2-7 characters; general entity identifiers start with /g/ followed by longer alphan… |
lr | string | Restricts results to documents in specific languages using the format lang_XX or multiple languages with pipe separation (e.g., lang_en|lang_de). Google identifies language via TLD, meta tags, or docu… |
optimization_strategy | string | Optimization strategy for the request. Use 'performance' (default) for faster responses or 'ads' to optimize for higher ad collection success rates at the cost of longer processing times. |
page | integer | Results page number to retrieve, starting from 1 (default). Use for pagination through search results. |
q | string | The search query string. Supports Google's advanced search operators (inurl:, site:, intitle:, etc.). Either this or kgmid must be provided. |
safe | string | SafeSearch filtering level. Use 'active' for strict filtering, 'blur' (default) to blur explicit images, or 'off' to disable SafeSearch entirely. |
time_period_max | string | End date for filtering results by publication date. Format: MM/DD/YYYY. Use with time_period_min to define a date range. |
time_period_min | string | Start date for filtering results by publication date. Format: MM/DD/YYYY. Use with time_period_max to define a date range. |
uule | string | Google-encoded location parameter for geographically-targeted results. Cannot be used together with the location parameter. SearchApi generates this automatically when using location. |
verbatim | string | Forces exact keyword matching by disabling spelling corrections, synonyms, and query variations. Set to 'true' to enable. Stricter than nfpr parameter. |