Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Trader Joe's Product

Docs 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.

Prix
$0.01USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 2 facultatifs

Bac à sable

Entrée
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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Trader Joe's$0.01 par appelJSON
Trader Joe's$0.01 par appelJSON

Questions

FAQ

Comment utiliser l’API Trader Joe's Product ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/trader-joes/product avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Trader Joe's Product ?

$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Trader Joe's Product accepte-t-elle ?

Obligatoire : product_id (string). Facultatif : store_id (string) et json_restrictor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Trader Joe's Product ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API Trader Joe's ?

Non. Trader Joe's Product fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Trader Joe's séparément.