# Trustpilot Scraper - Reviews, Companies & Monitor (`crawloop/trustpilot-scraper`) Actor

Scrape Trustpilot company profiles and reviews: TrustScore, stars, text, replies, language. Monitor mode for new reviews and score alerts. Filter splitting past the 200-review cap. Residential proxies recommended.

- **URL**: https://apify.com/crawloop/trustpilot-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** AI, Other, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.25 / 1,000 company profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Scraper — Reviews, Companies & Reputation Monitor

> Unofficial tool for publicly accessible Trustpilot data. Trustpilot and related trademarks belong to their respective owners. Not affiliated with, sponsored by, or endorsed by Trustpilot A/S. Provided for informational and reputation-monitoring use only; users must comply with applicable terms and laws.

**Trustpilot Scraper** ◄── you are here

Scrape **Trustpilot company profiles and reviews** into structured JSON on Apify — TrustScore, star ratings, review text, language, consumer country, and company replies. Use it as a practical **Trustpilot API alternative** for Python or Node.js pipelines, scheduled **reputation monitoring**, and ORM / brand-intel workflows. Default **monitor / incremental** mode only emits **new reviews and TrustScore deltas**, so daily cron runs stay cheap instead of re-downloading full histories.

**Best for:** Trustpilot review mining, competitor reputation tracking, TrustScore drop alerts, star/language-filtered exports, and JSON/CSV datasets for BI or AI assistants via Apify MCP.

### When to use this Actor

- **Trustpilot reviews scraper** jobs for one or many company domains
- **Incremental monitoring** — scheduled runs that stop early once known reviews appear
- **TrustScore alerts** via webhook or Telegram when the score moves
- Full company dumps past the public ~200-review page cap (star × language filter splitting)
- Star- or language-filtered review exports for sentiment / NLP pipelines

### When not to use this Actor

- Private Trustpilot Business inbox / messaging — this Actor only reads public review pages
- Writing reviews, claiming profiles, or authenticated Business Portal actions
- Sites other than Trustpilot company review pages

### Modes

| Mode | What it does |
| :--- | :--- |
| `monitor` | Named KV watermarks + early-stop; emit only new reviews / meta deltas (**default**) |
| `company` | Company profile row + reviews (optional recursive splitting) |
| `reviews` | Reviews only |

### Key features

- **Hybrid WAF access** — Playwright solves AWS WAF once (`aws-waf-token`); `curl_cffi` fetches pages with Chrome TLS; persistent browser fallback if needed
- **Monitor-first design** — watermark + seen review IDs; early-stop after consecutive known / older reviews
- **Recursive filter splitting** — stars → languages when `numberOfReviews > 200` on full scrapes
- **Typed dataset rows** — `recordType`: `company`, `review`, `monitor_event`
- **Alerts** — optional `webhookUrl` (Slack / Discord / custom) + Telegram bot
- **Residential proxies** — recommended; datacenter IPs are usually blocked

### Input parameters

| Parameter | Description |
|-----------|-------------|
| `mode` | `monitor` / `company` / `reviews` |
| `startUrls` / `companyDomains` | Review page URLs or domains (e.g. `spotify.com`) |
| `maxReviews` | Per-company review cap (`0` = unlimited within splitter / page limits) |
| `maxItems` | Hard dataset row cap (`0` = unlimited) |
| `stars` / `languages` | Optional filters |
| `splitLargeCompanies` | Auto star × language split when total > 200 (full scrape only) |
| `concurrency` | Parallel page workers |
| `monitorStoreName` / `monitorBaselineOnly` / `resetMonitorState` | Monitor KV controls |
| `monitorFetchReviews` / `monitorMaxPages` / `earlyStopAfterKnown` | Incremental scan controls |
| `webhookUrl` / `telegramToken` / `telegramChatId` | Alerts |
| `proxyConfiguration` | Use **Apify Residential** proxies |

#### Example — monitor baseline then schedule

