Trustpilot Company Reviews
Endpoint
/api/trustpilot_company_reviews
Parameters
string
Required
The domain of the company for which to get reviews (e.g., gossby.com, bestbuy.com)
integer
Optional
The page to return (each page includes up to 20 results, default: 1)
boolean
Optional
Only return verified reviews (true/false)
boolean
Optional
Only return reviews with owner replies (true/false)
string
Optional
How to sort reviews: most_relevant or recency (default: most_relevant)
string
Optional
Filter by date range: any, last_12_months, last_6_months, last_3_months, last_30_days (default: any)
string
Optional
Search within review text for specific keywords
string
Optional
Filter by specific ratings (1-5). Use comma-separated list for multiple ratings (e.g., "4,5")
string
Optional
Locale code for localized results (default: en-US)
Request Examples
<?php
$url = "http://scrappa.test/api/trustpilot/company-reviews";
$data = [
"company_domain" => "gossby.com",
"page" => 1,
"sort" => "recency",
"rating" => "4,5",
"verified" => true,
"date_posted" => "last_6_months"
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url . "?" . http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Accept: application/json",
"X-API-KEY: your-api-key-here"
]);
$response = curl_exec($ch);
curl_close($ch);
$reviews = json_decode($response, true);
print_r($reviews);
const url = "http://scrappa.test/api/trustpilot/company-reviews";
const params = new URLSearchParams({
company_domain: "gossby.com",
page: 1,
sort: "recency",
rating: "4,5",
verified: true,
date_posted: "last_6_months"
});
fetch(`${url}?${params}`, {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-KEY": "your-api-key-here"
}
})
.then(response => response.json())
.then(data => {
console.log(data);
})
.catch(error => {
console.error("Error:", error);
});
import requests
import json
url = "http://scrappa.test/api/trustpilot/company-reviews"
params = {
"company_domain": "gossby.com",
"page": 1,
"sort": "recency",
"rating": "4,5",
"verified": True,
"date_posted": "last_6_months"
}
headers = {
"Accept": "application/json",
"X-API-KEY": "your-api-key-here"
}
response = requests.get(url, params=params, headers=headers)
data = response.json()
print(json.dumps(data, indent=2))
curl -X GET "http://scrappa.test/api/trustpilot/company-reviews?company_domain=gossby.com&page=1&sort=recency&rating=4,5&verified=true&date_posted=last_6_months" \
-H "Accept: application/json" \
-H "X-API-KEY: your-api-key-here"
Response Schema
{
"pageProps": {
"reviews": [
{
"id": "review-id-123",
"text": "Great service, highly recommend!",
"title": "Excellent Experience",
"rating": 5,
"consumer": {
"countryCode": "US",
"displayName": "John D."
},
"createdAt": "2025-01-15T10:30:00Z",
"companyReply": null
}
],
"businessUnit": {
"trustScore": 4.5,
"displayName": "Example Company",
"numberOfReviews": 1234
}
}
}
Try It Live
Test this endpoint in our interactive playground with real data.
Open in Playground