GroundsocialDocs

API · Trustpilot

GET /trustpilot/reviews

A business on Trustpilot by its website domain: TrustScore, star counts and up to 100 newest reviews.

RequestGET /v1/trustpilot/reviews
Operation idtrustpilot.reviews.get
Cost2 credits, refunded if the call fails
AuthAPI 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

NameTypeRequiredDescription
domainstringnoThe business’s website domain or URL. Example: asos.com.
urlstringnoA Trustpilot profile link, instead of domain. Example: https://www.trustpilot.com/review/www.asos.com.
starsstringnoOnly these star ratings, comma-separated. Example: 1,2.
languagestringnoOnly reviews in this language (ISO 639-1), or all (default).
sort"recency"noNewest first, the only order Trustpilot’s widgets give. One of recency.
sincestringnoOnly reviews on or after this date (YYYY-MM-DD or ISO 8601).
untilstringnoOnly reviews on or before this date (that whole UTC day for YYYY-MM-DD).

Responses

StatusMeaningSchema
200The business and its newest reviews.TrustpilotReviewsResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Trustpilot has no business for that domain.Error
429Too many requests. Wait for Retry-After seconds.Error
503Trustpilot is temporarily unavailable. Retryable; nothing was charged.Error

TrustpilotReviewsResponse fields

FieldTypeDescription
businessUnitTrustpilotBusinessUnit
reviewsAvailablebooleanTrue 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.
reviewsTrustpilotReview[]Newest first, up to 100, after the stars/language filters.
filtersobject

Errors use one shape everywhere; see Errors for every code and what to do.