Goole Patents

SERP API谷歌查詢參數

透過Thordata的SERP API配置谷歌搜索查詢,支援日期範圍參數、參與人數、分頁及進階參數輸出選項的定制功能。

q搜尋查詢(必填)

定義用於數據抓取的搜索查詢(默認值:q=pizza)。支持任何語言的任意關鍵詞。

範例請求: 使用參數q=pizza 的範例值

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"

日期範圍

before,在日期之前(非必填)

參數用於限定結果的最晚日期。此欄位格式為“類型:YYYYMMDD”,其中類型可以是優先權日(priority)、申請日(filing)或公佈日(publication)三種。

範例:

priority:20241231

filing:20250615

publication:20250101

範例請求: 使用參數的範例值: q : pizza ,before:priority:20241231

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"
after ,在日期之後(非必填)

數用於限定結果的最早日期。此欄位格式為“類型:YYYYMMDD”,其中類型可以是優先權日(priority)、申請日(filing)或公佈日(publication)三種。

範例:

priority:20241231

filing:20250615

publication:20250101

範例請求: 使用參數的範例值: q : pizza,after: filing:20250615

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"

參與者

inventor,發明家(非必填)

參數定義專利的發明家。多個發明家之間以,逗號分隔。

範例請求: 使用參數的範例值: q : pizza,location:India,inventor:A,B

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"
assignee ,受讓人(非必填)

參數定義專利的受讓人。多個受讓人之間以,逗號分隔。

範例請求: 使用參數的範例值: q : pizza,location:India,assignee:A,B

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"

分頁

page ,頁碼(非必填)

此參數定義頁碼。用於分頁。(例如,1(預設)表示結果的第一頁,2表示結果的第二頁,等等)。

範例請求: 使用參數的範例值: q : pizza,page:30

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"
num ,每頁結果數(非必填)

參數控制每頁的結果數。最小值:10,最大值:100。

範例請求: 使用參數的範例值: q : pizza,num:20

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"

高級參數

sort,排序依據(非必填)

參數定義排序方法。預設情況下,結果會依相關性排序。 new - Newest old - Oldest

範例請求: 使用參數的範例值: q : pizza,sort:new

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"
clustered ,聚類(非必填)

參數定義結果的分組方式。

支援的值列表如下:

true- 分類

範例請求: 使用參數的範例值: q : pizza,clustered:ture

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"
dups ,删除(非必填)

參數定義重複資料刪除方法。可以是 Family(預設)或 Publication

支援的值列表如下:

language- Publication

範例請求: 使用參數的範例值: q : pizza,dups:language

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"
patents ,包括專利結果(非必填)

此參數控制是否包含 Google Patents 搜尋結果。(預設為 true

範例請求: 使用參數的範例值: q : pizza,patents:ture

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"
scholar,包括學者結果(非必填)

參數控制包括學者結果。(默认为false)

範例請求: 使用參數的範例值:q : pizza,scholar:ture

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"

如需進一步幫助,請透過 [email protected] 聯繫我們。

Last updated

Was this helpful?