Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Google Shopping Search

APIドキュメント
https://api.sandbase.ai/v1/api/google-shopping/search

Search Google Shopping by keyword: product title, price, old price, store, rating, reviews, delivery and product ID, with price, sort and location filters.

料金
$0.015USD / 回
メソッド
POST
レスポンス
非同期 JSON
パラメータ
必須 1 件 · 任意 15 件

プレイグラウンド

入力
The query you want to search. You can use anything that you would use in a regular Google Shopping search. This parameter is optional if using `shoprs` parameter.
The country to use for the Google search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France) Head to the Google Shopping countries for a full list of supported Google Shopping countries.
The language to use for the Google Shopping search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
The level of filtering for adult content. It can be set to `active` or `off`, by default Google will omit explicit content.
The Google encoded location you want to use for the search. `uule` and `location` parameters can't be used together. For consistent results with coordinates-based `uule` parameter, a matching `gl` parameter is required. Head to UULE Generator if you need to convert a location or GPS coordinates to `uule` parameter, and vice versa.
Intended to define the result offset for pagination. Google Shopping's current layout does not support offset pagination: the `start` parameter is ignored and every request returns the first page of results (around 40 items). The `num` parameter is still accepted and forwarded to Google, but the current layout returns a fixed page size, so it does not change the number of results returned.
The device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
The parameter defines the token that includes metadata about query and search filter(s). Providing `q` parameter alongside the `shoprs` is **not** required. To apply multiple filters join them with `||` separator, e.g. `shoprs_1||shoprs_2||shoprs_3`.
Show only products that are on sale. This parameter overrides corresponding filter embedded into `shoprs` parameter.
The sorting order of the results. Available options: `1` - Price: low to high `2` - Price: high to low This parameter overrides corresponding filter embedded into `shoprs` parameter.
Upper bound of price range query. This parameter overrides corresponding filter embedded into `shoprs` parameter.
Lower bound of price range query. This parameter overrides corresponding filter embedded into `shoprs` parameter.
Show only products with free shipping. This parameter overrides corresponding filter embedded into `shoprs` parameter.
The Google domain to use. It defaults to `google.com`. Head to the Google domains for a full list of supported Google domains.
Show only products from small business. This parameter overrides corresponding filter embedded into `shoprs` parameter.
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Google Shopping Search

Returns Google Shopping results for a keyword search. Each product has a title, price, old price, store, rating, review count, delivery note and product ID. The only required input is the search text in q.

Use cases

  • Track the price and old price of competing products for a keyword such as wireless earbuds.
  • Build a list of the cheapest or best rated products in a category using sort_by, min_price and max_price.
  • Compare which stores list the same type of product and which ones offer free delivery.
  • Collect product IDs and page tokens to fetch full product details in a second call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google-shopping/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "wireless earbuds"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
