# Trustpilot Reviews Scraper (`shazux/trustpilot-reviews-scraper`) Actor

Effortlessly retrieve information from numerous Trustpilot reviews across one or several Trustpilot business pages. Obtain review content, publication date, review URL, rating, and fundamental reviewer details. You can conveniently download this data in formats such as JSON, CSV, and Excel.

- **URL**: https://apify.com/shazux/trustpilot-reviews-scraper.md
- **Developed by:** [Yoggi](https://apify.com/shazux) (community)
- **Categories:** Other
- **Stats:** 335 total users, 3 monthly users, 100.0% runs succeeded, 9 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$5.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

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

Trustpilot Reviews Scraper is a web scraping tool designed to help you gather business reviews from Trustpilot using business URLs.

To use it, simply insert the URL of an Trustpilot business into the business URLs input field, initiate the scraper, and then retrieve the data from the output tab. You have the option to specify the maximum number of reviews you wish to extract, which can help shorten the scraping process. If you prefer to scrape all available reviews, just leave the 'Max Reviews' & 'language' field empty

⚠️ Important Update
As of October 2025, Trustpilot has restricted access to reviews beyond page 10 (approximately 200 reviews) for users who are not logged in.
To comply with Trustpilot’s data access policies, this scraper now retrieves a maximum of 200 reviews per business.
This change ensures the scraper remains fully compliant and avoids unauthorized data collection.

### What will be the expense for scraping Trustpilot Reviews?

When dealing with scraping tasks, gauging the necessary resources for data extraction can pose difficulties since use cases can diverge significantly. Therefore, the optimal approach is to conduct a trial scrape using a small portion of input data and restricting the output. This way, you can determine your cost per scrape, which you can subsequently multiply by the number of scrapes you plan to execute.

View [this video](https://www.youtube.com/watch?v=-wyz2iscZ30) for some valuable tips, and remember that opting for a higher-tier plan will lead to long-term cost savings.

### Input

To utilize the Trustpilot Reviews Scraper, you should provide the URLs of the Trustpilot business from which you wish to extract reviews. Please be aware that not all public pages feature reviews. For a comprehensive description of the input format in JSON, click on the input tab.

```javascript
{
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxReviews": 20,
  "businessUrls": [
    {
      "url": "https://www.trustpilot.com/review/beschuetzerbox.de"
    }
  ],
}
```

> NOTE: Please keep in mind that using private proxies is advisable for enhanced stability in your results.

### Output sample

The outcomes will be encapsulated within a dataset, conveniently accessible in the Storage tab. Below is a snippet from the dataset you will obtain when applying the provided input parameters:

```javascript
[{
  "identifyingName": "beschuetzerbox.de",
  "businessUnitId": "6076096af9f4d70001dd4f7c",
  "businessUnitName": "Beschützerbox",
  "businessUnitWebsiteUrl": "http://beschuetzerbox.de",
  "businessUnitWebsiteTitle": "beschuetzerbox.de",
  "averageScore": 3.7,
  "totalReviews": 1,
  "reviewId": "63bd8c3b2338b6d417b5944c",
  "reviewText": "Nice product & support. Thanks!",
  "reviewScore": 5,
  "reviewTitle": "Satisfied",
  "reviewDate": "2023-01-10T18:03:07.000Z",
  "reviewLanguage": "en",
  "reviewUrl": "https://www.trustpilot.com/reviews/63bd8c3b2338b6d417b5944c"
}]
```

### Is it within legal boundaries to extract Trustpilot reviews through web scraping?

Our Trustpilot Reviews Scraper operates ethically and refrains from collecting private user information, such as email addresses or locations. It exclusively gathers publicly shared data chosen by the user. Nevertheless, it's essential to exercise caution, as your results may inadvertently include personal information. Only engage in scraping personal data if you possess a valid and lawful justification.

If you're uncertain about the legitimacy of your purpose, it's advisable to seek guidance from legal professionals.

### Your feedback

We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Trustpilot Reviews Scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.

# Actor input Schema

## `businessUrls` (type: `array`):

Enter the URL or URLs of the Trustpilot companies you want to scrape. (E.g., https://www.trustpilot.com/review/beschuetzerbox.de). Just click +Add to enter additional URLs.

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

Enter the maximum number of reviews to scrape. Leave blank to scrape all reviews (up to 200 reviews max due to Trustpilot limits).

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

Select by which criteria the reviews should be sorted. Review's default is 'Most recent'.

## `languages` (type: `string`):

Select by which language the reviews should be sorted. Language's default is 'all'.

## `personalData` (type: `boolean`):

GDPR safeguards personal information like names, IDs, or profile images within the European Union, and similar regulations exist worldwide. Scrutinize your motives before scraping personal data, ensuring that you possess a valid justification.

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "businessUrls": [
    {
      "url": "https://www.trustpilot.com/review/beschuetzerbox.de"
    }
  ],
  "sort": "recency",
  "languages": "all",
  "personalData": false,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "businessUrls": [
        {
            "url": "https://www.trustpilot.com/review/beschuetzerbox.de"
        }
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

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

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

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

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

```

## CLI example

```bash
echo '{
  "businessUrls": [
    {
      "url": "https://www.trustpilot.com/review/beschuetzerbox.de"
    }
  ],
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call shazux/trustpilot-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=shazux/trustpilot-reviews-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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