# Goole Patents

**SERP API谷歌查询参数**

通过Thordata的SERP API配置谷歌搜索查询，支持日期范围参数、参与人数、分页及高级参数输出选项的定制功能。

<details>

<summary><strong><code>q</code> ，搜索查询(必填)</strong></summary>

定义用于数据抓取的搜索查询（默认值：`q=pizza`）。支持任何语言的任意关键词。

**示例请求：**

使用`q`: pizza参数的示例

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1"
```

</details>

## 日期范围

<details>

<summary><strong><code>before</code>,</strong>在日期之前<strong>(非必填)</strong></summary>

参数用于限定结果的最晚日期。该字段格式为“类型:YYYYMMDD”，其中类型可以是优先权日（priority）、申请日（filing）或公布日（publication）三种。

示例：

`priority:20241231`

`filing:20250615`

`publication:20250101`

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark> ,`before`:priority:20241231

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "before=priority:20241231"
```

</details>

<details>

<summary><strong><code>after</code> ,</strong>在日期之后<strong>(非必填)</strong></summary>

The number is used to limit the results to the earliest date. The format of this field is "type:`YYYYMMDD`", where type can be priority date (`priority`), application date (`filing`), or publication date (`publication`).

Example:

`priority:20241231`

`filing:20250615`

`publication:20250101`

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`after`: filing:20250615

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "after=filing:20250615"
```

</details>

## 参与者

<details>

<summary><code>inventor</code>,发明家<strong>(非必填)</strong></summary>

参数定义专利的发明家。多个发明家之间用`,`逗号分隔。

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`location`:<mark style="color:blue;">India</mark>,`inventor`:A,B

```json
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "inventor=A,B" \
 -d "assignee=A,B"
```

</details>

<details>

<summary><code>assignee</code> <strong>,</strong>受让人<strong>(非必填)</strong></summary>

参数定义专利的受让人。多个受让人之间用`,`逗号分隔。

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`location`:<mark style="color:blue;">India</mark>,`assignee`:A,B

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "inventor=A,B" \
 -d "assignee=A,B"
```

</details>

## 分页

<details>

<summary><strong><code>page</code> ,</strong>页码<strong>(非必填)</strong></summary>

此参数定义页码。用于分页（例如，`1`（默认）表示结果的第一页，`2`表示结果的第二页，等等）。

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`page`:<mark style="color:blue;">30</mark>

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "page=30"
```

</details>

<details>

<summary><strong><code>num</code> ,</strong>每页结果数<strong>(非必填)</strong></summary>

参数控制每页的结果数。最小值：`10`，最大值：`100`。

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`num`:<mark style="color:blue;">20</mark>

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "num=20"
```

</details>

## 高级参数

<details>

<summary><code>sort</code><strong>,排序依据(非必填)</strong></summary>

参数定义排序方法。默认情况下，结果按相关性排序。\
`new` - Newest\
`old` - Oldest

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`sort`:new

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "sort=new"
```

</details>

<details>

<summary><code>clustered</code> <strong>,</strong>聚类<strong>(非必填)</strong></summary>

参数定义结果的分组方式。

支持的值列表如下：

`true`- 分类

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`clustered`:ture

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "clustered=ture"
```

</details>

<details>

<summary><code>dups</code> <strong>,</strong>删除<strong>(非必填)</strong></summary>

\
参数定义重复数据删除方法。可以是 Family（默认）或 Publication。

支持的值列表如下：

`language`- Publication

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`dups`:language

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "dups=language"
```

</details>

<details>

<summary><code>patents</code> <strong>,</strong>包括专利结果<strong>(非必填)</strong></summary>

此参数控制是否包含 Google Patents 搜索结果。（默认为 `true`）

**示例请求：**

使用参数示例： `q` : <mark style="color:blue;">pizza</mark>,`patents`:ture

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "patents=ture"
```

</details>

<details>

<summary><code>scholar</code><strong>,</strong>包括学者结果<strong>(非必填)</strong></summary>

参数控制是否包含Google Scholar的结果。(默认为false)

**示例请求：**

使用参数示例：`q` : <mark style="color:blue;">pizza</mark>,`scholar`:ture

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer bb33aa0ec81de3fef7a61e9dddec973e" \
 -d "engine=google_patents" \
 -d "q=pizza" \
 -d "json=1" \
 -d "scholar=ture"
```

</details>

如果您需要更多帮助，请通过邮&#x7BB1;**<support@thordata.com>**&#x8054;系我们。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.thordata.com/doc/zh/pa-qu/serp-api/cha-xun-can-shu/gu-ge/goole-patents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
