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

Trader Joe's Product

Documentación de la API
https://api.sandbase.ai/v1/api/trader-joes/product

Get a Trader Joe's product by product ID with name, price, size, description, ingredients, nutrition and dietary tags.

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

Entorno de pruebas

Entrada
Parameter defines the Trader Joe's product to get results for. It's the number at the end of the product page URL (e.g., `080794` in `https://www.traderjoes.com/home/products/pdp/cold-brew-coffee-black-080794`).
Parameter defines the Trader Joe's store to check the product availability in. It's the number at the end of the store page URL on the Trader Joe's store locator (e.g., `454` in `https://locations.traderjoes.com/tx/austin/454/`). When the product isn't sold in the store, `available` is `false` and the price is not returned, as on the Trader Joe's website.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Trader Joe's Product

Get a Trader Joe's product by product ID with name, price, size, description, ingredients, nutrition and dietary tags.

Request

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

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
product_idstringYesParameter defines the Trader Joe's product to get results for. It's the number at the end of the product page URL (e.g., 080794 in https://www.traderjoes.com/home/products/pdp/cold-brew-coffee-black-080794).
store_idstringNoParameter defines the Trader Joe's store to check the product availability in. It's the number at the end of the store page URL on the Trader Joe's store locator (e.g., 454 in https://locations.traderjoes.com/tx/austin/454/). When the p
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Trader Joe's$0.01 por llamadaJSON
Trader Joe's$0.01 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Trader Joe's Product?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/trader-joes/product 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 Trader Joe's Product?

$0.01 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 Trader Joe's Product?

Requeridos: product_id (string). Opcionales: store_id (string) y json_restrictor (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Trader Joe's Product?

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

¿Necesito una cuenta de desarrollador o una clave API de Trader Joe's?

No. Trader Joe's Product 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 Trader Joe's por separado.