SerpApi

 

SerpApiはGoogle検索などをAPIで提供するサービスです。APIはスクレイピングによって提供されます。スクレイピングながら、SLAは99.95%保証されています。

対応しているサービス

Google検索が基本ですが、他にも以下のサービスに対応しています。

  • Google 検索
  • Google マップ
  • Google Jobs
  • Google ショッピング
  • Google Images
  • Google ニュース
  • Google ローカル
  • Google トレンド
  • Google オートコンプリート
  • Google この結果について
  • Google Lens
  • Google ファイナンス
  • Google 関連質問
  • Google Scholar
  • Google Playストア
  • Google Product
  • Google Immersive Product
  • Google Reverse Image
  • Google Events
  • Google ローカルサービス
  • Google Videos
  • Google 健康保険
  • Google 特許
  • Google Ads Transparency Center
  • Google Flights
  • Google ホテルズ
  • 百度検索
  • Bing Search
  • DuckDuckGo検索
  • ヤフー検索
  • Yandex検索
  • eBay検索
  • YouTube検索
  • ウォルマート検索
  • ホーム・デポ検索
  • Apple App Store
  • Naver検索
  • Yelp Search

価格

月間100リクエストまで無料です。有料は下記のようになります。

  • 月額75ドル
    5,000リクエストまで
  • 月額150ドル
    15,000リクエストまで
  • 月額275ドル
    30,000リクエストまで

さらに上位オプションも用意されています(要コンタクト)。

SerpApi: Plans and Pricing

ライブラリ

ライブラリは以下の言語に対応しています。

  • JavaScript
  • Ruby
  • PHP
  • Java
  • Rust
  • Python
  • Golang
  • .Net
  • Swift
  • C++

JavaScriptの実装例を以下に示します。

import { getJson } from "serpapi";
const response = await getJson({
  engine: "google",
  api_key: API_KEY, // Get your API_KEY from https://serpapi.com/manage-api-key
  q: "coffee",
  location: "Austin, Texas",
});
console.log(response);

SerpApi: Google Search API