Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Trader Joe's Product

API dokümanları
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.

Fiyat
$0.01USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
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.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Trader Joe's$0.01 çağrı başınaJSON
Trader Joe's$0.01 çağrı başınaJSON

Sorular

SSS

Trader Joe's Product API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/trader-joes/product adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Trader Joe's Product API'sinin fiyatı nedir?

çağrı başına $0.01, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Trader Joe's Product API'si hangi parametreleri kabul eder?

Gerekli: product_id (string). İsteğe bağlı: store_id (string) ve json_restrictor (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Trader Joe's Product API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).

Bir Trader Joe's geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Trader Joe's Product, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Trader Joe's API erişimi için ayrıca başvuru yapmanız gerekmez.