product_idstring | number | booleanobbligatorio
The Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported.
https://api.sandbase.ai/v1/api/home-depot/product-reviewsGet Home Depot product reviews by product ID: overall rating, ratings histogram, recommendation counts, and reviews with filters and sorting.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Get Home Depot product reviews by product ID: overall rating, ratings histogram, recommendation counts, and reviews with filters and sorting.
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.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string/number/boolean | Yes | The Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported. |
json_restrictor | string/number/boolean | No | The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
pagesize | string/number/boolean | No | Determines the number of items per page. By default, 100 (maximum allowed value) results are returned. |
rating | string/number/boolean | No | To include only results with specified ratings. Example for single rating only: 5 Example for multiple ratings (separated by comma ,): 5,3,2 |
sort_by | any | No | Sorting reviews. By default the reviews are sorted by newest. Available options: photoreview - Photo Reviews mosthelpfull - Most Helpful oldest - Oldest newest - Newest highestrating - Hig… |
start | string/number/boolean | No | 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. |
term | string/number/boolean | No | The term you want to search, only reviews with matching term will be returned. |
verified_purchases | string/number/boolean | No | Whether to include reviews from verified purchases. |
Flat price per call. Failed calls are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
product_idstring | number | booleanobbligatorioThe Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported.
termstring | number | booleanThe term you want to search, only reviews with matching term will be returned.
startstring | number | booleanControls 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.
ratingstring | number | booleanTo include only results with specified ratings. Example for single rating only: `5` Example for multiple ratings (separated by comma `,`): `5,3,2`
sort_byanySorting 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
pagesizestring | number | booleanDetermines the number of items per page. By default, `100` (maximum allowed value) results are returned.
json_restrictorstring | number | booleanThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
verified_purchasesstring | number | booleanWhether to include reviews from verified purchases.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Home Depot Product ReviewsQuesta API Home Depot | $0.015 per chiamata | JSON asincrono |
Home Depot | $0.015 per chiamata | JSON asincrono |
Home Depot | $0.015 per chiamata | JSON asincrono |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/home-depot/product-reviews con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.015 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: product_id (string | number | boolean). Facoltativi: term (string | number | boolean), start (string | number | boolean), rating (string | number | boolean), sort_by (any), pagesize (string | number | boolean) e json_restrictor (string | number | boolean) e altri 1. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Un risultato JSON. Questo endpoint viene eseguito in modo asincrono, quindi la risposta indica come recuperare il risultato completato.
No. Home Depot Product Reviews funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Home Depot.