Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Home Depot Product Reviews

API-Dokumentation
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.

Preis
$0.015USD / Aufruf
Methode
POST
Antwort
Asynchrones JSON
Parameter
1 erforderlich · 7 optional

Playground

Eingabe
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.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Home Depot$0.015 pro AufrufAsynchrones JSON
Home Depot$0.015 pro AufrufAsynchrones JSON
Home Depot$0.015 pro AufrufAsynchrones JSON

Fragen

FAQ

Wie verwende ich die Home Depot Product Reviews API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/home-depot/product-reviews mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Home Depot Product Reviews API?

$0.015 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Home Depot Product Reviews API?

Erforderlich: product_id (string | number | boolean). Optional: term (string | number | boolean), start (string | number | boolean), rating (string | number | boolean), sort_by (any), pagesize (string | number | boolean) und json_restrictor (string | number | boolean) und 1 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Home Depot Product Reviews API zurück?

Ein JSON-Ergebnis. Dieser Endpunkt läuft asynchron, daher zeigt die Antwort, wie Sie das fertige Ergebnis abrufen.

Benötige ich ein Home Depot-Entwicklerkonto oder einen API-Schlüssel?

Nein. Home Depot Product Reviews läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Home Depot API beantragen.