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

Scrape customer reviews from Trustpilot company pages with automatic pagination and comprehensive review data extraction.

- **URL**: https://apify.com/powerai/trustpilot-reviews-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Lead generation, Automation, Other
- **Stats:** 7 total users, 0 monthly users, 89.7% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

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

This actor allows you to scrape customer reviews from Trustpilot company pages by providing a company review page URL. It automatically handles pagination and extracts comprehensive review information including user details, ratings, review content, and badges.

### Features

- **URL-based Scraping:** Extract reviews by providing a complete Trustpilot company review page URL
- **Automatic Pagination:** Automatically clicks through pages and loads more reviews until reaching the end or max items limit
- **Comprehensive Review Data:** Extract detailed information about each review including:
  - User profile information (name, country, avatar, review count)
  - Review content (title, text, timestamp)
  - Star ratings (1-5 stars)
  - Review badges (e.g., "Unprompted review", dates)
  - Direct links to review and user profile pages
- **Smart Deduplication:** Automatically removes duplicate reviews based on review URLs

### Input Parameters

| Field      | Type    | Required | Description                                    |
|------------|---------|----------|------------------------------------------------|
| `searchUrl`| string  | Yes      | Complete Trustpilot company review page URL to scrape |
| `maxItems` | integer | No       | Maximum number of reviews to fetch (default: unlimited) |
| `proxyConfiguration` | object | No | Proxy settings for the actor |

#### How to Get Review Page URL

1. Go to [Trustpilot.com](https://www.trustpilot.com)
2. Search for a company or navigate to a company's Trustpilot page
3. Click on "Reviews" or navigate to the reviews section
4. Copy the complete URL from your browser's address bar
5. Paste it into the `searchUrl` field

Example review page URLs:

```
https://www.trustpilot.com/review/smiirl.com
https://www.trustpilot.com/review/example.com
https://www.trustpilot.com/review/company-name
```

### Output

The output is a dataset of review objects, each containing:

- `searchUrl`: The original review page URL used
- `userProfile`: Link to the reviewer's Trustpilot profile
- `userName`: Name of the reviewer
- `userCountry`: Country code of the reviewer (e.g., "FR", "US")
- `userReviewsCount`: Total number of reviews written by this user
- `userAvatar`: URL of the reviewer's avatar image
- `reviewTime`: Timestamp when the review was posted (ISO 8601 format)
- `reviewTitle`: Title of the review
- `reviewText`: Full text content of the review
- `reviewUrl`: Direct link to the individual review page
- `rating`: Star rating (1-5)
- `badges`: Array of review badges (e.g., \["November 6, 2025", "Unprompted review"])
- `scrapedAt`: Timestamp of when the review was scraped

Example output:

```json
[
  {
    "searchUrl": "https://www.trustpilot.com/review/smiirl.com",
    "userProfile": "https://www.trustpilot.com/users/690c98d851678e2ff9871fec",
    "userName": "Virginie Goodwin",
    "userCountry": "FR",
    "userReviewsCount": "1 review",
    "userAvatar": "https://user-images.trustpilot.com/690c98d851678e2ff9871fec/73x73.png",
    "reviewTime": "2025-11-06T14:47:28.000Z",
    "reviewTitle": "Facebook counter",
    "reviewText": "I bought a facebook counter. Great tool to increase visibility and new followers. Had a slight problem to install but the support team was fabulous and solved the problem really quickly.",
    "reviewUrl": "https://www.trustpilot.com/reviews/690c98e041de6d5b8f1d70a0",
    "rating": 5,
    "badges": [
      "November 6, 2025",
      "Unprompted review"
    ],
    "scrapedAt": "2025-11-10T05:53:33.595Z"
  },
  ...
]
```

### Use Cases

- Reputation monitoring and brand management
- Customer sentiment analysis
- Competitive analysis
- Review aggregation and analysis
- Quality assurance and customer feedback tracking
- Market research and consumer insights
- Review response management

### Notes

- Results are saved incrementally as they are found
- All timestamps are in ISO 8601 format
- Reviews are automatically deduplicated based on review URLs
- The actor handles network delays and timeouts gracefully
- Maximum timeout per page is 5 minutes

### Limitations

- Requires a valid Trustpilot company review page URL
- Cannot scrape reviews from search results or category pages
- Rate limiting may apply if scraping very large datasets
- Some review content may be truncated if it exceeds certain length limits

***

**Start scraping customer reviews from Trustpilot today!**

# Actor input Schema

## `searchUrl` (type: `string`):

The complete Trustpilot company review page URL to scrape (e.g., https://www.trustpilot.com/review/company-name)

## `maxItems` (type: `integer`):

Maximum number of reviews to fetch

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

Proxy settings for the actor

## Actor input object example

```json
{
  "searchUrl": "https://www.trustpilot.com/review/smiirl.com",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/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 '{}' |
apify call powerai/trustpilot-reviews-scraper --silent --output-dataset

```

## MCP server setup

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