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

Scrape structured Trustpilot reviews and business-summary data across multiple businesses in one run, with pagination and star-rating filtering. Includes verification level, company replies, and trust score — fields incumbents often skip.

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

## Pricing

Pay per event

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?

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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## Trustpilot Reviews Scraper

**💰 $3.20 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Scrape structured reviews and business-summary data from Trustpilot business review pages, across an arbitrary list of businesses, with pagination and star-rating filtering, in a single run.

</div>

***

### 🎯 What this scrapes

Trustpilot is the review platform businesses live and die by — and comparing reputation across even a handful of competitors means opening a dozen browser tabs and copy-pasting by hand. This Actor takes a list of businesses (bare domains or full review URLs) and returns every review, paginated and optionally filtered by star rating, in one normalized dataset — reviewer details, verification level, company replies, and the business's own trust score and review count, side by side.

### 🔥 What we handle for you

- 🛡️ **We solve the challenge once, not per page** — a single browser pass clears the target's interstitial, then every subsequent request replays cleanly.
- 🌐 **Apify Proxy on every request**, with automatic re-solve if a session goes stale mid-run.
- 🔁 **We retry with exponential backoff** on `408 / 429 / 5xx` and honour `Retry-After`.
- 🧱 **Fault isolation per business** — one blocked or malformed business is skipped and logged; the rest of your run finishes.
- 🧊 **Clean, typed dataset rows** — Pydantic-validated, deduped by review ID, JSON / CSV export straight from the Apify Console.
- 💰 **Pay-Per-Event pricing** — you only pay for reviews that land in your dataset.

### 💡 Use cases

- **Competitive reputation tracking** — pull reviews for your business and its top competitors in one run.
- **Customer feedback mining** — feed review text into sentiment analysis or a support-ticket triage pipeline.
- **Sales and partnership research** — check a prospective partner's trust score and recent review trend before a call.
- **Review-response auditing** — see which reviews a business replied to, and how fast.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Add one or more businesses — a bare domain (`nike.com`) or a full `trustpilot.com/review/...` URL.
3. Optionally set a max reviews per business, a star-rating filter, or a language filter.
4. Click **Start**. Reviews stream into the run's dataset as they're scraped.

### 📥 Input

| Field | Type | Required | Description |
|---|---|---|---|
| `businesses` | array of string | Yes | Bare domains or full Trustpilot review URLs. |
| `maxReviewsPerBusiness` | integer | No (default 100) | Cap per business, 1-5000. |
| `stars` | integer | No | Restrict to a single star rating, 1-5. |
| `language` | string | No | ISO 639-1 language filter. |
| `proxyConfiguration` | object | No | Apify Proxy configuration. |

```json
{
  "businesses": ["nike.com", "amazon.com"],
  "maxReviewsPerBusiness": 50,
  "stars": null,
  "language": null,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

### 📤 Output

| Field | Type | Description |
|---|---|---|
| `review_id` | string | Trustpilot review ID. |
| `reviewer_name` | string | Display name of the reviewer. |
| `reviewer_country` | string | null | Reviewer's country code, when public. |
| `rating` | integer | Star rating, 1-5. |
| `title` | string | Review title. |
| `body` | string | Review text. |
| `date_experienced` | string | Date the reviewer experienced the service. |
| `date_published` | string | ISO-8601 publish timestamp. |
| `is_verified` | boolean | Whether Trustpilot marks the review as verified. |
| `verification_level` | string | null | Verification tier, when exposed. |
| `company_reply_text` | string | null | Business's reply, if any. |
| `company_reply_date` | string | null | Date of the business's reply, if any. |
| `language` | string | null | Review language, when exposed. |
| `source_business_domain` | string | Business identifier from input. |
| `business_display_name` | string | Business's display name on Trustpilot. |
| `business_trust_score` | number | null | Business's current trust score. |
| `business_review_count` | integer | null | Business's total review count. |

```json
{
  "review_id": "64f1a2b3c9d4e5f6a7b8c9d0",
  "reviewer_name": "J. Alvarez",
  "reviewer_country": "US",
  "rating": 5,
  "title": "Fast shipping, great fit",
  "body": "Ordered on Monday, arrived Thursday. Sizing chart was accurate.",
  "date_experienced": "2026-09-01",
  "date_published": "2026-09-03T14:22:10.000Z",
  "is_verified": true,
  "verification_level": "verified",
  "company_reply_text": null,
  "company_reply_date": null,
  "language": "en",
  "source_business_domain": "www.nike.com",
  "business_display_name": "Nike",
  "business_trust_score": 1.5,
  "business_review_count": 13038
}
```

### 💰 Pricing

Pay-Per-Event. No subscription, no minimum spend.

| Event | Price | Trigger |
|---|---|---|
| Actor start | $0.20 | Once per run |
| Result row | $0.003 | Once per review pushed to your dataset |

100 reviews across your businesses costs about $0.50 total ($0.20 + 100 × $0.003). At 1,000 reviews the flat start fee amortizes down to roughly $3.20 per 1,000 results.

### 🚧 Limitations

- Business review pages only — reviewer profile pages and review history are out of scope.
- No point-in-time snapshots; each run reflects current live data.
- The `language` filter falls back to client-side filtering if Trustpilot exposes no matching query parameter for it.
- Date-range filtering is not supported — no confirmed query parameter exists for it.

### ❓ FAQ

**Does this work for any business on Trustpilot?**
Yes — supply a bare domain or a full review URL for any business with a public Trustpilot page.

**What happens if one business in my list is blocked or invalid?**
That business is skipped and logged; the rest of your run completes normally.

**Do I get charged if a business has zero matching reviews?**
No — you're only charged per review row actually pushed to your dataset, plus the flat run-start fee.

### 🙋 Your feedback

Found a bug or have a feature request? Open an issue on the Actor's Apify Store page or reach out via [apify.com/DevilScrapes](https://apify.com/DevilScrapes) — we read every message.

# Actor input Schema

## `businesses` (type: `array`):

Businesses to scrape reviews for. Accepts a bare domain (e.g. 'nike.com') or a full trustpilot.com/review/... URL — both are normalized to the same identifying-name segment internally.

## `maxReviewsPerBusiness` (type: `integer`):

Cap on reviews fetched per business. Each business's cap is independent (fault isolation) — one business hitting its cap or failing never affects another.

## `stars` (type: `integer`):

Optional. Restrict results to reviews with this exact star rating (1-5). Leave unset to fetch all ratings.

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

Optional. ISO 639-1 language code (e.g. 'en'). Filters reviews by language; falls back to client-side filtering if Trustpilot exposes no matching query parameter.

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

Apify Proxy configuration used for both the one-time challenge solve and every subsequent request. Datacenter-first by default — no residential group is forced unless cloud QA proves it's required.

## Actor input object example

```json
{
  "businesses": [
    "nike.com",
    "amazon.com"
  ],
  "maxReviewsPerBusiness": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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 = {
    "businesses": [
        "nike.com",
        "amazon.com"
    ],
    "maxReviewsPerBusiness": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/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 = {
    "businesses": [
        "nike.com",
        "amazon.com",
    ],
    "maxReviewsPerBusiness": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/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 '{
  "businesses": [
    "nike.com",
    "amazon.com"
  ],
  "maxReviewsPerBusiness": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devilscrapes/trustpilot-reviews-scraper --silent --output-dataset

```

## MCP server setup

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