page_tokenstring必須
Parameter defines the token needed to show more product info in Google immersive popup.
https://api.sandbase.ai/v1/api/google-shopping/immersive-productGet the full Google Shopping product view by page token: specifications, ratings, reviews and offers from each store with price and delivery.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Get the full Google Shopping product view by page token: specifications, ratings, reviews and offers from each store with price and delivery.
curl -X POST "https://api.sandbase.ai/v1/api/google-shopping/immersive-product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page_token": "<page_token from search results>"}'
The result is returned in outputs[0].data as structured JSON.
| Name | Type | Required | Description |
|---|---|---|---|
page_token | string | Yes | Parameter defines the token needed to show more product info in Google immersive popup. |
more_stores | string | No | Parameter for fetching more stores results in single search. It can be set to 1 or true. By default, a search returns 3 to 5 stores. When the more_stores parameter is enabled, up to 13 stores will be returned, or the maximum a |
next_page_token | string | No | Parameter defines the next page token. It is used for retrieving the next page of results for stores. The token is returned as stores_next_page_token from the search results. |
json_restrictor | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
$0.010 per successful call. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/google-shopping/immersive-product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
page_tokenstring必須Parameter defines the token needed to show more product info in Google immersive popup.
more_storesstringParameter for fetching more stores results in single search. It can be set to `1` or `true`. By default, a search returns `3 to 5` stores. When the `more_stores` parameter is **enabled**, up to `13` stores will be returned, or the maximum available, depending on the product.
next_page_tokenstringParameter defines the next page token. It is used for retrieving the next page of results for stores. The token is returned as `stores_next_page_token` from the search results.
json_restrictorstringParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Google Shopping | $0.01 / 回 | JSON |
Google Shopping | $0.00015 / 回 | JSON |
Google Shopping | $0.015 / 回 | 非同期 JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/google-shopping/immersive-product に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: page_token (string)。 任意: more_stores (string), next_page_token (string) と json_restrictor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
いいえ。Google Shopping Product Offers は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Google Shopping の API アクセスを別途申請する必要はありません。