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

Target Reviews

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

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

Oynatma Alanı

Girdi
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. Minimum: 1.
Review order: recent (newest first, the default), helpful, rating_high, or rating_low (e.g. helpful).
ÇıktıHazır

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

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

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
TargetKullanım başına $0.00085'den itibarenJSON
TargetKullanım başına $0.00085'den itibarenJSON
Target$0.015 çağrı başınaAsenkron JSON

Sorular

SSS

Target Reviews 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/target/reviews adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Target Reviews API'sinin fiyatı nedir?

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

Target Reviews API'si hangi parametreleri kabul eder?

Gerekli: url (string). İsteğe bağlı: page (integer) ve sort (recent, helpful, rating_high, rating_low arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Target Reviews API'si ne döndürür?

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

Bir Target geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Target Reviews, 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. Target API erişimi için ayrıca başvuru yapmanız gerekmez.