# Google Search Scraper (by time range)

Scrape Google search results within a specific time range. Extract titles, URLs, snippets, and publish dates for SEO research, monitoring, or analysis — no coding required.

- Template page: [https://www.octoparse.com/template/google-search-scraper-by-time-range](https://www.octoparse.com/template/google-search-scraper-by-time-range)
- Categories: Search Engine, Lead Generation
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from search-results pages.

## Output

The current workflow extracts 8 fields, including `Descriptipn`, `Detail_URL`, `ErrorMessage`, `Keyword`, `Source`, `Source_URL`, `Timerange`, `Title`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Language, Time Range, Search Keywords and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Language

Required. Select Google Search Results Display Language Constraints: minLength=1; maxLength=5000. Callable values are the `const` keys in JSON `oneOf`, not the option titles.

### Time Range

Required. Select the time period to filter results: Past Hour, Past Day, Past Week, Past Month, or Past Year. Constraints: minItems=1; maxItems=1; items.minLength=1; items.maxLength=5000; uniqueItems=true. Callable values are the `const` keys in JSON `oneOf`, not the option titles.

### Search Keywords

Required. Enter one or multiple search keywords or phrases (one per line). Constraints: minItems=1; maxItems=10; items.minLength=1; items.maxLength=5000.

## How to Use

# Google Search Scraper (by Time Range)

## Overview
Extract time-filtered Google search results. Supports filtering by past hour, day, week, month, or year.

## Data Extracted
- Search result position
- Page title
- Page URL
- Meta description / snippet
- Publish date or indexed time (if available)
- Displayed domain

## Who Should Use
- SEO & Growth Teams – Track recent rankings
- Content & News Teams – Monitor newly published articles
- Researchers & Analysts – Study trends within time frames
- Agencies & Consultants – Deliver time-based SERP insights

## Important Notes
- Google limits the number of results per query and time range.
- Time filters rely on Google’s availability of publish or index dates.
- Results vary by keyword, region, and time selection.
- For broader coverage, run multiple time-range queries.
- Only publicly available search result data is collected.

## How to Use

### 1. Start the template
Click **Try it!** or **Start** to load the template.

### 2. Enter your scraping parameters
On the input screen, fill in the following:

| Parameter | Required | Description | Example |
|-----------|----------|-------------|---------|
| Time Range | Yes | Select: Past Hour, Past Day, Past Week, Past Month, Past Year | Past Month |
| Search Keywords | Yes | One or more keywords (one per line) | latest technology trends 2024 |

### 3. Run the scraper
- Click **Start** and select a run mode (greyed-out modes are not supported).
- Octoparse automatically browses Google, loads results, scrolls pages, and extracts data.

### 4. Handle interruptions
- If a CAPTCHA appears, pause the task, solve it manually, then resume.

### 5. Export your data
- After scraping completes, go to Data Preview or output section.
- Export as CSV, Excel, or JSON for analysis.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Google Search Scraper](https://www.octoparse.com/template/google-search-scraper)
- [Google Search Scraper (Free)](https://www.octoparse.com/template/google-advanced-search)
- [Google Maps Listings Scraper (by Keywords)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-keyword)
- [Google Local Service Scraper (by URL)](https://www.octoparse.com/template/google-business-local-services-scraper)
- [Google Maps Listings Scraper (by URLs)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-url)

## Input Schema

```json
{
  "title": "Google Search Scraper (by time range) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "language": {
      "title": "Language",
      "description": "Select Google Search Results Display Language",
      "type": "string",
      "minLength": 1,
      "maxLength": 5000,
      "oneOf": [
        {
          "title": "English",
          "const": "English"
        },
        {
          "title": "日本語",
          "const": "日本語"
        },
        {
          "title": "Español",
          "const": "Español"
        },
        {
          "title": "Français",
          "const": "Français"
        },
        {
          "title": "Deutsch",
          "const": "Deutsch"
        },
        {
          "title": "Italiano",
          "const": "Italiano"
        },
        {
          "title": "한국어",
          "const": "한국어"
        },
        {
          "title": "简体中文",
          "const": "简体中文"
        },
        {
          "title": "繁體中文",
          "const": "繁體中文"
        },
        {
          "title": "Persian",
          "const": "Persian"
        },
        {
          "title": "Hebrew",
          "const": "Hebrew"
        },
        {
          "title": "Hindi",
          "const": "Hindi"
        }
      ],
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "time_Range": {
      "title": "Time Range",
      "description": "Select the time period to filter results: Past Hour, Past Day, Past Week, Past Month, or Past Year.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000,
        "oneOf": [
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Hour",
            "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Day",
            "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Week",
            "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Month",
            "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          },
          {
            "title": "Past Year",
            "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
          }
        ]
      },
      "minItems": 1,
      "maxItems": 1,
      "uniqueItems": true,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "search_Keywords": {
      "title": "Search Keywords",
      "description": "Enter one or multiple search keywords or phrases (one per line).",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 10,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "language",
    "time_Range",
    "search_Keywords"
  ],
  "allOf": [
    {
      "if": {
        "properties": {
          "language": {
            "const": "English"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=en&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_en&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "日本語"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=ja&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ja&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Español"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=es&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_es&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Français"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=fr&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fr&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Deutsch"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=de&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_de&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Italiano"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=it&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_it&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "한국어"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=ko&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_ko&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "简体中文"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=zh-CN&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-CN&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "繁體中文"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=zh-TW&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_zh-TW&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Persian"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=fa&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_fa&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Hebrew"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=iw&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_iw&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "language": {
            "const": "Hindi"
          }
        },
        "required": [
          "language"
        ]
      },
      "then": {
        "properties": {
          "time_Range": {
            "items": {
              "type": "string",
              "oneOf": [
                {
                  "title": "Past Hour",
                  "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=h&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Day",
                  "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=d&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Week",
                  "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=w&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Month",
                  "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=m&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                },
                {
                  "title": "Past Year",
                  "const": "https://www.google.com/webhp?hl=hi&as_q=&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_hi&cr=&as_qdr=y&as_sitesearch=&as_occt=any&as_filetype=&tbs="
                }
              ]
            }
          }
        }
      }
    }
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Descriptipn": {
      "type": "string",
      "description": ""
    },
    "Detail_URL": {
      "type": "string",
      "description": ""
    },
    "ErrorMessage": {
      "type": "string",
      "description": ""
    },
    "Keyword": {
      "type": "string",
      "description": ""
    },
    "Source": {
      "type": "string",
      "description": ""
    },
    "Source_URL": {
      "type": "string",
      "description": ""
    },
    "Timerange": {
      "type": "string",
      "description": ""
    },
    "Title": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Google Search Scraper (by time range) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

No verified real input/output examples are currently available.

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `google-search-scraper-by-time-range`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/google-search-scraper-by-time-range.json)
- [Manifest](https://www.octoparse.com/templates/google-search-scraper-by-time-range-manifest.json)
