# Trustpilot Reviews Scraper – Extract Business Reviews at Scale (`ninhothedev/trustpilot-scraper`) Actor

$1.5/1K 🔥 Fast Trustpilot review scraper! Pull ratings, review text, author, date, reply & star score from any company. JSON, CSV, Excel or API in seconds. Paste a company URL & extract thousands of reviews for sentiment & CX analysis ⚡

- **URL**: https://apify.com/ninhothedev/trustpilot-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:** Automation, Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 0.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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Trustpilot Scraper

### ⚠️ Current status (verified 2026-07-30)

**Trustpilot is currently behind an AWS WAF JavaScript challenge on CloudFront.** Every plain
HTTP request — including `curl_cffi` with Chrome TLS impersonation, tested from a clean
**residential** IP — returns **HTTP 403** with a ~1 KB "Verifying Connection" interstitial that
loads `challenge.js` from `*.edge.sdk.awswaf.com`. That challenge only resolves in a real
JavaScript-capable browser, so this actor's HTTP transport cannot currently fetch review pages.

- A **residential proxy is recommended** (`proxyConfiguration` → Apify Proxy, RESIDENTIAL group);
  datacenter IPs are blocked outright. **But a proxy alone may not be enough** — the block is a JS
  challenge, not purely IP reputation.
- The actor now **fails loudly** with the real HTTP status and the WAF cause in the error message,
  instead of finishing "successfully" with an empty dataset.
- Fixing the input prefill means runs **start**; it does not make them **succeed**. A browser-based
  transport would be required to solve the challenge.

***

Extract structured review data from **Trustpilot** – the world's most visited review platform with over 260 million reviews. Collect reviews, ratings, and business metadata for any company listed on Trustpilot, with full filtering by stars, language, date range, and sort order.

> **Fast & stealthy.** Uses Chrome TLS fingerprint impersonation (curl\_cffi) to bypass bot detection – no Playwright overhead needed. Streams results page by page directly into your Apify dataset.

***

### What you get

#### Per review – up to 22 fields:

| Field | Type | Description |
|-------|------|-------------|
| `source` | String | `"trustpilot"` |
| `business_name` | String | Company name |
| `business_url` | String | Trustpilot review page URL |
| `business_overall_rating` | Number | Overall Trustpilot score (1.0–5.0) |
| `business_total_reviews` | Number | Total review count on Trustpilot |
| `review_id` | String | Unique review identifier |
| `review_url` | String | Direct link to the review |
| `rating` | Number | Star rating 1–5 |
| `title` | String | Review headline |
| `text` | String | Full review text |
| `language` | String | Review language (ISO code e.g. `"de"`, `"en"`) |
| `date_published` | String | ISO 8601 publish date |
| `date_experience` | String | Date of the actual experience |
| `reviewer_name` | String | Reviewer display name |
| `reviewer_country` | String | Reviewer country |
| `reviewer_profile_url` | String | Trustpilot reviewer profile URL |
| `reviewer_review_count` | Number | Total reviews by this reviewer |
| `helpful_count` | Number | "Useful" votes on the review |
| `is_verified` | Boolean | Verified review badge |
| `owner_reply` | String | Business owner reply text |
| `owner_reply_date` | String | ISO 8601 date of owner reply |
| `photos` | Array | Review photo URLs |

***

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `businessSlugs` | Array/String | *(required)* | Business slug(s) e.g. `["amazon.com", "apple"]`. Also accepts full URLs like `https://www.trustpilot.com/review/amazon.com` |
| `maxReviews` | Integer | `100` | Maximum reviews to collect per business |
| `filterStars` | Integer | *(all)* | Filter by star rating: `1`, `2`, `3`, `4`, or `5` |
| `language` | String | `"all"` | Filter by language: `"de"`, `"en"`, `"fr"`, `"es"`, `"it"`, etc. |
| `sortBy` | String | `"recency"` | Sort order: `"recency"` or `"relevance"` |
| `dateFrom` | String | *(none)* | Start date filter (ISO 8601: `"2024-01-01"`) |
| `dateTo` | String | *(none)* | End date filter (ISO 8601: `"2024-12-31"`) |
| `proxyConfiguration` | Object | *(none)* | Apify proxy configuration |

***

### Example input

```json
{
  "businessSlugs": ["amazon.de", "zalando.de"],
  "maxReviews": 500,
  "filterStars": 1,
  "language": "de",
  "sortBy": "recency",
  "dateFrom": "2024-01-01"
}
```

### Example output

