# Trustpilot Reviews & Ratings Scraper \[Fast & Cheap] (`pagerka/trustpilot-reviews-scraper`) Actor

Lightning-fast scraper for Trustpilot reviews. Extract customer ratings, text feedback, reviewer country, verified status, dates, and company replies with zero browser overhead.

- **URL**: https://apify.com/pagerka/trustpilot-reviews-scraper.md
- **Developed by:** [Stepan Pagerka](https://apify.com/pagerka) (community)
- **Categories:** Automation, Developer tools, Other
- **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?

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 Reviews & Ratings Scraper \[Fast & Cheap]

Lightning-fast, cost-effective Trustpilot scraper. Extract customer reviews, star ratings, reviewer country, verified buyer badges, dates of experience, and official company responses.

***

### ⚡ Key Features

- **⭐ Star Rating & Language Filtering**: Extract all reviews or filter specifically for 1-star complaints (competitor research) or 5-star testimonials.
- **⚡ Super Fast Cheerio Architecture**: Extracts structured JSON data directly without heavy browser emulation, using minimal Compute Units (CU).
- **🛡️ Verified Buyer & Reply Extraction**: Detects whether the review is verified and captures official business responses with timestamps.
- **📊 Clean Dataset Export**: Directly export data to CSV, Excel, JSON, XML, or integrate with Google Sheets, Zapier, Make, or webhooks.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | `["https://www.trustpilot.com/review/apify.com"]` | Trustpilot company URLs, domain names (e.g. `revolut.com`, `amazon.com`). |
| `maxReviews` | Integer | `100` | Maximum reviews to extract per company. |
| `starsFilter` | String | `"all"` | Filter by star rating (`"all"`, `"1"`, `"2"`, `"3"`, `"4"`, `"5"`). |
| `language` | String | `"all"` | Review language filter code (e.g. `"en"`, `"de"`, `"fr"`). |
| `proxyConfiguration` | Object | `{ useApifyProxy: true }` | Proxy settings to ensure uninterrupted extraction. |

***

### 📤 Sample Output (JSON)

```json
{
  "reviewId": "665c89a0f023b123456789ab",
  "companyDomain": "apify.com",
  "companyName": "Apify",
  "rating": 5,
  "title": "Best web scraping platform available!",
  "text": "Apify made it extremely simple to automate our data pipelines and scrapers. The customer support is top notch.",
  "datePublished": "2026-05-15T14:32:00.000Z",
  "dateOfExperience": "2026-05-14T00:00:00.000Z",
  "isVerified": true,
  "reviewer": {
    "name": "Alex Johnson",
    "country": "US",
    "reviewCount": 4
  },
  "reply": {
    "text": "Thank you for the wonderful feedback, Alex!",
    "date": "2026-05-16T09:15:00.000Z"
  },
  "reviewUrl": "https://www.trustpilot.com/reviews/665c89a0f023b123456789ab"
}
```

***

### 🚀 Integrations & Use Cases

- **Competitor Analysis**: Discover weaknesses and common complaints about competitors.
- **Sentiment Analysis**: Analyze trends in customer satisfaction using LLMs or NLP.
- **Customer Testimonials**: Automatically sync positive 5-star reviews to your website or CRM.

# Actor input Schema

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

URLs of Trustpilot company review pages (e.g. https://www.trustpilot.com/review/apify.com, amazon.com, revolut.com).

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

Maximum number of reviews to extract per company. (Default: 100)

## `starsFilter` (type: `string`):

Extract all reviews or filter by specific star ratings (useful for finding negative feedback or best testimonials).

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

Language code (e.g. 'all', 'en', 'de', 'fr', 'es').

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

Use Apify standard proxies to avoid geo-blocks and rate limits.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.trustpilot.com/review/apify.com"
    }
  ],
  "maxReviews": 100,
  "starsFilter": "all",
  "language": "all",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Access extracted Trustpilot reviews, ratings, customer feedback, and company replies in JSON, CSV, or Excel format.

# 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/apify.com"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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