Authentication
All requests use your FetchLayer API key as a Bearer token. No Trustpilot Business account, no OAuth app, and no API key issued by Trustpilot is required.
Sending requests
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],"limit":200}'Keep your key secret
Every route is a POST
All five Trustpilot endpoints take a JSON body over POST. There is no media download and no query-string route, so the key never travels in a URL.
Authentication errors
A missing or invalid key returns HTTP 401.
{
"error": "Invalid API key"
}