Google検索
リアルタイムのGoogle検索結果をスクレイピングし、オーガニック結果、広告、関連検索、ナレッジグラフなどを含むクリーンで構造化されたJSONデータを取得します。
Actor
scraper.google.search共通パラメータ
input オブジェクト内で渡されます。完全なリストについては、APIパラメータ を参照してください。
| パラメータ | 必須 | 説明 |
|---|---|---|
q | true | 検索クエリ。inurl:、site:、intitle: などの高度な演算子をサポートします。 |
gl | false | 検索用の2文字の国コード(例:us、uk、fr)。 |
hl | false | 検索用の2文字の言語コード(例:en、es、fr)。 |
google_domain | false | 使用するGoogleドメイン。デフォルトは google.com です。 |
location | false | 検索の発信地(都市レベルを推奨)。 |
start | false | ページネーション用の結果オフセット(0、10、20、…)。 |
リクエスト例
curl 'https://api.scrapeless.com/api/v1/scraper/request' \
--header 'x-api-token: {your_api_key}' \
--header 'Content-Type: application/json' \
--data '{
"actor": "scraper.google.search",
"input": {
"q": "coffee",
"hl": "en",
"gl": "us",
"google_domain": "google.com"
}
}'