Trustpilot API reference
Get the Trustpilot star rating and review count for any product a business sells, by its SKU, with the product's GTIN and brand. One call per product, clean JSON back.
The Trustpilot API has 2 endpoints, called the same way: POST /execute with the endpoint ID as capability and its fields as input, or pin Trustpilot in the MCP server and call each one as a tool. The data comes back as JSON in results[0].data, with what the call cost in billing.credits_charged.
The inputs you send most are business_unit_id and sku. Every endpoint costs 1 credit per call, and a failed call costs nothing.
Endpoints
Open an endpoint for its input, the fields it returns and the request in cURL, Python and Node.js.
| Endpoint | What it returns | Price |
|---|---|---|
trustpilot.product.rating.get |
Get a product's Trustpilot star rating, review count and GTIN from the business's Trustpilot ID and the product's SKU, with the product details Trustpilot publishes for it. | 1 credit |
trustpilot.product.summary.get |
Read source-qualified per-star SKU or SKU-group counts and aggregate attributes from an entitled public product widget, keeping imported reviews separate. | 1 credit |
What to know
- Product ratings, by SKU Each call returns the rating of one product a business sells, identified by the business's Trustpilot ID and the product's SKU.
- Unrated products are not errors A product with no reviews yet comes back marked as unrated, and no stars or count are made up.
- GTIN for matching When Trustpilot knows the product's GTIN it comes back too, so you can join ratings to your own catalogue.
- Stars and counts as Trustpilot shows them The rating and the review count are Trustpilot's own at the moment of the call.
Something missing or unclear? Ask the team that builds the Trustpilot endpoints.