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

Home Depot Product Reviews

APIドキュメント
https://api.sandbase.ai/v1/api/home-depot/product-reviews

Get Home Depot product reviews by product ID: overall rating, ratings histogram, recommendation counts, and reviews with filters and sorting.

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

プレイグラウンド

入力
The Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported.
The term you want to search, only reviews with matching term will be returned.
Controls the offset of the reviews. This parameter defaults to `1`. If the `pagesize` is `100`, you have to specify `start` as `101` to get the 2nd page results, and the 3rd page is `201`, and so on.
To include only results with specified ratings. Example for single rating only: `5` Example for multiple ratings (separated by comma `,`): `5,3,2`
Sorting reviews. By default the reviews are sorted by `newest`. Available options: `photoreview` - Photo Reviews `mosthelpfull` - Most Helpful `oldest` - Oldest `newest` - Newest `highestrating` - Highest rating `lowestrating` - Lowest rating
Determines the number of items per page. By default, `100` (maximum allowed value) results are returned.
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Whether to include reviews from verified purchases.
出力準備完了

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

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

API README

Home Depot Product Reviews

Get Home Depot product reviews by product ID: overall rating, ratings histogram, recommendation counts, and reviews with filters and sorting.

Request

curl -X POST "https://api.sandbase.ai/v1/api/home-depot/product-reviews" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "310009453"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
product_idstring/number/booleanYesThe Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported.
json_restrictorstring/number/booleanNoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
pagesizestring/number/booleanNoDetermines the number of items per page. By default, 100 (maximum allowed value) results are returned.
ratingstring/number/booleanNoTo include only results with specified ratings. Example for single rating only: 5 Example for multiple ratings (separated by comma ,): 5,3,2
sort_byanyNoSorting reviews. By default the reviews are sorted by newest. Available options: photoreview - Photo Reviews mosthelpfull - Most Helpful oldest - Oldest newest - Newest highestrating - Hig…
startstring/number/booleanNoControls the offset of the reviews. This parameter defaults to 1. If the pagesize is 100, you have to specify start as 101 to get the 2nd page results, and the 3rd page is 201, and so on.
termstring/number/booleanNoThe term you want to search, only reviews with matching term will be returned.
verified_purchasesstring/number/booleanNoWhether to include reviews from verified purchases.

Pricing

Flat price per call. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Home Depot$0.015 / 回非同期 JSON
Home Depot$0.015 / 回非同期 JSON
Home Depot$0.015 / 回非同期 JSON

質問

FAQ

Home Depot Product Reviews API はどのように使いますか?

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

Home Depot Product Reviews API の料金はいくらですか?

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

Home Depot Product Reviews API はどのパラメータを受け付けますか?

必須: product_id (string | number | boolean)。 任意: term (string | number | boolean), start (string | number | boolean), rating (string | number | boolean), sort_by (any), pagesize (string | number | boolean) と json_restrictor (string | number | boolean) と他 1 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Home Depot Product Reviews API は何を返しますか?

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

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

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