API · Trustpilot
GET /trustpilot/reviews
A business on Trustpilot by its website domain: TrustScore, star counts and up to 100 newest reviews.
| Request | GET /v1/trustpilot/reviews |
| Operation id | trustpilot.reviews.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A business on Trustpilot by its website domain: TrustScore, star counts and up to 100 newest reviews.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | no | The business’s website domain or URL. Example: asos.com. |
url | string | no | A Trustpilot profile link, instead of domain. Example: https://www.trustpilot.com/review/www.asos.com. |
stars | string | no | Only these star ratings, comma-separated. Example: 1,2. |
language | string | no | Only reviews in this language (ISO 639-1), or all (default). |
sort | "recency" | no | Newest first, the only order Trustpilot’s widgets give. One of recency. |
since | string | no | Only reviews on or after this date (YYYY-MM-DD or ISO 8601). |
until | string | no | Only reviews on or before this date (that whole UTC day for YYYY-MM-DD). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The business and its newest reviews. | TrustpilotReviewsResponse |
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 | Trustpilot has no business for that domain. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Trustpilot is temporarily unavailable. Retryable; nothing was charged. | Error |
TrustpilotReviewsResponse fields
| Field | Type | Description |
|---|---|---|
businessUnit | TrustpilotBusinessUnit | |
reviewsAvailable | boolean | True when Trustpilot publishes this business’s review texts to its widgets (most businesses that embed Trustpilot reviews on their site). False: only the score and counts are public outside the challenged trustpilot.com pages, and reviews is empty. |
reviews | TrustpilotReview[] | Newest first, up to 100, after the stars/language filters. |
filters | object |
Errors use one shape everywhere; see Errors for every code and what to do.