# Trustpilot Reviews Scraper - Companies & Ratings (`get_anything/trustpilot-reviews-scraper`) Actor

Scrape Trustpilot company reviews & ratings: TrustScore, star rating, review count, plus every customer review (stars, title, text, reviewer, country, dates, verified, company reply). Beats Cloudflare with a hardened browser. Export JSON, CSV or Excel for reputation monitoring and review sentiment.

- **URL**: https://apify.com/get\_anything/trustpilot-reviews-scraper.md
- **Developed by:** [Get Anything](https://apify.com/get_anything) (community)
- **Categories:** Marketing, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Trustpilot Reviews Scraper — Companies, Ratings & Reviews

Scrape any company page on **Trustpilot** in one run: the **business profile** (TrustScore, star rating, total review count, category, website) plus **every customer review** — star rating, title, text, reviewer name & country, dates, verification status, and the company's reply.

### Why this one

Trustpilot fronts its pages with **Cloudflare** — a plain HTTP request from a datacenter IP gets a `403` challenge and no data. This Actor drives **Camoufox**, a hardened, fingerprint-spoofing browser that passes the challenge and renders the real page. It then reads the page's embedded structured data (the same JSON the site renders from), so output is **clean and reliable**, not brittle DOM scraping.

- **Company** → TrustScore, stars, review count, category, verified/claimed, website.
- **Reviews** → rating, title, text, reviewer, country, published & experienced dates, verified flag, likes, and company reply.

### What it does

- Scrape **multiple companies** in one run, by domain or Trustpilot URL.
- **Filter by star rating** (1–5) and **language**; sort by most recent or most relevant.
- Paginates reviews automatically up to your cap.
- Export to **JSON, CSV, or Excel**, or pull via the Apify API — ready for a spreadsheet, a database, or an LLM.

### Input

| Field | Description |
|-------|-------------|
| `companyDomains` | Companies to scrape, by domain (`www.apple.com`) or Trustpilot URL. |
| `maxReviewsPerCompany` | Cap on reviews per company. |
| `maxPages` | Safety cap on review pages per company. |
| `stars` | Keep only reviews with a given star rating (or any). |
| `language` | Filter reviews by language (`all`, `en`, `de`, …). |
| `sort` | `recency` or `relevance`. |
| `proxyConfiguration` | Proxy used to reach Trustpilot (residential recommended). |

#### Example

```json
{
  "companyDomains": ["www.apple.com", "amazon.com"],
  "maxReviewsPerCompany": 200,
  "stars": 0,
  "language": "all",
  "sort": "recency",
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

### Output

One dataset item per **company** or **review**.

```json
{
  "resultType": "review",
  "domain": "www.apple.com",
  "company": "Apple",
  "rating": 5,
  "title": "Great support",
  "text": "The Genius Bar sorted my issue in minutes...",
  "isVerified": true,
  "publishedDate": "2026-09-01T10:12:00.000Z",
  "reviewer": "Jane D.",
  "reviewerCountry": "GB",
  "replyText": "Thanks for the kind words!"
}
```

### Use cases

- **Reputation monitoring** — track your TrustScore and new reviews over time.
- **Competitor analysis** — pull rivals' reviews and compare ratings.
- **Review sentiment / VoC** — feed reviews to an LLM to surface complaints and praise themes.
- **Support & QA** — spot 1-star reviews and unanswered feedback fast.

### FAQ

**Do I need an API key?** No. Point it at a company domain and run.

**Why a browser?** Trustpilot uses Cloudflare; a hardened browser reliably passes it where plain HTTP is blocked.

**Can I filter by rating or language?** Yes — set `stars` and `language`.

*Use responsibly and in line with Trustpilot's terms and applicable laws.*

### 🤖 Use with Claude or ChatGPT (MCP)

Run this actor from Claude, ChatGPT, Cursor or any MCP client via the [Apify MCP server](https://mcp.apify.com). In **Claude Desktop**: Settings → Connectors → Add custom connector → `https://mcp.apify.com`. Or expose just this tool:

```json
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?tools=get_anything/trustpilot-reviews-scraper" } } }
```

Full guide: [Connect Apify actors to Claude & ChatGPT](https://dev.to/get_anything/connect-any-apify-scraper-to-claude-or-chatgpt-in-2-minutes-mcp-37he).

### ⭐ Found this useful?

If this Actor saved you time, please leave a rating on its [Apify page](https://apify.com/get_anything/trustpilot-reviews-scraper) — reviews genuinely help others discover it and help me keep improving it.

# Actor input Schema

## `companyDomains` (type: `array`):

Companies to scrape, by domain (e.g. 'www.apple.com', 'amazon.com') or full Trustpilot review URL (e.g. 'https://www.trustpilot.com/review/www.apple.com').

## `maxReviewsPerCompany` (type: `integer`):

Cap on reviews fetched per company (Trustpilot paginates 20 per page).

## `maxPages` (type: `integer`):

Safety cap on review pages to visit per company.

## `stars` (type: `integer`):

Optionally keep only reviews with a specific star rating (1-5). Use 0 for any.

## `language` (type: `string`):

Filter reviews by language code, e.g. 'all', 'en', 'de', 'fr'.

## `sort` (type: `string`):

Order in which reviews are fetched.

## `proxyConfiguration` (type: `object`):

Proxy used to reach Trustpilot. Residential proxies pass Cloudflare most reliably.

## Actor input object example

```json
{
  "companyDomains": [
    "www.apple.com"
  ],
  "maxReviewsPerCompany": 200,
  "maxPages": 20,
  "stars": 0,
  "language": "all",
  "sort": "recency",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Structured results in the default dataset - one item per company or review.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companyDomains": [
        "www.apple.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("get_anything/trustpilot-reviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "companyDomains": ["www.apple.com"] }

# Run the Actor and wait for it to finish
run = client.actor("get_anything/trustpilot-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companyDomains": [
    "www.apple.com"
  ]
}' |
apify call get_anything/trustpilot-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,get_anything/trustpilot-reviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/g5MLlogYC3s2UYz6O/builds/I6Y4gomfTE5qp9ne7/openapi.json
