# ⭐ Trustpilot Intelligence - Reviews & Sentiment (`benthepythondev/trustpilot-intelligence-scraper`) Actor

Extract Trustpilot reviews with AI sentiment analysis for brand reputation monitoring and competitor intelligence. Get company ratings, verified reviews, customer feedback, and business responses. Perfect for market research, reputation management, and business intelligence.

- **URL**: https://apify.com/benthepythondev/trustpilot-intelligence-scraper.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** AI, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 9 total users, 0 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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 Intelligence Scraper — Reviews, Ratings & AI Sentiment

Extract **company reviews and ratings from Trustpilot** — review text, star ratings, verified
status, reviewer details and business replies — as clean, structured data with **AI sentiment
analysis** (positive / neutral / negative) on every review. Scrape any company by domain or
Trustpilot URL, or search Trustpilot to discover companies, then pull the overall rating, trust
score and total review count alongside the individual reviews. No API key required. Export to
JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

### 🛡️ What is the Trustpilot Intelligence Scraper?

It turns any Trustpilot company page into a structured dataset. Pick a mode — **company reviews**
(by domain or URL) or **search** (find companies by query) — set how many reviews you want and
optional star-rating filters, then Run. The Actor loads each company page, reads Trustpilot's
underlying JSON, and returns the company's headline metrics plus a list of reviews, each tagged
with an AI sentiment label that blends the star rating with keyword analysis of the text — so
brand, competitor-intelligence and CX teams can track reputation and customer feedback at scale.

#### What data does it extract?

**Per company:**

- **Company name**, Trustpilot **overall rating** and **trust score**
- **Total reviews** on Trustpilot and the **count scraped** in this run
- **Website URL**, **category** and the source Trustpilot `url`

**Per review:**

- **Star rating** (1–5), review **title** and full **text**
- **Publication date** (ISO 8601) and **verified** purchase status
- **Reviewer name** and that reviewer's total **review count**
- **Company reply** (business response), when present
- **AI sentiment** — `positive`, `neutral` or `negative`

### ⬇️ Input

Choose a `mode`, then fill in the matching fields:

| Field | Description |
|-------|-------------|
| `mode` | `company_reviews` (scrape specific companies) or `search` (find companies by query) |
| `companyUrls` | Company domains or Trustpilot URLs, e.g. `apple.com` or `https://www.trustpilot.com/review/tesla.com` (company_reviews mode) |
| `searchQuery` | Search Trustpilot for companies, e.g. `e-commerce`, `software companies`, `hotels` (search mode) |
| `maxReviewsPerCompany` | Max reviews to extract per company (1–1000; ~20 per page) |
| `minRating` | Keep only reviews with a rating ≥ this value (1–5) |
| `maxRating` | Keep only reviews with a rating ≤ this value (1–5) |
| `includeSentiment` | Add AI sentiment (positive/neutral/negative) to each review |
| `debugMode` | Run the browser in visible (non-headless) mode for debugging |

#### Example input

```json
{
  "mode": "company_reviews",
  "companyUrls": ["apple.com", "https://www.trustpilot.com/review/tesla.com"],
  "maxReviewsPerCompany": 100,
  "minRating": 1,
  "maxRating": 5,
  "includeSentiment": true
}
```

### ⬆️ Output

Each company is one record with its metrics and a nested list of reviews (view as a **table**, or
export **JSON / CSV / Excel**):

```json
{
  "url": "https://www.trustpilot.com/review/apple.com",
  "company_name": "Apple",
  "overall_rating": 1.4,
  "total_reviews": 4523,
  "trust_score": 1.4,
  "website_url": "https://www.apple.com",
  "category": "electronics_technology",
  "reviews_count": 100,
  "scraped_at": "2026-06-26T15:30:00",
  "reviews": [
    {
      "id": "abc123",
      "rating": 5,
      "title": "Excellent customer service",
      "text": "The team was very helpful and resolved my issue quickly — highly recommend.",
      "date": "2026-06-12T10:30:00Z",
      "verified": true,
      "reviewer_name": "John D.",
      "reviewer_reviews_count": 15,
      "company_reply": "Thank you for your feedback!",
      "sentiment": "positive"
    }
  ]
}
```

### 💡 Use cases

- **🛡️ Brand reputation monitoring:** track your company's rating, trust score and review sentiment over time and catch negative feedback early for crisis response.
- **🔬 Competitor intelligence:** scrape rivals' reviews to map strengths, weaknesses and recurring complaints, and benchmark your ratings against theirs.
- **💬 Customer feedback & CX analysis:** mine review text and sentiment for product issues, feature requests and service gaps to feed into your roadmap.
- **📊 Market research & due diligence:** assess how a market, sector or acquisition target is perceived by aggregating ratings and sentiment across many companies.

### ❓ FAQ

