Google SERP API
POSThttps://api.01ai.cloud/serp/google

Google 搜尋 API,支援客製化搜尋條件。

代理集成入口

請求頭

acceptstring
指定伺服器返回的回應格式。
請選擇
authorizationstring
Bearer token

請求體

typestring
搜索資源類型參數,目前支持六種類型:`search`(網頁搜索)、`images`(圖片)、`news`(新聞)、`maps`(地圖)、`places`(地點)、`videos`(視頻)。默認值為 `search`。
請選擇
querystring必填參數
搜索查询关键词。
countrystring
搜索引擎使用的國家/地區代碼,默認為 `US`(美國)。
languagestring
搜索引擎使用的語言代碼,默認為 `en`(英語)。
image_sizestring
圖片尺寸篩選條件,僅在 `type` 為 `images` 時有效。
請選擇
rangestring
搜索結果的時間範圍篩選,預設不限制時間。
請選擇
numberinteger
返回的搜索結果數量,默認為 10 條。
pageinteger
搜索結果的頁碼,默認為第 1 頁。

響應

Integration workbench

Shell

Python

JavaScript

Java

Go

PHP

溫馨提示:對於流式請求,上面的代碼可能不完全適用。請參閱對接文檔以進行更改。

搜索引擎
允许用通用余额

啟用「允許通用餘額」後,專屬餘額不足將自動使用通用餘額。