# 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
- **Security:** Full permissions
- **Stats:** 336 total users, 1 monthly users, 100.0% runs succeeded, 9 bookmarks
- **User rating**: 5.00 out of 5 stars

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

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(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 '{
  "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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shazux/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/SKWbmwcqTKJyOcVvx/builds/kUlAVGOpgAUmwxSGQ/openapi.json
