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

Target Reviews

Documentación de la API
https://api.sandbase.ai/v1/api/target/reviews

Pull a page of 10 customer reviews for any Target.com product by URL, newest first or by helpfulness or rating: rating, title, text, date, reviewer, and verified-buyer badge.

Precio
Desde $0.00085USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 2 opcionales

Entorno de pruebas

Entrada
Target product page URL; the TCIN after /A- identifies the product (e.g. https://www.target.com/p/-/A-91863920).
1-based page of 10 reviews. Each page is billed as one request; keep url and sort the same while walking pages. Mínimo: 1.
Review order: recent (newest first, the default), helpful, rating_high, or rating_low (e.g. helpful).
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Target Reviews API

Pull a page of 10 customer reviews for any Target.com product by URL, newest first or by helpfulness or rating: rating, title, text, date, reviewer, and verified-buyer badge.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "target/reviews", "url": "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
urlstringYesTarget product page URL; the TCIN after /A- identifies the product (e.g. https://www.target.com/p/-/A-91863920).
pageintegerNo1-based page of 10 reviews. Each page is billed as one request; keep url and sort the same while walking pages. Default 1.
sortstringNoReview order: recent (newest first, the default), helpful, rating_high, or rating_low (e.g. helpful). One of: recent, helpful, rating_high, rating_low.

Pricing

Billed at the actual cost of each call, about $0.00085 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TargetDesde $0.00085 por llamadaJSON
TargetDesde $0.00085 por llamadaJSON
Target$0.015 por llamadaJSON asíncrono

Preguntas

FAQ

¿Cómo uso la API de Target Reviews?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/target/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 Target Reviews?

Desde $0.00085 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 Target Reviews?

Requeridos: url (string). Opcionales: page (integer) y sort (una de recent, helpful, rating_high, rating_low). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Target Reviews?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).

¿Necesito una cuenta de desarrollador o una clave API de Target?

No. Target 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 Target por separado.