# Google Search Results (SERP) Scraper (`scraply/google-search-results-serp-scraper`) Actor

🔎 Google Search Results SERP Scraper extracts rankings, snippets, URLs & metadata from Google pages. ⚡️ Fast, reliable & SEO-focused for competitor research, keyword tracking & lead generation. 📈 Perfect for marketers, analysts & agencies.

- **URL**: https://apify.com/scraply/google-search-results-serp-scraper.md
- **Developed by:** [Scraply](https://apify.com/scraply) (community)
- **Categories:** Automation, Lead generation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Google Search Results Scraper

Scrape Google Search results at scale with this Apify Actor. Get organic results, paid ads, paid products, People Also Ask, related queries, and optional AI overview in a structured JSON format matching standard SERP output.

### Why Choose Us?

- **Proxy fallback**: Starts with no proxy; if Google blocks, automatically falls back to datacenter proxy, then residential proxy (with 3 retries). Once residential is used, it sticks for all remaining requests.
- **Bulk input**: Enter multiple search terms or full Google search URLs (one per line).
- **Rich output**: Same structure as professional SERP APIs — `searchQuery`, `organicResults`, `paidResults`, `paidProducts`, `peopleAlsoAsk`, `relatedQueries`, `aiOverview` (with SerpApi key), and more.
- **Compact UI**: Accordion sections and date pickers (absolute or relative) for a simple, organized input form.

### Key Features

- **Required input**: Search term(s) — one per line; supports full Google search URLs.
- **Proxy configuration**: Optional. By default no proxy; automatic fallback to datacenter then residential on block.
- **Number of results**: Results per page (1–100) and max pages per query (1 page ≈ 10 results).
- **Location and language**: Country, search language, interface language, exact location (UULE).
- **Advanced filters**: Force exact match, site, related to site, words in title/text/URL, quick date range, before/after date (absolute or relative), file types.
- **Add-ons**: Google AI Mode, Perplexity AI, ChatGPT search, business leads enrichment, paid results extraction.
- **Additional settings**: Mobile results, unfiltered results, save HTML to dataset or key-value store, include icons.

### Input

| Field | Type | Description |
|-------|------|-------------|
| **searchTerms** (required) | string (textarea) | One search term or full Google search URL per line. |
| **proxyConfiguration** | object (proxy) | Proxy settings. Default: no proxy. Fallback is handled by the actor. |
| **resultsPerPage** | integer | 1–100. Google may limit to ~10 organic per page. |
| **maxPagesPerQuery** | integer | Max pages to scrape per query (~10 results per page). |
| **countryCode** | string | Country (e.g. us, uk, de). |
| **languageCode** | string | Interface language (hl). |
| **beforeDate** / **afterDate** | string (datepicker) | Absolute (YYYY-MM-DD) or relative (e.g. "8 days", "3 months"). |
| … | … | See Form/JSON in Apify Console for all options. |

Example (JSON):

```json
{
  "searchTerms": "javascript\ntypescript\npython",
  "proxyConfiguration": { "useApifyProxy": false },
  "maxPagesPerQuery": 1,
  "countryCode": "us",
  "languageCode": "en"
}
````

### Output

Each dataset item is one SERP result with the following structure (same as standard SERP JSON):

- **searchQuery**: term, url, device, page, type, domain, countryCode, languageCode, locationUule, resultsPerPage
- **url**: Final SERP URL
- **hasNextPage**, **serpProviderCode**, **resultsTotal**
- **relatedQueries**: \[{ title, url }]
- **paidResults**: \[{ title, url, displayedUrl, description, type: "paid", position }]
- **paidProducts**: \[{ title, displayedUrl, prices }]
- **aiOverview**: { text, references } or null (if SerpApi key and AI Mode enabled)
- **organicResults**: \[{ title, url, displayedUrl, description, emphasizedKeywords, siteLinks, productInfo, type: "organic", position }]
- **suggestedResults**, **peopleAlsoAsk**
- **customData**: perplexitySearch, chatGptSearch, maximumLeadsEnrichmentRecords, leadsEnrichmentDepartments
- **htmlSnapshotUrl**: Key in key-value store for saved HTML (if enabled)

### How to Use the Actor (via Apify Console)

1. Log in at [console.apify.com](https://console.apify.com) and go to **Actors**.
2. Find **Google Search Results Scraper** and open it.
3. In the **Input** tab, enter search terms (one per line) or paste full Google search URLs.
4. Expand accordion sections to set proxy, location, filters, date range (absolute or relative), and add-ons.
5. Click **Start** to run the actor.
6. Watch **Log** for progress and proxy fallback messages.
7. Open the **Output** tab to view or export the dataset (JSON/CSV).

### Best Use Cases

- SEO and SERP monitoring
- Competitor and keyword research
- Lead generation (with optional leads enrichment)
- Answer Engine Optimization (AEO) and AI overview tracking
- Bulk collection of search results for analysis

### Frequently Asked Questions

**Why does it say "10 results per page limit"?**\
Google often returns about 10 organic results per page. Use **maxPagesPerQuery** to get more (e.g. 10 for ~100 results).

**When does the actor use a proxy?**\
By default it uses no proxy. If Google blocks (e.g. "trouble accessing Google"), it switches to datacenter proxy, then to residential proxy with up to 3 retries, and then keeps using residential for the rest of the run.

**Can I use absolute and relative dates?**\
Yes. The **Before date** and **After date** fields support both absolute (YYYY-MM-DD) and relative (e.g. "8 days", "3 months") via the date picker.

### Support and Feedback

Use the Apify platform support or the actor’s repository for bugs and feature requests.

### Cautions

- Data is collected only from **publicly available** Google Search result pages.
- You are responsible for complying with Google’s Terms of Service, robots.txt, and applicable laws (privacy, data protection, etc.).
- Use reasonable rate limits and respect the proxy fallback behavior to avoid blocks.

# Actor input Schema

## `keyword` (type: `string`):

Enter **one full search query per line**. Each line will be treated as a separate search (e.g. `nike shoes`, `best laptop 2025`).

## `include_merged` (type: `boolean`):

If enabled, the dataset will include **one extra row per keyword** that merges results from **all pages** (`page = "all"`).

## `limit` (type: `string`):

Each page returns **up to 10 results**. Use **"all"** to fetch as many pages as possible (up to a safe limit).

## `start` (type: `integer`):

Optional offset for the **first result index** (Google `start` parameter). Leave empty for the default.

## `page` (type: `integer`):

If set, the scraper will fetch **only this page number** (1 = first page, 2 = second page, …).

## `country` (type: `string`):

Main **country selector**. Automatically sets Google `gl` and default proxy location. Uses ISO 3166 A‑2 country codes.

## `gl` (type: `string`):

Override the **local country for results** (Google `gl` parameter). Uses ISO 3166 A‑2 codes.

## `hl` (type: `string`):

Language of the **Google Search interface** (menus, buttons, etc.). For example `en`, `fr`, `de`.

## `tbs` (type: `string`):

Advanced time filter. Examples: `qdr:d` (past day), `qdr:w` (week) or custom range: `cdr:1,cd_min:01/01/2024,cd_max:01/31/2024`.

## `lr` (type: `string`):

Restrict results by **content language** (Google `lr` parameter), e.g. `lang_en`, `lang_fr`.

## `cr` (type: `string`):

Restrict results by **country of origin** (Google `cr` parameter), e.g. `countryUS`, `countryFR`.

## `proxy_location` (type: `string`):

Force the **proxy region**. Useful if you want to keep Google country separate from the proxy location. Options: `us`, `ca`.

## Actor input object example

```json
{
  "keyword": "nike",
  "include_merged": true,
  "limit": "all"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("scraply/google-search-results-serp-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("scraply/google-search-results-serp-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call scraply/google-search-results-serp-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraply/google-search-results-serp-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Search Results (SERP) Scraper",
        "description": "🔎 Google Search Results SERP Scraper extracts rankings, snippets, URLs & metadata from Google pages. ⚡️ Fast, reliable & SEO-focused for competitor research, keyword tracking & lead generation. 📈 Perfect for marketers, analysts & agencies.",
        "version": "0.1",
        "x-build-id": "eB5hCr7YrciUlyNmM"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraply~google-search-results-serp-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraply-google-search-results-serp-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scraply~google-search-results-serp-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scraply-google-search-results-serp-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scraply~google-search-results-serp-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scraply-google-search-results-serp-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "🔍 Search Keyword(s)",
                        "type": "string",
                        "description": "Enter **one full search query per line**. Each line will be treated as a separate search (e.g. `nike shoes`, `best laptop 2025`).",
                        "default": "nike"
                    },
                    "include_merged": {
                        "title": "🧩 Include merged result",
                        "type": "boolean",
                        "description": "If enabled, the dataset will include **one extra row per keyword** that merges results from **all pages** (`page = \"all\"`).",
                        "default": true
                    },
                    "limit": {
                        "title": "📊 Number of results",
                        "enum": [
                            "10",
                            "20",
                            "30",
                            "40",
                            "50",
                            "100",
                            "all"
                        ],
                        "type": "string",
                        "description": "Each page returns **up to 10 results**. Use **\"all\"** to fetch as many pages as possible (up to a safe limit).",
                        "default": "all"
                    },
                    "start": {
                        "title": "⏩ Start",
                        "type": "integer",
                        "description": "Optional offset for the **first result index** (Google `start` parameter). Leave empty for the default."
                    },
                    "page": {
                        "title": "📄 Page",
                        "type": "integer",
                        "description": "If set, the scraper will fetch **only this page number** (1 = first page, 2 = second page, …)."
                    },
                    "country": {
                        "title": "🌍 Country",
                        "enum": [
                            "AF",
                            "AL",
                            "DZ",
                            "AS",
                            "AD",
                            "AO",
                            "AI",
                            "AQ",
                            "AG",
                            "AR",
                            "AM",
                            "AW",
                            "AU",
                            "AT",
                            "AZ",
                            "BS",
                            "BH",
                            "BD",
                            "BB",
                            "BY",
                            "BE",
                            "BZ",
                            "BJ",
                            "BM",
                            "BT",
                            "BO",
                            "BA",
                            "BW",
                            "BV",
                            "BR",
                            "IO",
                            "VG",
                            "BN",
                            "BG",
                            "BF",
                            "BI",
                            "KH",
                            "CM",
                            "CA",
                            "CV",
                            "KY",
                            "CF",
                            "TD",
                            "CL",
                            "CN",
                            "CX",
                            "CC",
                            "CO",
                            "KM",
                            "CG",
                            "CD",
                            "CK",
                            "CR",
                            "CI",
                            "HR",
                            "CU",
                            "CY",
                            "CZ",
                            "DK",
                            "DJ",
                            "DM",
                            "DO",
                            "EC",
                            "EG",
                            "SV",
                            "GQ",
                            "ER",
                            "EE",
                            "SZ",
                            "ET",
                            "FK",
                            "FO",
                            "FJ",
                            "FI",
                            "FR",
                            "GF",
                            "PF",
                            "TF",
                            "GA",
                            "GM",
                            "GE",
                            "DE",
                            "GH",
                            "GI",
                            "GR",
                            "GL",
                            "GD",
                            "GP",
                            "GU",
                            "GT",
                            "GN",
                            "GW",
                            "GY",
                            "HT",
                            "HM",
                            "HN",
                            "HK",
                            "HU",
                            "IS",
                            "IN",
                            "ID",
                            "IR",
                            "IQ",
                            "IE",
                            "IL",
                            "IT",
                            "JM",
                            "JP",
                            "JO",
                            "KZ",
                            "KE",
                            "KI",
                            "KW",
                            "KG",
                            "LA",
                            "LV",
                            "LB",
                            "LS",
                            "LR",
                            "LY",
                            "LI",
                            "LT",
                            "LU",
                            "MO",
                            "MG",
                            "MW",
                            "MY",
                            "MV",
                            "ML",
                            "MT",
                            "MH",
                            "MQ",
                            "MR",
                            "MU",
                            "YT",
                            "MX",
                            "FM",
                            "MD",
                            "MC",
                            "MN",
                            "MS",
                            "MA",
                            "MZ",
                            "MM",
                            "NA",
                            "NR",
                            "NP",
                            "NL",
                            "NC",
                            "NZ",
                            "NI",
                            "NE",
                            "NG",
                            "NU",
                            "NF",
                            "KP",
                            "MK",
                            "MP",
                            "NO",
                            "OM",
                            "PK",
                            "PW",
                            "PS",
                            "PA",
                            "PG",
                            "PY",
                            "PE",
                            "PH",
                            "PN",
                            "PL",
                            "PT",
                            "PR",
                            "QA",
                            "RE",
                            "RO",
                            "RU",
                            "RW",
                            "WS",
                            "SM",
                            "ST",
                            "SA",
                            "SN",
                            "RS",
                            "SC",
                            "SL",
                            "SG",
                            "SK",
                            "SI",
                            "SB",
                            "SO",
                            "ZA",
                            "GS",
                            "KR",
                            "ES",
                            "LK",
                            "SH",
                            "KN",
                            "LC",
                            "PM",
                            "VC",
                            "SD",
                            "SR",
                            "SJ",
                            "SE",
                            "CH",
                            "SY",
                            "TW",
                            "TJ",
                            "TZ",
                            "TH",
                            "TG",
                            "TK",
                            "TO",
                            "TT",
                            "TN",
                            "TR",
                            "TM",
                            "TC",
                            "TV",
                            "VI",
                            "UG",
                            "UA",
                            "AE",
                            "GB",
                            "US",
                            "UY",
                            "UZ",
                            "VU",
                            "VA",
                            "VE",
                            "VN",
                            "WF",
                            "EH",
                            "YE",
                            "ZM",
                            "ZW"
                        ],
                        "type": "string",
                        "description": "Main **country selector**. Automatically sets Google `gl` and default proxy location. Uses ISO 3166 A‑2 country codes."
                    },
                    "gl": {
                        "title": "🌐 GL (Local country results)",
                        "enum": [
                            "AF",
                            "AL",
                            "DZ",
                            "AS",
                            "AD",
                            "AO",
                            "AI",
                            "AQ",
                            "AG",
                            "AR",
                            "AM",
                            "AW",
                            "AU",
                            "AT",
                            "AZ",
                            "BS",
                            "BH",
                            "BD",
                            "BB",
                            "BY",
                            "BE",
                            "BZ",
                            "BJ",
                            "BM",
                            "BT",
                            "BO",
                            "BA",
                            "BW",
                            "BV",
                            "BR",
                            "IO",
                            "VG",
                            "BN",
                            "BG",
                            "BF",
                            "BI",
                            "KH",
                            "CM",
                            "CA",
                            "CV",
                            "KY",
                            "CF",
                            "TD",
                            "CL",
                            "CN",
                            "CX",
                            "CC",
                            "CO",
                            "KM",
                            "CG",
                            "CD",
                            "CK",
                            "CR",
                            "CI",
                            "HR",
                            "CU",
                            "CY",
                            "CZ",
                            "DK",
                            "DJ",
                            "DM",
                            "DO",
                            "EC",
                            "EG",
                            "SV",
                            "GQ",
                            "ER",
                            "EE",
                            "SZ",
                            "ET",
                            "FK",
                            "FO",
                            "FJ",
                            "FI",
                            "FR",
                            "GF",
                            "PF",
                            "TF",
                            "GA",
                            "GM",
                            "GE",
                            "DE",
                            "GH",
                            "GI",
                            "GR",
                            "GL",
                            "GD",
                            "GP",
                            "GU",
                            "GT",
                            "GN",
                            "GW",
                            "GY",
                            "HT",
                            "HM",
                            "HN",
                            "HK",
                            "HU",
                            "IS",
                            "IN",
                            "ID",
                            "IR",
                            "IQ",
                            "IE",
                            "IL",
                            "IT",
                            "JM",
                            "JP",
                            "JO",
                            "KZ",
                            "KE",
                            "KI",
                            "KW",
                            "KG",
                            "LA",
                            "LV",
                            "LB",
                            "LS",
                            "LR",
                            "LY",
                            "LI",
                            "LT",
                            "LU",
                            "MO",
                            "MG",
                            "MW",
                            "MY",
                            "MV",
                            "ML",
                            "MT",
                            "MH",
                            "MQ",
                            "MR",
                            "MU",
                            "YT",
                            "MX",
                            "FM",
                            "MD",
                            "MC",
                            "MN",
                            "MS",
                            "MA",
                            "MZ",
                            "MM",
                            "NA",
                            "NR",
                            "NP",
                            "NL",
                            "NC",
                            "NZ",
                            "NI",
                            "NE",
                            "NG",
                            "NU",
                            "NF",
                            "KP",
                            "MK",
                            "MP",
                            "NO",
                            "OM",
                            "PK",
                            "PW",
                            "PS",
                            "PA",
                            "PG",
                            "PY",
                            "PE",
                            "PH",
                            "PN",
                            "PL",
                            "PT",
                            "PR",
                            "QA",
                            "RE",
                            "RO",
                            "RU",
                            "RW",
                            "WS",
                            "SM",
                            "ST",
                            "SA",
                            "SN",
                            "RS",
                            "SC",
                            "SL",
                            "SG",
                            "SK",
                            "SI",
                            "SB",
                            "SO",
                            "ZA",
                            "GS",
                            "KR",
                            "ES",
                            "LK",
                            "SH",
                            "KN",
                            "LC",
                            "PM",
                            "VC",
                            "SD",
                            "SR",
                            "SJ",
                            "SE",
                            "CH",
                            "SY",
                            "TW",
                            "TJ",
                            "TZ",
                            "TH",
                            "TG",
                            "TK",
                            "TO",
                            "TT",
                            "TN",
                            "TR",
                            "TM",
                            "TC",
                            "TV",
                            "VI",
                            "UG",
                            "UA",
                            "AE",
                            "GB",
                            "US",
                            "UY",
                            "UZ",
                            "VU",
                            "VA",
                            "VE",
                            "VN",
                            "WF",
                            "EH",
                            "YE",
                            "ZM",
                            "ZW"
                        ],
                        "type": "string",
                        "description": "Override the **local country for results** (Google `gl` parameter). Uses ISO 3166 A‑2 codes."
                    },
                    "hl": {
                        "title": "🈶 HL (Google UI language)",
                        "enum": [
                            "af",
                            "ar",
                            "hy",
                            "be",
                            "bg",
                            "ca",
                            "zh-CN",
                            "zh-TW",
                            "hr",
                            "cs",
                            "da",
                            "nl",
                            "en",
                            "eo",
                            "et",
                            "tl",
                            "fi",
                            "fr",
                            "de",
                            "el",
                            "iw",
                            "hi",
                            "hu",
                            "is",
                            "id",
                            "it",
                            "ja",
                            "ko",
                            "lv",
                            "lt",
                            "no",
                            "fa",
                            "pl",
                            "pt",
                            "ro",
                            "ru",
                            "sr",
                            "sk",
                            "sl",
                            "es",
                            "sw",
                            "sv",
                            "th",
                            "tr",
                            "uk",
                            "vi"
                        ],
                        "type": "string",
                        "description": "Language of the **Google Search interface** (menus, buttons, etc.). For example `en`, `fr`, `de`."
                    },
                    "tbs": {
                        "title": "⏱️ TBS (Time filter)",
                        "type": "string",
                        "description": "Advanced time filter. Examples: `qdr:d` (past day), `qdr:w` (week) or custom range: `cdr:1,cd_min:01/01/2024,cd_max:01/31/2024`."
                    },
                    "lr": {
                        "title": "🈺 LR (Language restriction)",
                        "enum": [
                            "lang_af",
                            "lang_ar",
                            "lang_hy",
                            "lang_be",
                            "lang_bg",
                            "lang_ca",
                            "lang_zh-CN",
                            "lang_zh-TW",
                            "lang_hr",
                            "lang_cs",
                            "lang_da",
                            "lang_nl",
                            "lang_en",
                            "lang_eo",
                            "lang_et",
                            "lang_tl",
                            "lang_fi",
                            "lang_fr",
                            "lang_de",
                            "lang_el",
                            "lang_iw",
                            "lang_hi",
                            "lang_hu",
                            "lang_is",
                            "lang_id",
                            "lang_it",
                            "lang_ja",
                            "lang_ko",
                            "lang_lv",
                            "lang_lt",
                            "lang_no",
                            "lang_fa",
                            "lang_pl",
                            "lang_pt",
                            "lang_ro",
                            "lang_ru",
                            "lang_sr",
                            "lang_sk",
                            "lang_sl",
                            "lang_es",
                            "lang_sw",
                            "lang_sv",
                            "lang_th",
                            "lang_tr",
                            "lang_uk",
                            "lang_vi"
                        ],
                        "type": "string",
                        "description": "Restrict results by **content language** (Google `lr` parameter), e.g. `lang_en`, `lang_fr`."
                    },
                    "cr": {
                        "title": "🚩 CR (Country restriction)",
                        "enum": [
                            "countryAF",
                            "countryAL",
                            "countryDZ",
                            "countryAS",
                            "countryAD",
                            "countryAO",
                            "countryAI",
                            "countryAQ",
                            "countryAG",
                            "countryAR",
                            "countryAM",
                            "countryAW",
                            "countryAU",
                            "countryAT",
                            "countryAZ",
                            "countryBS",
                            "countryBH",
                            "countryBD",
                            "countryBB",
                            "countryBY",
                            "countryBE",
                            "countryBZ",
                            "countryBJ",
                            "countryBM",
                            "countryBT",
                            "countryBO",
                            "countryBA",
                            "countryBW",
                            "countryBV",
                            "countryBR",
                            "countryIO",
                            "countryVG",
                            "countryBN",
                            "countryBG",
                            "countryBF",
                            "countryBI",
                            "countryKH",
                            "countryCM",
                            "countryCA",
                            "countryCV",
                            "countryKY",
                            "countryCF",
                            "countryTD",
                            "countryCL",
                            "countryCN",
                            "countryCX",
                            "countryCC",
                            "countryCO",
                            "countryKM",
                            "countryCG",
                            "countryCD",
                            "countryCK",
                            "countryCR",
                            "countryCI",
                            "countryHR",
                            "countryCU",
                            "countryCY",
                            "countryCZ",
                            "countryDK",
                            "countryDJ",
                            "countryDM",
                            "countryDO",
                            "countryEC",
                            "countryEG",
                            "countrySV",
                            "countryGQ",
                            "countryER",
                            "countryEE",
                            "countrySZ",
                            "countryET",
                            "countryFK",
                            "countryFO",
                            "countryFJ",
                            "countryFI",
                            "countryFR",
                            "countryGF",
                            "countryPF",
                            "countryTF",
                            "countryGA",
                            "countryGM",
                            "countryGE",
                            "countryDE",
                            "countryGH",
                            "countryGI",
                            "countryGR",
                            "countryGL",
                            "countryGD",
                            "countryGP",
                            "countryGU",
                            "countryGT",
                            "countryGN",
                            "countryGW",
                            "countryGY",
                            "countryHT",
                            "countryHM",
                            "countryHN",
                            "countryHK",
                            "countryHU",
                            "countryIS",
                            "countryIN",
                            "countryID",
                            "countryIR",
                            "countryIQ",
                            "countryIE",
                            "countryIL",
                            "countryIT",
                            "countryJM",
                            "countryJP",
                            "countryJO",
                            "countryKZ",
                            "countryKE",
                            "countryKI",
                            "countryKW",
                            "countryKG",
                            "countryLA",
                            "countryLV",
                            "countryLB",
                            "countryLS",
                            "countryLR",
                            "countryLY",
                            "countryLI",
                            "countryLT",
                            "countryLU",
                            "countryMO",
                            "countryMG",
                            "countryMW",
                            "countryMY",
                            "countryMV",
                            "countryML",
                            "countryMT",
                            "countryMH",
                            "countryMQ",
                            "countryMR",
                            "countryMU",
                            "countryYT",
                            "countryMX",
                            "countryFM",
                            "countryMD",
                            "countryMC",
                            "countryMN",
                            "countryMS",
                            "countryMA",
                            "countryMZ",
                            "countryMM",
                            "countryNA",
                            "countryNR",
                            "countryNP",
                            "countryNL",
                            "countryNC",
                            "countryNZ",
                            "countryNI",
                            "countryNE",
                            "countryNG",
                            "countryNU",
                            "countryNF",
                            "countryKP",
                            "countryMK",
                            "countryMP",
                            "countryNO",
                            "countryOM",
                            "countryPK",
                            "countryPW",
                            "countryPS",
                            "countryPA",
                            "countryPG",
                            "countryPY",
                            "countryPE",
                            "countryPH",
                            "countryPN",
                            "countryPL",
                            "countryPT",
                            "countryPR",
                            "countryQA",
                            "countryRE",
                            "countryRO",
                            "countryRU",
                            "countryRW",
                            "countryWS",
                            "countrySM",
                            "countryST",
                            "countrySA",
                            "countrySN",
                            "countryRS",
                            "countrySC",
                            "countrySL",
                            "countrySG",
                            "countrySK",
                            "countrySI",
                            "countrySB",
                            "countrySO",
                            "countryZA",
                            "countryGS",
                            "countryKR",
                            "countryES",
                            "countryLK",
                            "countrySH",
                            "countryKN",
                            "countryLC",
                            "countryPM",
                            "countryVC",
                            "countrySD",
                            "countrySR",
                            "countrySJ",
                            "countrySE",
                            "countryCH",
                            "countrySY",
                            "countryTW",
                            "countryTJ",
                            "countryTZ",
                            "countryTH",
                            "countryTG",
                            "countryTK",
                            "countryTO",
                            "countryTT",
                            "countryTN",
                            "countryTR",
                            "countryTM",
                            "countryTC",
                            "countryTV",
                            "countryVI",
                            "countryUG",
                            "countryUA",
                            "countryAE",
                            "countryGB",
                            "countryUS",
                            "countryUY",
                            "countryUZ",
                            "countryVU",
                            "countryVA",
                            "countryVE",
                            "countryVN",
                            "countryWF",
                            "countryEH",
                            "countryYE",
                            "countryZM",
                            "countryZW"
                        ],
                        "type": "string",
                        "description": "Restrict results by **country of origin** (Google `cr` parameter), e.g. `countryUS`, `countryFR`."
                    },
                    "proxy_location": {
                        "title": "🛡️ Proxy location",
                        "enum": [
                            "us",
                            "ca"
                        ],
                        "type": "string",
                        "description": "Force the **proxy region**. Useful if you want to keep Google country separate from the proxy location. Options: `us`, `ca`."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