**How do I scrape reviews for a specific company?** Set `mode` to `company_reviews`, add the
company's domain (e.g. `apple.com`) or full Trustpilot URL to `companyUrls`, choose
`maxReviewsPerCompany`, then Run. You get the company's overall rating and trust score plus the
individual reviews with sentiment.

**Can I find companies instead of entering URLs?** Yes. Use `mode: search` with a `searchQuery`
like `e-commerce`, `software companies` or `hotels` to discover companies on Trustpilot.

**How does the AI sentiment analysis work?** Each review is labelled `positive`, `neutral` or
`negative` by combining its star rating with keyword analysis of the review text, so you get a
quick read on customer mood without building your own classifier. Turn it off with
`includeSentiment: false`.

**Can I filter reviews by star rating?** Yes. Use `minRating` and/or `maxRating` (1–5) to keep
only the ratings you care about — for example set `maxRating: 2` to focus on negative feedback
for issue tracking.

**How many reviews can I get per company?** Up to `maxReviewsPerCompany` (1–1000). Trustpilot
shows about 20 reviews per page, and the Actor paginates to collect them.

**What does a verified review mean?** Trustpilot marks some reviews as verified (the reviewer was
invited after a confirmed purchase or interaction). The `verified` field lets you separate
verified from organic reviews.

**Do I need an API key?** No. The Actor reads public Trustpilot company pages directly — there's
no Trustpilot API key or login to configure. Just enter a company or search query and Run.

**Can I run it on a schedule or via API?** Yes — schedule recurring runs in Apify to track
ratings and sentiment over time, call it via the API/SDK, or connect it to Make, Zapier or n8n.

**Why is the output one record per company with nested reviews?** Each company page returns the
business-level metrics (rating, trust score, totals) once, with its reviews in a `reviews` array —
keeping company context and review data together. Most export tools can flatten the array to one
row per review.

**Is scraping Trustpilot legal?** It extracts publicly available review data only. Use it
responsibly for research and reputation monitoring, comply with data-protection laws (e.g. GDPR)
when handling reviewer information, and follow Trustpilot's terms.

### 🔗 You might also like

- **[Yelp Intelligence Scraper](https://apify.com/benthepythondev/yelp-intelligence-scraper)** — Yelp business reviews & ratings with sentiment
- **[Google Play Reviews Scraper](https://apify.com/benthepythondev/google-play-reviews-scraper)** — app reviews & ratings from Google Play
- **[App Store Reviews Scraper](https://apify.com/benthepythondev/appstore-reviews-scraper)** — App Store reviews & ratings

***

**Keywords:** trustpilot scraper, trustpilot reviews, trustpilot api, review scraper, sentiment analysis, brand reputation monitoring, competitor intelligence, customer feedback, online reviews data, star ratings scraper, verified reviews, company reviews, review monitoring, reputation management, business intelligence, customer experience, no api key, market research.

# Actor input Schema

## `mode` (type: `string`):

Choose scraping mode

## `companyUrls` (type: `array`):

List of company URLs or domains to scrape. Examples: 'apple.com', 'https://www.trustpilot.com/review/tesla.com', 'amazon.com' (required in 'company_reviews' mode)

## `searchQuery` (type: `string`):

Search for companies on Trustpilot (required in 'search' mode). Examples: 'e-commerce', 'software companies', 'hotels'

## `maxReviewsPerCompany` (type: `integer`):

Maximum number of reviews to extract per company (Trustpilot shows ~20 reviews per page)

## `minRating` (type: `integer`):

Only include reviews with rating >= this value (1-5 stars)

## `maxRating` (type: `integer`):

Only include reviews with rating <= this value (1-5 stars)

## `includeSentiment` (type: `boolean`):

Add AI-powered sentiment analysis (positive/neutral/negative) to each review

## `debugMode` (type: `boolean`):

Run browser in non-headless mode for debugging (slower, but visible)

## Actor input object example

```json
{
  "mode": "company_reviews",
  "companyUrls": [
    "apple.com"
  ],
  "searchQuery": "software",
  "maxReviewsPerCompany": 3,
  "includeSentiment": true,
  "debugMode": false
}
```

# Actor output Schema

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

No description

# 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 = {
    "mode": "company_reviews",
    "companyUrls": [
        "apple.com"
    ],
    "searchQuery": "software"
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/trustpilot-intelligence-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 = {
    "mode": "company_reviews",
    "companyUrls": ["apple.com"],
    "searchQuery": "software",
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/trustpilot-intelligence-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 '{
  "mode": "company_reviews",
  "companyUrls": [
    "apple.com"
  ],
  "searchQuery": "software"
}' |
apify call benthepythondev/trustpilot-intelligence-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/trustpilot-intelligence-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/6l9p6NiT8z8JuV03I/builds/KdZEQtkCXH6qDjBVK/openapi.json
