Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Target Reviews

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

Cena
Od $0.00085USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
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).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TargetOd $0.00085 za wywołanieJSON
TargetOd $0.00085 za wywołanieJSON
Target$0.015 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Target Reviews?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/target/reviews z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Target Reviews?

Od $0.00085 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Target Reviews?

Wymagane: url (string). Opcjonalne: page (integer) i sort (jedna z opcji: recent, helpful, rating_high, rating_low). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Target Reviews?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Target lub klucza API?

Nie. Target Reviews działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Target.