```json
{
  "mode": "monitor",
  "companyDomains": ["spotify.com", "notion.so"],
  "monitorStoreName": "trustpilot-monitor-store",
  "monitorBaselineOnly": true,
  "monitorMaxPages": 3,
  "earlyStopAfterKnown": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

After the baseline run, set `monitorBaselineOnly` to `false` (or omit it). Schedule every 15–60 minutes — later runs emit only deltas and stop early.

#### Example — full company scrape

```json
{
  "mode": "company",
  "companyDomains": ["spotify.com"],
  "maxReviews": 250,
  "splitLargeCompanies": true,
  "concurrency": 4,
  "includeCompanyProfile": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Output

| `recordType` | Fields (highlights) |
| :--- | :--- |
| `company` | `companyDomain`, `companyName`, `trustScore`, `stars`, `numberOfReviews`, `url` |
| `review` | `reviewId`, `reviewTitle`, `reviewText`, `reviewRating`, `publishedDate`, `consumerName`, `hasReply` |
| `monitor_event` | `changeType` (`new_review`, `trustscore_drop`, `trustscore_rise`, `review_count_change`, …) |

#### Output example — review

```json
{
  "recordType": "review",
  "companyDomain": "spotify.com",
  "companyName": "Spotify",
  "reviewId": "6a6b2fc33b6685498e30e738",
  "reviewTitle": "It just became my default",
  "reviewText": "Easy to use and great catalog.",
  "reviewRating": 5,
  "reviewLanguage": "en",
  "publishedDate": "2026-08-01T12:00:00.000Z",
  "consumerName": "Alex",
  "consumerCountry": "US",
  "hasReply": false,
  "scrapedAt": "2026-08-03T10:05:20.000Z"
}
```

### Use cases

| Use case | What you get |
| :--- | :--- |
| **ORM / brand monitoring** | New reviews + TrustScore moves on a schedule |
| **Competitor research** | Structured review text, stars, and replies for rivals |
| **Negative-review alerts** | Webhook / Telegram only for 1–2★ reviews |
| **Sentiment / NLP datasets** | Clean JSON/CSV review corpora by language or star |
| **AI assistant workflows** | Run via Apify API, clients, or MCP and summarize results |

### Integration examples

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('crawloop/trustpilot-scraper').call({
  mode: 'company',
  companyDomains: ['spotify.com'],
  maxReviews: 100,
  proxyConfiguration: {
    useApifyProxy: true,
    apifyProxyGroups: ['RESIDENTIAL'],
  },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 5));
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient(token)
run = client.actor("crawloop/trustpilot-scraper").call(
    run_input={
        "mode": "monitor",
        "companyDomains": ["spotify.com"],
        "monitorStoreName": "trustpilot-monitor-store",
        "monitorBaselineOnly": False,
        "proxyConfiguration": {
            "useApifyProxy": True,
            "apifyProxyGroups": ["RESIDENTIAL"],
        },
    }
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(len(items), items[:3])
```

#### cURL

```bash
curl "https://api.apify.com/v2/acts/crawloop~trustpilot-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "reviews",
    "companyDomains": ["spotify.com"],
    "maxReviews": 50,
    "proxyConfiguration": {
      "useApifyProxy": true,
      "apifyProxyGroups": ["RESIDENTIAL"]
    }
  }'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp). Connect your Apify account, then call `crawloop/trustpilot-scraper`.

Example prompts:

- "Run the Trustpilot scraper for spotify.com in company mode, max 100 reviews, and return TrustScore plus the newest 10 reviews as JSON"
- "Scrape Trustpilot reviews for notion.so and summarize the top 1-star complaint themes"
- "Start a Trustpilot monitor baseline for my brand domains, then tell me how to schedule incremental runs"

### Monitor workflow

1. Seed with `mode=monitor` + `monitorBaselineOnly=true` (writes KV watermarks, no deltas).
2. Schedule the same Actor with `monitorBaselineOnly=false`.
3. Each run refreshes the company fingerprint, walks newest reviews, and **stops** after `earlyStopAfterKnown` consecutive already-seen / older reviews.
4. Optional webhook / Telegram fires for configured change types.

### FAQ

#### Is this a Trustpilot API?

No official Trustpilot Business API key is required. The Actor reads publicly available company review pages and returns structured dataset rows — a common **Trustpilot API alternative** for scraping / monitoring use cases.

#### Why do I need residential proxies?

Trustpilot sits behind **AWS WAF**. Datacenter IPs usually get a challenge page. Use **Apify Residential** proxies for reliable runs.

#### How does monitor mode save cost?

It stores review watermarks in a named Key-Value Store. Later runs only emit **new** reviews / TrustScore changes and stop pagination early when they hit already-seen content.

#### Can I scrape more than 200 reviews per company?

Yes, in `company` / `reviews` mode with `splitLargeCompanies=true`. The Actor splits by stars and then languages to work around the public 10-page listing cap, then deduplicates by review ID.

#### Can I filter by stars or language?

Yes — set `stars` (e.g. `["1","2"]`) and/or `languages` (e.g. `["en","de"]`).

#### Does it export JSON / CSV?

Yes. Results land in the Apify dataset. Download JSON, CSV, or Excel from the run, or pipe via API / integrations / MCP.

### Tips

- Prefer `monitor` for production schedules; use `company` for historical dumps.
- Keep `concurrency` moderate (2–6) on shared residential pools.
- Always enable Residential proxies for Store QA and production.

# Actor input Schema

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

company = profile + reviews; reviews = reviews only; monitor = incremental deltas (new reviews + trust-score changes) with early stop.

## `startUrls` (type: `array`):

Trustpilot company review page URLs (e.g. https://www.trustpilot.com/review/spotify.com).

## `companyDomains` (type: `array`):

Identifying domains (e.g. spotify.com). Converted to /review/{domain} URLs.

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

Cap reviews collected per company. 0 = unlimited (still bounded by filter splitting / page cap).

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

Hard cap on pushed dataset rows (company + reviews + monitor events). 0 = unlimited.

## `includeCompanyProfile` (type: `boolean`):

In company mode, also push a company recordType row.

## `stars` (type: `array`):

Only collect these star ratings (1–5 as strings). Empty = all stars. In full scrape, empty enables recursive star splitting when total > 200.

## `languages` (type: `array`):

ISO language codes (e.g. en, de, fr). Empty = all. Used as filters and as splitter languages when a star bucket exceeds 200.

## `splitLargeCompanies` (type: `boolean`):

When total reviews > 200, split by stars (then languages) to bypass Trustpilot's 10-page / 200-review hard cap. Disabled automatically in monitor mode.

## `concurrency` (type: `integer`):

Parallel page / company workers. Keep moderate with residential proxies.

## `monitorStoreName` (type: `string`):

Named Key-Value Store for incremental state (per-company watermarks + seen review IDs).

## `monitorBaselineOnly` (type: `boolean`):

First run: seed KV fingerprints and review watermarks without emitting deltas / webhooks.

## `resetMonitorState` (type: `boolean`):

Clear MONITOR\_STATE in the named store before this run.

## `monitorFetchReviews` (type: `boolean`):

In monitor mode, paginate newest reviews until early-stop.

## `monitorMaxPages` (type: `integer`):

Safety cap on pages scanned per company in monitor mode (Trustpilot hard-caps at 10 anyway).

## `earlyStopAfterKnown` (type: `integer`):

In monitor mode, stop pagination after this many consecutive already-seen reviews (newest-first).

## `trustScoreDropThreshold` (type: `number`):

Emit trustscore\_drop when score falls by at least this amount.

## `webhookUrl` (type: `string`):

Slack / Discord / custom HTTPS endpoint for monitor alerts (JSON POST).

## `telegramToken` (type: `string`):

Optional Telegram bot token for monitor alerts.

## `telegramChatId` (type: `string`):

Telegram chat/user ID for alerts (requires token).

## `notifyOnNewReviews` (type: `boolean`):

Send webhook/Telegram when a new review appears.

## `notifyOnNegativeReviewsOnly` (type: `boolean`):

If enabled, new-review notifications fire only for 1–2 star reviews.

## `notifyOnTrustScoreChange` (type: `boolean`):

Send webhook/Telegram when TrustScore rises or drops beyond the threshold.

## `notifyOnReviewCountChange` (type: `boolean`):

Send webhook/Telegram when the company's public review count changes.

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

AWS WAF blocks datacenter IPs. Use Apify Residential proxies.

## Actor input object example

```json
{
  "mode": "monitor",
  "startUrls": [
    {
      "url": "https://www.trustpilot.com/review/spotify.com"
    }
  ],
  "companyDomains": [
    "spotify.com"
  ],
  "maxReviews": 100,
  "maxItems": 0,
  "includeCompanyProfile": true,
  "languages": [],
  "splitLargeCompanies": true,
  "concurrency": 4,
  "monitorStoreName": "trustpilot-monitor-store",
  "monitorBaselineOnly": false,
  "resetMonitorState": false,
  "monitorFetchReviews": true,
  "monitorMaxPages": 5,
  "earlyStopAfterKnown": 5,
  "trustScoreDropThreshold": 0.1,
  "notifyOnNewReviews": true,
  "notifyOnNegativeReviewsOnly": false,
  "notifyOnTrustScoreChange": true,
  "notifyOnReviewCountChange": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Default dataset items (company, review, monitor\_event).

# 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 = {
    "startUrls": [
        {
            "url": "https://www.trustpilot.com/review/spotify.com"
        }
    ],
    "companyDomains": [
        "spotify.com"
    ],
    "languages": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/trustpilot-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 = {
    "startUrls": [{ "url": "https://www.trustpilot.com/review/spotify.com" }],
    "companyDomains": ["spotify.com"],
    "languages": [],
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/trustpilot-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 '{
  "startUrls": [
    {
      "url": "https://www.trustpilot.com/review/spotify.com"
    }
  ],
  "companyDomains": [
    "spotify.com"
  ],
  "languages": []
}' |
apify call crawloop/trustpilot-scraper --silent --output-dataset

```

## MCP server setup

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