# Trustpilot Scraper: Company Reviews and TrustScore (`capable_coach/trustpilot-scraper`) Actor

Collect Trustpilot reviews for any company page: star rating, headline, full text, date, reviewer country, verification flag, company reply, plus TrustScore and review count on every row. Residential proxy handled for you. $2.00 per 1,000 reviews.

- **URL**: https://apify.com/capable_coach/trustpilot-scraper.md
- **Developed by:** [jules imbert](https://apify.com/capable_coach) (community)
- **Categories:** SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

Paste Trustpilot company page URLs and get the reviews as clean JSON: rating, headline, full text, date, reviewer country, company reply and the company's TrustScore, one row per review.

### What you get

- Stable `reviewId` to de-duplicate and diff runs.
- Star rating, title and full text, author name and country, the author's review count.
- Publication, update and experience dates; verification flag and source (for example invitation).
- The company's reply when there is one.
- Company metrics on every row: name, URL, TrustScore, total reviews and star average.

Real output shape (trimmed):

```json
{
  "reviewId": "6b03169520a3b60b5845b0c1",
  "rating": 2,
  "title": "WASTE OF MY MONEY",
  "text": "I wanted a comforter cover, NOT a duvet. Waste of my money",
  "author": "Sarah",
  "authorCountry": "GB",
  "date": "2026-11-22T18:21:41.000Z",
  "experienceDate": "2026-11-22T00:00:00.000Z",
  "verified": false,
  "source": "invitation",
  "reply": null,
  "company": "Amazon",
  "trustScore": 1.5,
  "totalReviews": 50572
}
```

### Who it's for

- **Reputation and customer-experience teams** tracking rating and reply rate over time.
- **Growth and SEO analysts** feeding review text into sentiment analysis.
- **Agencies and data engineers** who need one schema across many client domains.
- **Competitive-intelligence teams** comparing the TrustScore of rivals across runs.

### How to use

1. Paste the review page URL of each company in `startUrls` (`https://www.trustpilot.com/review/<domain>`); several companies fit in one run.
2. Set `maxReviews` per page (20 by default) and the `countryCode` of the residential proxy, which decides the localized Trustpilot version served.
3. Run it and export JSON, CSV or Excel. To monitor, schedule the run with the same URLs and de-duplicate on `reviewId`.

Example input:

```json
{
  "startUrls": [ { "url": "https://www.trustpilot.com/review/www.amazon.com" } ],
  "maxReviews": 20,
  "countryCode": "US"
}
```

### Pricing

Pay per event, no subscription: **$0.02 per run start** (one event per GB of memory, minimum one) plus **$0.002 per review** written to the dataset.

| Volume (Free plan) | Cost |
|---|---|
| 100 reviews | $0.22 |
| 1,000 reviews | $2.02 |

Examples: 1 company with 20 reviews costs $0.06; 5 companies with 200 reviews each cost $2.02.

Set the run's *Maximum cost per run* in Apify to cap spending in advance.

### FAQ

**Do I need my own proxies?**
No. The actor opens a real browser through Apify's residential proxy and takes a fresh IP on each failed attempt; `countryCode` only chooses the country.

**Do I need a Trustpilot account or API key?**
No. Paste the URLs and run.

**Can I scrape several companies at once?**
Yes, one URL per company in `startUrls`.

**Can I get reviews in a specific language?**
`countryCode` selects the localized version; the review text stays in the reviewer's language.

**How do I monitor new reviews?**
Schedule a daily run on the same `startUrls` and de-duplicate on `reviewId`.

**What if Trustpilot blocks the run?**
The run fails with an explicit message rather than returning an empty dataset, so a block is never mistaken for "no reviews". Protected companies may use several `maxAttempts`.

### Limits

- Each URL yields the reviews on the page you submitted, capped by `maxReviews`; deeper history needs more page URLs.
- Trustpilot may change its markup or tighten its protection, which can require an update of the actor.
- Fields absent from the public page return null, never guesses.
- Reviews are user content: respect Trustpilot's terms of use and keep personal data out of what you republish.
- Not affiliated with or endorsed by Trustpilot.

# Changelog

This Actor's version history is a separate document: https://apify.com/capable_coach/trustpilot-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Pages https://www.trustpilot.com/review/<domaine> à scraper (une par société).

## `maxReviews` (type: `integer`):

Nombre maximum d'avis extraits par page.

## `countryCode` (type: `string`):

Code pays ISO du proxy residentiel (US, FR, GB...).

## `maxAttempts` (type: `integer`):

Chaque tentative ouvre une nouvelle session de proxy résidentiel. 403 = nouvelle IP.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.trustpilot.com/review/www.amazon.com"
    }
  ],
  "maxReviews": 20,
  "countryCode": "US",
  "maxAttempts": 4
}
```

# Actor output Schema

## `reviews` (type: `string`):

One row per Trustpilot review.

## `summary` (type: `string`):

Compteurs de la collecte.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.trustpilot.com/review/www.amazon.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("capable_coach/trustpilot-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 = { "startUrls": [{ "url": "https://www.trustpilot.com/review/www.amazon.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("capable_coach/trustpilot-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 '{
  "startUrls": [
    {
      "url": "https://www.trustpilot.com/review/www.amazon.com"
    }
  ]
}' |
apify call capable_coach/trustpilot-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,capable_coach/trustpilot-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/l9X7hSPw0liel9LVo/builds/5rlfsqgttQlWN7g9T/openapi.json
