# Trustpilot Reviews Scraper & Monitor (`shelfdata/trustpilot-reviews-scraper`) Actor

Trustpilot reviews of any company: newest first, star, language, reviewer-country, verified and date filters, company TrustScore and profile, and a monitor mode that returns only reviews published since the last run. Built for daily schedules.

- **URL**: https://apify.com/shelfdata/trustpilot-reviews-scraper.md
- **Developed by:** [ShelfData](https://apify.com/shelfdata) (community)
- **Categories:** Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 reviews

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/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 Reviews Scraper & Monitor

Get the **Trustpilot reviews of any company** and keep watching them. Add the companies (yours and your competitors'),
filter by star rating, language, reviewer country, verified reviews or replies, and schedule it: every run returns only
the reviews published since the previous run. Filter on 1 and 2 stars to get a daily feed of complaints.

Built for customer-experience and support teams, agencies, brand and market researchers who track reputation, follow up
on bad reviews and compare competitors. Unofficial; not affiliated with Trustpilot.

### How to use

1. **Companies**: one per row, as Trustpilot knows them: the domain (`www.amazon.com`), the Trustpilot page
   (`https://www.trustpilot.com/review/www.amazon.com`, any language subdomain works) or the company's website URL.
2. Optionally keep only some **Star ratings**, **Review languages** or **Reviewer countries**, only verified reviews or
   reviews with a company reply, or set a date bound.
3. Run it once (the baseline), then schedule it daily or hourly.

| Input | Meaning |
|---|---|
| `startUrls` | Companies: domains, Trustpilot company URLs or website URLs |
| `maxItems` | Reviews returned per company in one run (default 100); also the size of the baseline |
| `sortBy` | `auto` (default), `recent` or `relevancy`; monitoring always reads newest first |
| `filterStars` | Only these star ratings, e.g. `["1", "2"]` |
| `filterLanguages` | Only these review languages, e.g. `["en", "de"]`; empty returns every language |
| `filterCountries` | Only reviewers from these countries, e.g. `["US", "GB"]` |
| `filterVerifiedOnly` | Only reviews Trustpilot verified |
| `filterRepliesOnly` | Only reviews the company replied to |
| `startDate` | Only reviews published on or after this date (`YYYY-MM-DD`) |
| `lastDays` | Only reviews from the last N days |
| `flattenCompanyData` | Adds company columns: name, domain, website, TrustScore, stars, total reviews, country |
| `includeCompanyDetails` | Adds the full company profile (categories, contact details, reply behaviour) as `company` |
| `onlyNewReviews` | Default on: return only reviews published since the previous run. The Console form starts with it off (a one-off run): tick it for a scheduled monitor; API calls and schedules that omit it keep it on |
| `monitorName` | Separate memory per monitor (e.g. one per client) watching the same companies |

#### How "only new reviews" works

Reviews are read newest first. The actor remembers, per company and filter set, the newest review it already returned
(in a key-value store named `trustpilot-reviews-state` in your own account) and stops reading at it next time, so every
review reaches you, and is charged, once. Changing the filters of a company starts a new baseline. If more new reviews
arrive between two runs than `maxItems`, the newest ones are returned: raise the cap or run more often.

### Output example

One row per review, with Trustpilot's own field names (real row, with **Company columns** on):

```json
{
  "id": "6aecbfb83774858a6f184ddf",
  "businessName": "BankFive",
  "businessUrl": "https://www.trustpilot.com/review/www.bankfive.com",
  "publishedDate": "2026-11-05T19:41:12.000Z",
  "experiencedDate": "2026-11-05T00:00:00.000Z",
  "updatedDate": null,
  "rating": 2,
  "title": "Asked to dispute 2 fees only did.for 1",
  "text": "Asked to dispute 2 fees only did.for 1. Charged me 10.00 for a card without let me know",
  "language": "en",
  "reviewerName": "Vivian",
  "reviewerCountry": "US",
  "reviewerNumberOfReviews": 1,
  "isVerified": true,
  "verificationLevel": "verified",
  "source": "InvitationApi",
  "numberOfLikes": 0,
  "companyReply": {
    "message": "Hi Vivian,\n\nThank you for sharing your feedback. We're sorry to hear about your experience and apologize for the frustration caused. I understand our Regional Manager was able to connect with you today to talk through what happened. We appreciate the opportunity to speak with you directly and address your concerns. If there's anything further we can do to assist, please don't hesitate to reach out to us at 1-774-888-6100. Thank you for being a valued customer.\n\nBest, \n\nBankFive",
    "publishedDate": "2026-11-06T22:17:47.000Z",
    "updatedDate": null
  },
  "url": "https://www.trustpilot.com/reviews/6aecbfb83774858a6f184ddf",
  "companyName": "BankFive",
  "companyDomain": "www.bankfive.com",
  "companyWebsite": "https://www.bankfive.com",
  "companyTrustScore": 4.7,
  "companyStars": 4.5,
  "companyTotalReviews": 6040,
  "companyCountryCode": "US",
  "companyUrl": "https://www.trustpilot.com/review/www.bankfive.com",
  "scrapedAt": "2026-11-15T03:01:28.527495+00:00"
}
```

Rows also carry Trustpilot's raw objects (`consumer`, `labels`, `dates`, `reply`, `likes`, `location`,
`productReviews`, ...) for anyone who needs them. The run's `OUTPUT` record summarises `success`, `total`, the companies
seen for the first time and any problems.

### Reliability

Trustpilot only serves its pages to real browsers, so the actor passes Trustpilot's bot check once in Google Chrome
(about 3 seconds on Apify's servers) and reads the following pages with the access token Chrome earned, without
loading them in the browser: 200 reviews of a company take about 15 seconds, 2,000 reviews of 10 companies under 4
minutes. The run uses the Apify server's own connection first and the built-in Apify proxy only as a fallback (Trustpilot
holds Apify's shared datacenter proxy much longer). A company that serves nothing for 150 seconds is reported as
`blocked` in `OUTPUT` and skipped (the next run tries again). A company that does not exist is reported in `OUTPUT`
while the others are still read.

### Not supported

- Trustpilot shows logged-out visitors at most 10 pages (200 reviews) per list. The actor reads the newest-first list,
  then each star rating and language, so one run can collect a few thousand reviews of a big company, but not every
  review of a company with hundreds of thousands. With a star filter the baseline fills `maxItems` from the first
  rating's list before the next one. Monitoring is not affected: new reviews are always within reach.
- Reviewer profile pages, Trustpilot search, automatic expansion to a brand's regional sites (list `amazon.co.uk`,
  `amazon.de`, ... as separate companies), review statistics, transparency pages, email enrichment and AI summaries.

### How much does it cost?

Pay per result: **$0.30 per 1,000 reviews ($0.0003 each)** plus $0.005 per run. The Apify platform usage, including the
browser, is included, so there is nothing else to pay. Examples:

- 5 companies checked daily in one run, about 20 new reviews each a day: about **$1.05 a month**
- a one-off export of the newest 200 reviews of a company: about **$0.065**

Apify's free plan includes monthly credit that covers many runs of this size, so you can try it without a subscription.

### Run it from your code, a schedule or another tool

- **API**: start a run and get the review rows in one call:

  ```bash
  curl -X POST "https://api.apify.com/v2/acts/shelfdata~trustpilot-reviews-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"startUrls": ["www.amazon.com"], "filterStars": ["1", "2"], "maxItems": 100}'
  ```

  The same works from the Apify Python and JavaScript clients.
- **Schedules**: run it daily or hourly from Apify Console > Schedules; with **Only new reviews** each run returns only what is new.
- **Integrations**: send results to Google Sheets, Slack, email, Make, Zapier, n8n or a webhook from the actor's Integrations tab.
- **AI agents**: the actor is available as a tool through the Apify MCP server.

### FAQ

**What happens on the first run?**
Each company is seen for the first time, so the run returns its newest reviews up to **Maximum reviews per company**
(the baseline). Later runs return only reviews published since.

**I want a one-off export, not a monitor.**
Turn **Only new reviews** off: every run then returns the reviews your filters and limit select, sorted as you choose.

**Can several clients or projects share the actor?**
Yes: give each monitoring task its own **Monitor name**; each keeps its own memory of what it already returned.

**Is it legal to scrape this data?**
The actor reads only publicly available pages, the same data any visitor sees, and no data behind a login. Results
include reviewer names and countries published by Trustpilot; if you store them, handle them under the privacy rules
that apply to you (such as the GDPR).

**Something is missing or broken?**
Open an issue on the actor's Issues tab: requests and bug reports are answered there.

# Actor input Schema

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

One company per row: its domain as Trustpilot shows it (`www.amazon.com`, `bankfive.com`), its Trustpilot page (`https://www.trustpilot.com/review/www.amazon.com`, any language subdomain) or its own website URL. Each company is read on its own; regional sites (e.g. `amazon.co.uk`) are separate Trustpilot companies, list them too.

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

Reviews returned per company in one run. Also the size of the first (baseline) run of a monitor.

## `sortBy` (type: `string`):

With **Only new reviews** on, reviews are always read newest first (`Most relevant` needs it off). `Auto` without a star filter or date splits the limit across star ratings.

## `filterStars` (type: `array`):

Only reviews with these star ratings, e.g. 1 and 2 to catch complaints. Empty returns all.

## `filterLanguages` (type: `array`):

Language codes such as `en`, `de`, `fr` (`unknown` for reviews Trustpilot could not classify). Empty returns reviews in every language.

## `filterCountries` (type: `array`):

Two-letter countries of the reviewer's profile, e.g. `US`, `GB`. Empty keeps all. Trustpilot has no country filter of its own, so other reviews are still read and dropped.

## `filterVerifiedOnly` (type: `boolean`):

Trustpilot's own 'Verified' filter.

## `filterRepliesOnly` (type: `boolean`):

Trustpilot's own 'With replies' filter.

## `startDate` (type: `string`):

Only reviews published on or after this date (YYYY-MM-DD, UTC).

## `lastDays` (type: `integer`):

Only reviews published in the last N days, counted from the run's start. With **Reviews since** too, the later bound wins.

## `flattenCompanyData` (type: `boolean`):

Adds `companyName`, `companyDomain`, `companyWebsite`, `companyTrustScore`, `companyStars`, `companyTotalReviews`, `companyCountryCode` and `companyUrl` to every review (no extra requests).

## `includeCompanyDetails` (type: `boolean`):

Adds the company's Trustpilot profile as a nested `company` object: categories, contact details, TrustScore, review count, reply behaviour (no extra requests).

## `onlyNewReviews` (type: `boolean`):

Remembers per company and filter set the newest review already returned (in a key-value store named `trustpilot-reviews-state` in your account), so each scheduled run returns only reviews published since. The first run of a company returns its newest reviews up to the maximum (baseline). Turn off for one-off exports. The form starts with it off (a one-off run); tick it for scheduled monitoring. API calls and schedules that omit this field keep it on.

## `monitorName` (type: `string`):

Keeps separate memories for different monitors (e.g. one per client) that watch the same companies.

## `proxySource` (type: `string`):

Automatic needs no setup and is the fastest: Trustpilot's bot check passes in seconds from Apify's own servers, while Apify's shared datacenter proxy is often held for half a minute or more. Residential uses your own Apify Residential traffic in the country below.

## `apifyProxyCountry` (type: `string`):

Two-letter country for `My Apify Residential proxies`.

## `apifyProxySessions` (type: `integer`):

Sticky sessions (exits) to rotate over when one is refused; with Automatic they are only the fallback.

## `customProxyUrls` (type: `string`):

For `My custom proxy list`: one http(s)://user:password@host:port per line (semicolons or a JSON array also work).

## Actor input object example

```json
{
  "startUrls": [
    "www.amazon.com"
  ],
  "maxItems": 5,
  "sortBy": "auto",
  "filterStars": [],
  "filterVerifiedOnly": false,
  "filterRepliesOnly": false,
  "flattenCompanyData": false,
  "includeCompanyDetails": false,
  "onlyNewReviews": false,
  "monitorName": "default",
  "proxySource": "direct",
  "apifyProxyCountry": "US",
  "apifyProxySessions": 2
}
```

# Actor output Schema

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

Dataset rows: one per review.

## `summary` (type: `string`):

OUTPUT record: success, total rows, baseline companies, spending-limit stop and problems.

# 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": [
        "www.amazon.com"
    ],
    "maxItems": 5,
    "onlyNewReviews": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("shelfdata/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 = {
    "startUrls": ["www.amazon.com"],
    "maxItems": 5,
    "onlyNewReviews": False,
}

# Run the Actor and wait for it to finish
run = client.actor("shelfdata/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 '{
  "startUrls": [
    "www.amazon.com"
  ],
  "maxItems": 5,
  "onlyNewReviews": false
}' |
apify call shelfdata/trustpilot-reviews-scraper --silent --output-dataset

```

## MCP server setup

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