q['string', 'number', 'boolean']YesThe query you want to search. You can use anything that you would use in a regular Google Shopping search. This parameter is optional if using shoprs parameter.
device['string', 'number', 'boolean']NoThe device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or mobile to use a mobile browser.
free_shipping['string', 'number', 'boolean']NoShow only products with free shipping. This parameter overrides corresponding filter embedded into shoprs parameter.
gl['string', 'number', 'boolean']NoThe country to use for the Google search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France) Head to the Google Shopping countries for a full list of supported
google_domain['string', 'number', 'boolean']NoThe Google domain to use. It defaults to google.com. Head to the Google domains for a full list of supported Google domains.
hl['string', 'number', 'boolean']NoThe language to use for the Google Shopping search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French), optionally followed by a two-letter or three-digit region code
json_restrictor['string', 'number', 'boolean']NoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
max_price['string', 'number', 'boolean']NoUpper bound of price range query. This parameter overrides corresponding filter embedded into shoprs parameter.
min_price['string', 'number', 'boolean']NoLower bound of price range query. This parameter overrides corresponding filter embedded into shoprs parameter.
on_sale['string', 'number', 'boolean']NoShow only products that are on sale. This parameter overrides corresponding filter embedded into shoprs parameter.
safe['string', 'number', 'boolean']NoThe level of filtering for adult content. It can be set to active or off, by default Google will omit explicit content.
shoprs['string', 'number', 'boolean']NoThe parameter defines the token that includes metadata about query and search filter(s). Providing q parameter alongside the shoprs is not required. To apply multiple filters join them with // separator, e.g. `
small_business['string', 'number', 'boolean']NoShow only products from small business. This parameter overrides corresponding filter embedded into shoprs parameter.
sort_bystringNoThe sorting order of the results. Available options: 1 - Price: low to high 2 - Price: high to low This parameter overrides corresponding filter embedded into shoprs parameter.
start['string', 'number', 'boolean']NoIntended to define the result offset for pagination. Google Shopping's current layout does not support offset pagination: the start parameter is ignored and every request returns the first page of results (around 40 it
uule['string', 'number', 'boolean']NoThe Google encoded location you want to use for the search. uule and location parameters can't be used together. For consistent results with coordinates-based uule parameter, a matching gl parameter is required.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "categorized_shopping_results": [
    {
      "shopping_results": [
        {
          "extensions": [
            "Nearby, 9 mi"
          ],
          "extracted_old_price": 17,
          "extracted_price": 14.99,
          "immersive_product_page_token": "KsyGIXic…",
          "multiple_sources": true,
          "old_price": "Usually $17",
          "position": 1,
          "price": "$14.99"
        }
      ],
      "title": "Best Overall Wireless Earbuds"
    }
  ],
  "filters": [
    {
      "input_type": "link_with_icon",
      "options": [
        {
          "serpapi_link": {
            "endpoint": "/google/shopping",
            "queryParams": {
              "device": "desktop",
              "gl": "us",
              "google_domain": "google.com",
              "hl": "en",
              "q": "wireless earbuds sale",
              "shoprs": "CAESBEoCGAEYBioQd2lyZWxlc3MgZWFyYnVkczITCAYSB09uIHNhbGUYAiIESgIYAViD6CBgAg"
            }
          },
          "shoprs": "CAESBEoCGAEYBioQd2lyZWxlc3MgZWFyYnVkczITCAYSB09uIHNhbGUYAiIESgIYAViD6CBgAg",
          "text": "On sale"
        }
      ]
    }
  ],
  "search_information": {
    "query_displayed": "wireless earbuds",
    "shopping_results_state": "Results for exact spelling"
  },
  "search_metadata": {
    "cached": false,
    "created_at": "2026-11-03 07:34:32 UTC",
    "google_shopping_url": "https://www.google.com/search?udm=28&q=wireless+earbuds&oq=wireless+earbuds&sour…",
    "id": "6ae98e88bccefcad725e0301",
    "processed_at": "2026-11-03 07:34:32 UTC",
    "status": "Success",
    "total_time_taken": 6.51
  },
  "search_parameters": {
    "device": "desktop",
    "engine": "google_shopping",
    "gl": "us",
    "google_domain": "google.com",
    "hl": "en",
    "q": "wireless earbuds"
  },
  "shopping_results": [
    {
      "extensions": [
        "Nearby, 9 mi"
      ],
      "extracted_old_price": 17,
      "extracted_price": 14.99,
      "immersive_product_page_token": "fNZ0EXic…",
      "multiple_sources": true,
      "old_price": "Usually $17",
      "position": 1,
      "price": "$14.99",
      "product_id": "7310953537322941042",
      "product_link": "https://www.google.com/search?ibp=oshop&q=wireless earbuds&prds=catalogid:731095…",
      "rating": 4.3,
      "reviews": 33000
    }
  ]
}

Response fields

FieldMeaning
shopping_results[].titleProduct name as shown in the listing.
shopping_results[].price / shopping_results[].extracted_priceCurrent price as display text (for example $14.99) and as a number (14.99).
shopping_results[].old_price / shopping_results[].extracted_old_pricePrevious or usual price, as text and as a number. Present only when the listing shows a discount.
shopping_results[].sourceName of the store that lists the product, for example Target.
shopping_results[].rating / shopping_results[].reviewsAverage star rating and number of reviews for the product.
shopping_results[].deliveryDelivery note such as Free delivery. Not every item has it.
shopping_results[].product_idGoogle Shopping catalog ID of the product.
shopping_results[].serpapi_product_api.queryParams.page_tokenToken that identifies the product. Use it to request more details about the item.
categorized_shopping_results[].titleName of a result group, for example Best Overall Wireless Earbuds.
filters[].options[].shoprsToken for a ready-made filter such as On sale or Under $35. Pass it in the shoprs parameter to apply that filter.

Notes

  • q is the only required parameter. Use min_price, max_price, on_sale, free_shipping and sort_by (1 low to high, 2 high to low) to narrow the results.
  • Pagination does not work. The start parameter is ignored and each request returns the first page of results.
  • Take page_token from a result and call Google Shopping Product Details to get more information about one product.
  • Some items have no rating, reviews or product_id, mostly those in categorized_shopping_results, so check for missing keys.

Pricing

$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Google Shopping$0.015 / 回非同期 JSON
Google Shopping$0.01 / 回JSON
Google Shopping$0.00015 / 回JSON

ガイド:Best Google Shopping API in 2026: Pricing Compared

質問

FAQ

Google Shopping Search API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/google-shopping/search に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Google Shopping Search API の料金はいくらですか?

1回あたり $0.015、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Google Shopping Search API はどのパラメータを受け付けますか?

必須: q (string | number | boolean)。 任意: gl (string | number | boolean), hl (string | number | boolean), safe (string | number | boolean), uule (string | number | boolean), start (string | number | boolean) と device (string | number | boolean) と他 9 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Google Shopping Search API は何を返しますか?

JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。

Google Shopping の開発者アカウントまたは API key は必要ですか?

いいえ。Google Shopping Search は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Google Shopping の API アクセスを別途申請する必要はありません。