get_google_search_results
This is a FALLBACK tool — use fast_search first for general web searches. Only use this tool when you need specialized search types that fast_search does not support: news, maps, Google Lens, shopping, image search, or Google AI mode.
Scrape Google search results using ScrapingBee and return the results. This tool can scrape normal results, news results, maps results, search using google lens, shopping related results, image results, and get the result from Google's AI mode. It can even return the HTML along with the search results.
Scope: one query per call. To run many queries in one pass, or to write
results to disk instead of into the conversation, use the ScrapingBee CLI —
scrapingbee <command> --input-file queries.txt --output-dir results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Response-header label only. | |
| nfpr | No | Whether to disable Google's autocorrection feature or not. | |
| page | No | The page number to return. | |
| pages | No | Number of pages to aggregate (max 10, default 1). | |
| device | No | The device to use for the search (desktop, mobile). | desktop |
| radius | No | Radius in meters (requires latitude and longitude). | |
| search | Yes | The search query to use. | |
| sort_by | No | Shopping sort order: relevance, reviews, price_asc, price_desc. | |
| add_html | No | Whether to return the HTML along with the search results. | |
| language | No | The language to use for the search (Example: en, fr, de, etc.). | en |
| latitude | No | Latitude in decimal degrees for geographic searches. | |
| longitude | No | Longitude in decimal degrees for geographic searches. | |
| max_price | No | Shopping maximum price filter. | |
| min_price | No | Shopping minimum price filter. | |
| date_range | No | Filter by date range: past_hour, past_day, past_week, past_month, past_year. Only for classic, news, and images. | |
| search_type | No | The search type to use (classic: normal results, news: news results [not available if device is mobile], maps: maps results, lens: search using google lens [requires image url as search parameter], shopping: shopping related results, images: image results, ai_mode: get the result from Google's AI mode, ads: paid-ad results). | classic |
| country_code | No | The country code to use for the search (Example: us, fr, de, etc.). | us |
| extra_params | No | Extra parameters to pass to the search (Example: tbs=qdr:d&udm=7). | |
| light_request | No | Whether to use a light request or not. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||