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

Extract customer reviews and full company details from any Trustpilot company profile into clean, structured data — ratings, review text, reviewer info, dates, verification, company replies, TrustScore, and more. Fast, reliable, and pay-per-result.

- **URL**: https://apify.com/tacps126/trustpilot-reviews.md
- **Developed by:** [Tapaswai Ashok Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Integrations, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 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/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 Reviews Scraper

Extract customer reviews **and full company details** from any **Trustpilot**
company profile into clean, structured data — ratings, review text, reviewer
info, dates, verification, company replies, TrustScore, and more. Fast,
reliable, and pay-per-result.

### What it does

Give it one or more companies (a domain like `apify.com`, or a full Trustpilot
review URL) and it returns their reviews **plus a company-details record**
(TrustScore, total reviews, reply metrics, contact info, categories) as
structured records you can export to JSON, CSV, or Excel, push to your database,
or feed into another Actor.

### Features

- 🔎 **Multiple companies** in a single run
- 🏢 **Company details** — TrustScore, review counts, reply rate, contact info, categories
- ⭐ **Star / language / date / verified filters** and free-text **search**
- ↕️ **Sort** by most recent or most relevant
- 👤 **Rich reviewer data** — name, country, review count, profile image, verified
- 💬 **Company replies** — text and date
- 🧹 **Deduplication** — no repeated reviews
- ⚡ **Fast & low cost** — quick runs, low pay-per-result pricing, and **no proxy
  needed** by default

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `companies` | array (required) | — | Company domains or Trustpilot review URLs. |
| `maxReviews` | integer | 100 | Maximum total reviews across all companies. |
| `stars` | integer 1–5 | all | Only reviews with this star rating. |
| `language` | string | all | Language code, e.g. `en`. |
| `sort` | string | relevance | `recency` (newest) or `relevance`. |
| `verified` | boolean | false | Only verified reviews. |
| `datePeriod` | string | any | `last30days`, `last3months`, or `last6months`. |
| `search` | string | — | Only reviews whose content matches this text. |
| `includeCompanyDetails` | boolean | true | Also output a company record per company. |
| `dedupe` | boolean | true | Drop duplicate reviews. |
| `proxyConfiguration` | object | off | Optional proxy settings (see below). |

Example input:

```json
{
  "companies": ["apify.com", "https://www.trustpilot.com/review/github.com"],
  "maxReviews": 200,
  "stars": 5,
  "language": "en"
}
```

### Output

The dataset holds two record types, distinguished by a `type` field.

**Review** (`type: "review"`):

| Field | Description |
|-------|-------------|
| `reviewId` | Unique review id |
| `company` | Company domain |
| `url` | Review permalink |
| `rating` | 1–5 |
| `title` / `text` | Review title and body |
| `language` | Review language code |
| `author` / `authorId` | Reviewer name and id |
| `authorCountry` / `authorReviewCount` | Reviewer country, total reviews written |
| `authorImageUrl` / `authorVerified` | Reviewer profile image, verification |
| `verified` | Whether the review is verified |
| `reply` / `replyPublishedAt` | Company reply text and date |
| `likes` | "Useful" votes |
| `reported` | Whether it has unhandled reports |
| `publishedAt` / `experiencedAt` / `updatedAt` | Dates |
| `scrapedAt` | When it was scraped |

**Company** (`type: "company"`, one per company when `includeCompanyDetails`):

| Field | Description |
|-------|-------------|
| `name` / `domain` / `websiteUrl` | Company identity |
| `trustScore` / `stars` | Trustpilot TrustScore and star category |
| `totalReviews` / `reviewsLast12Months` | Review counts |
| `categories` | Industry categories |
| `replyPercentage` / `averageDaysToReply` | Reply metrics |
| `isClaimed` / `isClosed` | Business status |
| `logoUrl` | Company logo |
| `address` / `city` / `country` / `email` / `phone` | Contact info |
| `verifiedByGoogle` / `verifiedPaymentMethod` / `verifiedUserIdentity` | Verifications |

Example review item:

```json
{
  "type": "review",
  "reviewId": "abc123",
  "company": "apify.com",
  "rating": 5,
  "title": "The tool I was always looking for",
  "text": "Great platform for automation…",
  "language": "en",
  "author": "Jason S.",
  "authorVerified": true,
  "verified": true,
  "publishedAt": "2026-01-14T09:12:00Z",
  "scrapedAt": "2026-07-05T05:32:01Z"
}
```

### How to use

1. Add the companies you want reviews for.
2. Set optional filters (`maxReviews`, `stars`, `language`).
3. Run the Actor, then download the results as JSON / CSV / Excel, or use the
   dataset API.

A proxy is **not required** — the Actor works out of the box. You can optionally
enable an Apify proxy under **Proxy** if you want to route traffic through
specific regions.

### Pricing

Pay-per-event: you're charged per review returned. See the Actor's pricing tab.

### Notes & tips

- Provide either a bare domain (`apify.com`) or a full review URL — both work.
- Higher `maxReviews` values take longer and cost more; start small to preview.
- If a company has few or no reviews, the run simply returns fewer items.

# Actor input Schema

## `companies` (type: `array`):

Company domains or Trustpilot review URLs (e.g. "apify.com" or "https://www.trustpilot.com/review/apify.com").

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

Maximum total reviews to emit across all companies.

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

Only reviews with this star rating (1-5). Leave empty for all.

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

Filter reviews by language code (e.g. "en").

## `sort` (type: `string`):

Order of returned reviews.

## `verified` (type: `boolean`):

Only include verified reviews.

## `datePeriod` (type: `string`):

Only reviews from this recent window.

## `search` (type: `string`):

Only reviews whose content matches this text.

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

Also output a company record per company (TrustScore, total reviews, reply metrics, contact info, categories).

## `dedupe` (type: `boolean`):

Drop duplicate reviews (by review id + company).

## `tenantId` (type: `string`):

Optional tenant identifier for namespacing and logging.

## `debug` (type: `boolean`):

Capture debug artifacts for troubleshooting.

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

Optional. The Actor works without a proxy. Enable an Apify proxy only if you want to route requests through specific countries/regions.

## Actor input object example

```json
{
  "companies": [
    "apify.com"
  ],
  "maxReviews": 100,
  "verified": false,
  "includeCompanyDetails": true,
  "dedupe": true,
  "debug": false
}
```

# Actor output Schema

## `reviews` (type: `string`):

The scraped reviews (default dataset items).

# 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 = {
    "companies": [
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/trustpilot-reviews").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 = { "companies": ["apify.com"] }

# Run the Actor and wait for it to finish
run = client.actor("tacps126/trustpilot-reviews").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 '{
  "companies": [
    "apify.com"
  ]
}' |
apify call tacps126/trustpilot-reviews --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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