Target
Target Reviews API
Target.com guest reviews for a product: the full rating statistics - average, 1-to-5 star breakdown, recommended and not-recommended counts, per-attribute averages such as quality and value - plus guest photos and the review bodies themselves. Target publishes eight review bodies anonymously and offers no paging, so eight is the ceiling. Costs 1 credit per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsontcinstringrequiredTarget catalog id (TCIN) - the number after A- in a target.com /p/ URL.
Example: 83780372
limitintegerTrim the returned review bodies to at most this many. Minimum 1. This ONLY trims: Target serves eight and there is no page or offset parameter to ask for more.
Example: 3
store_idstringdefault:3991Numeric Target store id used for the underlying product request. 3991 is the store target.com itself uses with no store context.
Example: 3991
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
reviews = client.target.reviews("83780372")
print(reviews["data"]["rating_breakdown"])
print(reviews["data"]["reviews"])Response