```json
{
  "source": "trustpilot",
  "business_name": "amazon.de",
  "business_overall_rating": 2.3,
  "business_total_reviews": 87642,
  "review_id": "abc123xyz",
  "review_url": "https://www.trustpilot.com/reviews/abc123xyz",
  "rating": 1,
  "title": "Rücksendung dauert ewig",
  "text": "Ich habe mein Paket vor zwei Wochen zurückgeschickt und warte immer noch auf meine Erstattung.",
  "language": "de",
  "date_published": "2024-11-15T09:32:00Z",
  "date_experience": "2024-11-10",
  "reviewer_name": "Max M.",
  "reviewer_country": "DE",
  "reviewer_review_count": 12,
  "is_verified": true,
  "owner_reply": "Guten Tag, wir entschuldigen uns für die Unannehmlichkeiten...",
  "owner_reply_date": "2024-11-16",
  "photos": []
}
```

***

### Use cases

- **Brand monitoring** – Track customer sentiment and respond to negative trends early
- **Competitor analysis** – Compare ratings and review themes across competing businesses
- **Market research** – Analyze consumer satisfaction by region, language, or product category
- **Lead generation** – Identify dissatisfied customers of competing businesses
- **NLP / AI training** – Build sentiment datasets from real-world multilingual reviews

***

### Technical notes

- Uses `curl_cffi` with Chrome TLS fingerprint (rotates across Chrome 110–124) to avoid bot detection
- Extracts data from Trustpilot's embedded `__NEXT_DATA__` JSON – same data the website uses, fully structured
- Supports multiple businesses per run – each slug is scraped sequentially
- Auto-retries with alternate Chrome version on `403` / `429` responses
- Respects Trustpilot's pagination – collects up to `maxReviews` per business

***

*Built for reliability. Tested against Trustpilot's anti-bot measures.*

# Actor input Schema

## `businessSlugs` (type: `array`):

List of Trustpilot business slugs (e.g. 'www.amazon.com', 'www.airbnb.com') or full Trustpilot review URLs such as 'https://www.trustpilot.com/review/www.amazon.com'. You can mix slugs and full URLs. Use the canonical slug shown in the Trustpilot URL bar (it usually includes the 'www.' prefix) to avoid an extra redirect hop.

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

Maximum number of reviews to collect per business. Each page contains ~20 reviews. Set to 0 for unlimited (scrapes all pages).

## `filterStars` (type: `string`):

Only collect reviews with this star rating (1-5). Leave empty ('All Ratings') to collect reviews with every star rating.

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

Filter reviews by language. Use 'all' to get reviews in every language.

## `sortBy` (type: `string`):

Sort order for review collection. 'recency' returns newest reviews first, 'relevance' returns the reviews Trustpilot ranks as most relevant.

## `dateFrom` (type: `string`):

Only collect reviews published on or after this date. Format: YYYY-MM-DD (e.g. '2024-01-01'). Leave empty for no lower bound.

## `dateTo` (type: `string`):

Only collect reviews published on or before this date. Format: YYYY-MM-DD (e.g. '2024-12-31'). Leave empty for no upper bound.

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

Apify Proxy configuration. Trustpilot is served through CloudFront behind an AWS WAF challenge that blocks datacenter IPs outright, so Apify Proxy with a RESIDENTIAL group is strongly recommended. Be aware: the WAF also serves a JavaScript challenge, so a proxy alone may not be enough - a plain HTTP client can still receive HTTP 403 even from a clean residential IP.

## Actor input object example

```json
{
  "businessSlugs": [
    "www.amazon.com",
    "www.airbnb.com",
    "www.booking.com"
  ],
  "maxReviews": 200,
  "filterStars": "",
  "language": "all",
  "sortBy": "recency",
  "dateFrom": "2024-01-01",
  "dateTo": "2024-12-31"
}
```

# 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 = {
    "businessSlugs": [
        "www.amazon.com"
    ],
    "maxReviews": 100,
    "language": "all",
    "sortBy": "recency"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/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 = {
    "businessSlugs": ["www.amazon.com"],
    "maxReviews": 100,
    "language": "all",
    "sortBy": "recency",
}

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/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 '{
  "businessSlugs": [
    "www.amazon.com"
  ],
  "maxReviews": 100,
  "language": "all",
  "sortBy": "recency"
}' |
apify call ninhothedev/trustpilot-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ninhothedev/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/9cpFmlvPjWqNhqfFy/builds/XzUCzzDJtqLrDORWN/openapi.json
