# Trustpilot Company Reviews

Get reviews for a company on Trustpilot. Filters are applied after fetch; pagination counts reflect Trustpilot results. Review language defaults to languages=all; pass a 2-letter language code such as languages=de for German reviews.

- **Documentation:** [https://scrappa.co/docs/trustpilot-api/trustpilot_company_reviews](https://scrappa.co/docs/trustpilot-api/trustpilot_company_reviews)
- **API group:** Trustpilot API
- **Endpoint:** `GET https://scrappa.co/api/trustpilot/company-reviews`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `company_domain` | string | Yes | Company domain |
| `page` | integer | No | Page number (1-999) |
| `verified` | boolean | No | Filter verified reviews |
| `with_replies` | boolean | No | Only reviews with replies |
| `sort` | string | No | Sort order. Valid values: "relevance" for Trustpilot relevance ranking or "recency" for newest reviews first. No other sort values are accepted. |
| `query` | string | No | Search within review text/title |
| `rating` | string | No | Comma-separated ratings (e.g. 4,5) |
| `locale` | string | No | Locale (e.g. en-US, de-DE) |
| `languages` | string | No | Review language filter. Defaults to "all". Use "all" to fetch reviews in all languages, or a 2-letter code like en or de. Trustpilot expects language codes here, not locale codes: use de, not de-DE. |
| `fields` | string | No | Comma-separated fields to include (e.g., reviews,businessUnit.displayName). Use dot notation for nested fields. Omit to get all fields. |
| `per_page` | integer | No | Reviews per page (1-100). |
| `date_posted` | string | No | Only return reviews from this window: any, last_12_months, last_6_months, last_3_months or last_30_days. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/trustpilot/company-reviews?company_domain=amazon.com&languages=all"
```

## Example response

```json
{
    "reviews": []
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The company_domain parameter is required and review filters such as page, rating, sort, verified, with_replies, languages, and date_posted must be valid. |
| 402 | Insufficient Credits | Your API key is valid, but the account has no free, subscription, or package credits available. |
| 500 | Trustpilot Service Error | The Trustpilot endpoint could not complete the current scrape attempt. |
| 503 | The upstream service is temporarily unavailable. Please retry shortly. | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
