Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Home Depot Product Reviews

Documentación de la 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.

Precio
$0.015USD / llamada
Método
POST
Respuesta
JSON asíncrono
Parámetros
1 obligatorios · 7 opcionales

Entorno de pruebas

Entrada
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.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Home Depot$0.015 por llamadaJSON asíncrono
Home Depot$0.015 por llamadaJSON asíncrono
Home Depot$0.015 por llamadaJSON asíncrono

Preguntas

FAQ

¿Cómo uso la API de Home Depot Product Reviews?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/home-depot/product-reviews con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Home Depot Product Reviews?

$0.015 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Home Depot Product Reviews?

Requeridos: product_id (string | number | boolean). Opcionales: term (string | number | boolean), start (string | number | boolean), rating (string | number | boolean), sort_by (any), pagesize (string | number | boolean) y json_restrictor (string | number | boolean) y 1 más. La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Home Depot Product Reviews?

Un resultado JSON. Este endpoint se ejecuta de forma asíncrona, así que la respuesta indica cómo obtener el resultado final.

¿Necesito una cuenta de desarrollador o una clave API de Home Depot?

No. Home Depot Product Reviews funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Home Depot por separado.