Trustpilot Businesses
Endpoint
/api/trustpilot_businesses
Parameters
string
Required
The category slug to get businesses from (e.g., veterinarian, restaurants_bars, hotels)
integer
Optional
Page number for pagination (1-999, default: 1)
string
Optional
Sort order: "reviews_count" (most reviews), "latest_review" (most recent), or none for most relevant
boolean
Optional
Filter for companies that have claimed their Trustpilot profile (1 = true, 0 = false)
string
Optional
Filter businesses by country using ISO country code (e.g., US, VN, GB)
integer
Optional
Maximum number of businesses to return (1-50, default: 20)
Response Schema
{
"pageProps": {
"businessUnits": {
"businesses": [
{
"stars": 5,
"contact": {
"website": "https://example.com"
},
"location": {
"city": "New York",
"country": "US"
},
"categories": [
{
"categoryId": "restaurants_bars",
"displayName": "Restaurants & Bars"
}
],
"trustScore": 4.5,
"websiteUrl": "https://example.com",
"displayName": "Example Company",
"businessUnitId": "example-id-123",
"identifyingName": "example-company",
"numberOfReviews": 1234
}
]
}
}
}
Try It Live
Test this endpoint in our interactive playground with real data.
Open in Playground