API · Target
GET /target/products/{tcin}/reviews
Target reviews of an item, with rating statistics.
| |
|---|
| Request | GET /v1/target/products/{tcin}/reviews |
| Operation id | target.reviews.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Target reviews of an item, with rating statistics.
| Name | Type | Required | Description |
|---|
tcin | string | yes | Target item number (TCIN), or a target.com/p/…/A-<tcin> URL. Example: 87450164. |
| Name | Type | Required | Description |
|---|
page | integer | no | |
sort | "most_recent" | "helpfulness_desc" | "highest_rating" | "lowest_rating" | no | One of most_recent, helpfulness_desc, highest_rating, lowest_rating. |
since | string | no | Only items published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. |
until | string | no | Only items published on or before this date: YYYY-MM-DD (that whole UTC day included) or an ISO 8601 timestamp. |
| Status | Meaning | Schema |
|---|
200 | A page of reviews. | TargetReviews |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The item, category or place does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Target is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
tcin | string | |
page | number | |
statistics | object | null | |
total_results | number | null | |
total_pages | number | null | |
reviews | object[] | |
Errors use one shape everywhere; see Errors for every code and what to do.