Google 検索 APIGoogle 検索 APIGoogle 検索

Google検索

リアルタイムのGoogle検索結果をスクレイピングし、オーガニック結果、広告、関連検索、ナレッジグラフなどを含むクリーンで構造化されたJSONデータを取得します。

Actor

scraper.google.search

共通パラメータ

input オブジェクト内で渡されます。完全なリストについては、APIパラメータ を参照してください。

パラメータ必須説明
qtrue検索クエリ。inurl:site:intitle: などの高度な演算子をサポートします。
glfalse検索用の2文字の国コード(例:usukfr)。
hlfalse検索用の2文字の言語コード(例:enesfr)。
google_domainfalse使用するGoogleドメイン。デフォルトは google.com です。
locationfalse検索の発信地(都市レベルを推奨)。
startfalseページネーション用の結果オフセット(01020、…)。

リクエスト例

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"
    }
}'