# Trustpilot Review Sentiment Scraper with AI Analysis (`jurassic_jove/trustpilot-sentiment-scraper`) Actor

Scrape Trustpilot reviews and get AI-powered sentiment analysis per company. Extracts sentimentScore, topComplaints, topPraises, trendDirection, reputationRisk & executiveSummary. $0.03/review — pay only for results.

- **URL**: https://apify.com/jurassic\_jove/trustpilot-sentiment-scraper.md
- **Developed by:** [Data Runner](https://apify.com/jurassic_jove) (community)
- **Categories:** AI, Lead generation, E-commerce
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 charged for each company analyzeds

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/platform/actors/running/actors-in-store#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 Review Sentiment Scraper with AI Analysis

The most powerful **Trustpilot scraper** and **review sentiment analysis** tool on Apify. Built for **brand reputation monitoring**, this **Trustpilot reviews extractor** collects customer reviews at scale and enriches them with **AI sentiment analysis** — giving you actionable intelligence about any company's online reputation in minutes, not hours.

### What makes it different

Unlike basic scrapers that just dump raw reviews, this Actor analyzes sentiment **per company** — not per individual review. After collecting all reviews, AI processes them as a batch to identify patterns, trends, and risks that no single-review analysis could catch. You get a complete reputation profile with one run.

### Who is it for

- **Brand managers** tracking how customers perceive their company over time
- **Marketing teams** measuring campaign impact on customer sentiment
- **Reputation management agencies** monitoring multiple client brands
- **SaaS companies** benchmarking against competitors on Trustpilot
- **E-commerce businesses** identifying product issues before they escalate

### Input fields

| Field | Type | Description |
|---|---|---|
| `companyName` | string | Trustpilot company slug (e.g. `amazon.com`). Builds the review URL automatically. |
| `trustpilotUrls` | array | Direct Trustpilot review page URLs. Use this to scrape multiple companies in one run. |
| `maxReviews` | number | Maximum reviews to collect per company. Default: `100`, max: `5000`. |
| `language` | string | Filter reviews by language code (`en`, `es`, `de`, etc.). Leave empty for all. |
| `dateRange` | enum | Time window: `30days`, `90days`, `365days`, or `all`. |

### Output fields

Each result in the dataset contains:

#### AI Sentiment Analysis (per company)

| Field | Type | Description |
|---|---|---|
| `sentimentScore` | number (1-10) | Overall sentiment. 10 = most positive. |
| `topComplaints` | string\[] | Up to 5 recurring complaint themes across all reviews. |
| `topPraises` | string\[] | Up to 5 recurring praise themes across all reviews. |
| `trendDirection` | string | `improving`, `declining`, or `stable` — based on chronological sentiment shift. |
| `reputationRisk` | number (1-10) | Risk score. 10 = highest reputation risk. |
| `responseRateScore` | number (1-10) | How actively the company responds to reviews. |
| `executiveSummary` | string | 2-3 sentence summary of the company's reputation. |

#### Individual Reviews

Each review includes: `reviewText`, `rating` (1-5), `date`, `authorName`, `authorReviewCount`, `isVerified`, and `companyResponse`.

### Pricing

**$0.03 per review analyzed** — you only pay for results. No monthly fees, no subscriptions. If a run collects 200 reviews, the cost is $6.00.

### How it works

1. **Enter a company** — provide a company name or Trustpilot URL
2. **Reviews are collected** — the scraper navigates Trustpilot, handles pagination, and extracts structured review data
3. **AI analyzes the batch** — all collected reviews are analyzed together to identify patterns, trends, and reputation signals
4. **Get your results** — structured data is delivered to the dataset, ready to export as JSON, CSV, or connect via API

No configuration needed beyond the input fields. Environment variables for AI are pre-configured.

### Tips and practical use cases

- **Weekly brand pulse**: Schedule a run every Monday with `dateRange: 30days` to track sentiment shifts week over week.
- **Competitor benchmarking**: Add multiple URLs in `trustpilotUrls` to compare sentiment scores across competitors in a single run.
- **Crisis detection**: Set `maxReviews: 50` with `dateRange: 30days` for fast, focused checks when you suspect a reputation issue.
- **Product launch feedback**: Run after a major release to capture early customer reactions and identify emerging complaints.
- **Market research**: Scrape reviews for multiple players in a vertical to map the competitive landscape by sentiment and complaint themes.
- **Localized insights**: Use the `language` filter to analyze sentiment by market (e.g. `en` for US/UK, `de` for Germany).

### Supported use cases

- Brand monitoring and sentiment tracking
- Competitor analysis and benchmarking
- Reputation management and risk assessment
- Product feedback and customer voice analysis
- Market research and industry benchmarking

***

Built by [Data Runner](https://data-runner.dev)

# Actor input Schema

## `companyName` (type: `string`):

The Trustpilot company slug (e.g. 'example.com'). Used to build the URL https://www.trustpilot.com/review/{companyName}.

## `trustpilotUrls` (type: `array`):

Direct Trustpilot review page URLs. Overrides companyName if both are provided.

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

Maximum number of reviews to scrape per company.

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

Filter reviews by language code (e.g. 'en', 'es', 'de'). Leave empty for all languages.

## `dateRange` (type: `string`):

Only include reviews from this time window.

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

Trustpilot blocks plain datacenter traffic. Proxy is on by default; switch to RESIDENTIAL if you still get no reviews.

## Actor input object example

```json
{
  "trustpilotUrls": [],
  "maxReviews": 100,
  "dateRange": "all",
  "proxyConfiguration": {
    "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 = {
    "companyName": "",
    "trustpilotUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("jurassic_jove/trustpilot-sentiment-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 = {
    "companyName": "",
    "trustpilotUrls": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("jurassic_jove/trustpilot-sentiment-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 '{
  "companyName": "",
  "trustpilotUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call jurassic_jove/trustpilot-sentiment-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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