Trustpilot Reviews API — Getting Started — FetchLayer Docs
Documentation menu
FetchLayer FetchLayer API

Getting Started

Turn a brand name into a Trustpilot domain, read its rating summary, then pull the reviews behind the score.

1. Get your API key

Create an account and generate a FetchLayer API key from your dashboard. There is no Trustpilot Business account, no invitation, and no OAuth app involved.

Create free account →

2. Find the company

Every other endpoint takes a company domain. If you have a brand name instead, search for it.

bash
curl -X POST https://api.fetchlayer.dev/trustpilot/search-companies \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"meal kit delivery","limit":10}'

Tip

Already have a Trustpilot URL? Send it to /resolve-url first — it returns the domain or review id plus any star, language and date filters the URL encodes, and it does not consume a credit.

3. Read the rating summary

/company-profile returns the TrustScore, the one-to-five star distribution and the review count per language. Those two breakdowns are how you plan a reviews pull that does not lose data to the 200-review ceiling.

bash
curl -X POST https://api.fetchlayer.dev/trustpilot/company-profile \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"company":"hellofresh.com"}'

4. Pull the reviews

bash
curl -X POST https://api.fetchlayer.dev/trustpilot/company-reviews \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"company":"hellofresh.com","stars":[1,2],"language":"en","limit":200,"pages":10}'

200 reviews per filter combination

Trustpilot caps an anonymous reader at 200 reviews for any one set of filters, whatever the company's total. Raising limit does not help. Run one request per star rating, per language, or per date window instead, and merge the results — a 1-star pull and a 2-star pull return 400 reviews where a combined one returns 200. The response reports the cap in notes.

5. Read one review in full

Every listed review carries a reviewId. /review fetches one by id or link — and it is the only route that reaches a review sitting past the listing's 200-review depth.

bash
curl -X POST https://api.fetchlayer.dev/trustpilot/review \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"review":"https://www.trustpilot.com/reviews/a1b2c3d4e5f60718293a4b5c"}'

Next steps