アカウントを作成すると 500 の無料クレジットが付き、カードは不要です。ダッシュボードの API キーでキーを作成します。キーは X-API-Key ヘッダーでのみ送り、URL やブラウザのコードには入れないでください。
API keys →クイックスタート
約 2 分で、API から最初の Google 検索を実行します。必要なのは API キーとターミナルだけで、インストールは不要です。
API キーを取得する
検索を送信する
検索エンドポイントは POST で JSON 本文を受け取ります。次の例は米国のユーザーとして Google で “coffee shops” を検索します。
BASH
curl -X POST 'https://api.serpbase.dev/google/search' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"device":"mobile","gl":"us","hl":"en","q":"coffee shops"}'クリックで試したい場合は、同じリクエストを Playground で実行できます。キーは自動で入ります。 Playground →
ベース URL: https://api.serpbase.dev
結果を読む
結果ページが JSON で返り、Google が表示したブロックごとに 1 つのフィールドになります。実際の応答(抜粋):
レスポンス · 実データ・抜粋
{
"status": 0,
"credits_charged": 1,
"request_id": "r-4b27fe8a36d9ac303a5da7dd",
"product_id": "google_web_search",
"query": "coffee shops",
"local_results": [
{
"address": "Denver, CO",
"category": "Coffee shop",
"hours": "Open",
"position": 1,
"rank": 1,
"rating": "4.9",
"reviews_count": "455",
"title": "Coffeegraph"
},
{
"address": "Sioux Falls, SD",
"category": "Coffee shop",
"hours": "Open",
"position": 1,
"rank": 2,
"rating": "4.9",
"reviews_count": "295",
"title": "The Breaks Coffee Roasting Co."
}
],
"organic": [
{
"date": "Sep 17, 2026",
"display_link": "www.discovertheburgh.com",
"display_url": "www.discovertheburgh.com",
"link": "https://www.discovertheburgh.com/pittsburgh-coffee-shops/",
"position": 3,
"published_at": "Sep 17, 2026",
"rank": 1,
"snippet": "🏨 Book Avenue in Garfield. Redhawk Coffee. Ghost Coffee Collab at Trace Brewing. Kaibur Coffee Kaibu…",
"source_url": "https://www.google.com/goto?url=CAESdAHrOzAVQPT8-1-RxOq_G62WuAgUAmaFDk4SD6YsadPoLMH5lbvuR0WPu8BR2EKN…",
"title": "48 Pittsburgh Coffee Shops to Grab a Delicious Brew",
"url": "https://www.discovertheburgh.com/pittsburgh-coffee-shops/"
}
],
"page": 1,
"people_also_ask": [
{
"position": 2,
"question": "What are the top 10 coffee chains?"
},
{
"position": 2,
"question": "What are the main coffee shop chains?"
}
],
"people_also_search_for": [
"Best coffee shops",
"Coffee shops Orlando"
],
"related_searches": [
"Best coffee shops in Pittsburgh to study",
"Coffee Shops near Monroeville PA"
],
"search_type": "search"
}- status: 0
- 成功です。それ以外の値にはエラーメッセージが付き、失敗した検索は無料です。
- credits_charged
- このリクエストの費用。Google 検索は 1 クレジット です。
- request_id
- サポートへの連絡時に伝えてください。数秒でリクエストを特定できます。
次に読む
エンドポイント
検索エンジン
SearchPOST画像検索POSTニュース検索POST動画検索POSTGoogle Search AutocompletePOSTGoogle Shopping SearchPOSTGoogle Jobs SearchPOSTGoogle Scholar SearchPOSTGoogle Books SearchPOSTGoogle Finance SearchPOSTGoogle Patent DetailsPOSTGoogle Play SearchPOSTGoogle Play App DetailsPOSTGoogle TrendsPOSTGoogle Trends AutocompletePOSTGoogle Trends Trending NowPOSTGoogle リンク解決POSTGoogle AI ModePOSTBing Web SearchPOSTDuckDuckGo SearchPOST
ソーシャルメディア
電子商取引
Ajio Product DetailsPOSTAmazon Product DetailsPOSTAmazon Product ReviewsPOSTAmazon Product SearchPOSTAmazon Search AutocompletePOSTApple Product DetailsPOSTeBay Product DetailsPOSTeBay Product SearchPOSTFlipkart Product DetailsPOSTMyntra Product DetailsPOSTMyntra SearchPOSTWalmart Product DetailsPOSTWalmart Product SearchPOSTWalmart Search AutocompletePOST