Trustpilot Businesses

Get businesses from a specific Trustpilot category. This endpoint scrapes Trustpilot category pages to extract business information including names, ratings, review counts, and more.

Endpoint

GET /api/trustpilot_businesses

Parameters

category string Required

The category slug to get businesses from (e.g., veterinarian, restaurants_bars, hotels)

page integer Optional

Page number for pagination (1-999, default: 1)

sort string Optional

Sort order: "reviews_count" (most reviews), "latest_review" (most recent), or none for most relevant

claimed boolean Optional

Filter for companies that have claimed their Trustpilot profile (1 = true, 0 = false)

country string Optional

Filter businesses by country using ISO country code (e.g., US, VN, GB)

limit 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