# Trustpilot Reviews Scraper - Ratings & Company Profile (`sweet_stickball/trustpilot-reviews`) Actor

Scrape Trustpilot reviews for any company domain: rating, title, text, date, company reply and the company profile (TrustScore, review count). Trustpilot review scraper for review monitoring, authors pseudonymized.

- **URL**: https://apify.com/sweet_stickball/trustpilot-reviews.md
- **Developed by:** [CrawlKit](https://apify.com/sweet_stickball) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 94.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.48 / 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.
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 Reviews Scraper - Ratings & Company Profile

Scrape **reviews and the company profile** of a Trustpilot company page: ratings, review text, dates, pseudonymized author names and company replies, as flat JSON. No API key, no start fee.

### Features

- **Reviews + company profile in one run** — overall rating, trust score, review count and category alongside individual reviews
- **Flexible input** — a Trustpilot URL or a bare domain (a company name is converted to a guessed page slug)
- **Pseudonymized authors** — reviewer names are shortened to first name + initial (e.g. `Jane D.`)
- **Structured extraction** — reads the page's embedded `__NEXT_DATA__` JSON, with JSON-LD as fallback
- **Real browser** — pages are loaded in a regular (non-headless) Chromium through Apify Proxy, which runs Trustpilot's connection check like any visitor's browser; if Trustpilot blocks a request, the actor retries with a new proxy session (datacenter first, then residential). Visual CAPTCHAs are never solved; the actor just tries another session.

### Input

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `companyUrl` | string | Yes | — | Trustpilot URL or domain (e.g., `"https://www.trustpilot.com/review/amazon.com"`, `"amazon.com"`). A company name is turned into a guessed slug that may not match, so prefer the domain. |
| `maxReviews` | integer | No | `50` | Maximum reviews to scrape (1–10,000) |

### Output

**Company profile** (first result):

```json
{
    "type": "companyProfile",
    "companyName": "Amazon",
    "companySlug": "amazon.com",
    "overallRating": 4.2,
    "totalReviews": 50000,
    "trustScore": 4.2,
    "stars": 4,
    "category": "Electronics",
    "claimed": true,
    "websiteUrl": "https://amazon.com",
    "scrapedAt": "2024-12-01T10:30:00Z"
}
```

**Individual reviews**:

```json
{
    "type": "review",
    "companySlug": "amazon.com",
    "title": "Great customer service",
    "text": "They resolved my issue quickly and professionally...",
    "rating": 5,
    "date": "2024-11-28T14:22:00Z",
    "experienceDate": "2024-11-25",
    "author": "Jane D.",
    "companyReply": "Thank you for your kind words!",
    "language": "en",
    "verified": true,
    "scrapedAt": "2024-12-01T10:30:00Z"
}
```

### Input Example

```json
{
    "companyUrl": "amazon.com",
    "maxReviews": 100
}
```

### Pricing

Pay-per-event, **no start fee**: **$0.48 per 1,000 reviews** on the Apify Free plan, with lower prices on paid plans.

| Event | Free | Starter | Scale | Business | Enterprise |
|-------|------|---------|-------|----------|------------|
| Review (`REVIEW`) | $0.48 | $0.48 | $0.48 | $0.48 | $0.48 |

Prices in USD per 1,000 events.

#### Cost examples (Free plan)

| Reviews | Cost |
|---------|------|
| 50 | $0.024 |
| 100 | $0.048 |
| 1,000 | $0.48 |

### Use cases

- **Brand monitoring** — track how customers feel about your company (or a competitor's) over time
- **Vendor due diligence** — check a supplier's reputation before signing a contract
- **Sentiment analysis** — feed structured review data into NLP or LLM pipelines
- **Market research** — compare trust scores and review volume across companies in a category

### Limitations

- **Browser-based** — each run starts Chromium, so runs take about 20–60 seconds even for a few reviews, longer if a proxy session has to be retried.
- **Default view only** — reviews are read from Trustpilot's default (English, `en-US`) page view, in Trustpilot's default order, 20 per page; there are no star, language or date filters.
- **Company profile record** — the first dataset item is the company profile; it is charged as one `REVIEW` event.
- **Blocking** — if every proxy session is blocked (or a visual CAPTCHA is shown on each), the run ends FAILED with the reason; if blocking happens mid-pagination, the run stops early with the reviews collected so far.
- **Unknown pages** — if no Trustpilot page exists for the given domain/slug, the run ends FAILED.

### Related Actors

- [Amazon Reviews Scraper API - 9 Marketplaces, No Login](https://apify.com/sweet_stickball/amazon-reviews-scraper) — Scrape Amazon product reviews: rating, text, date, verified purchase and helpful votes on 9 marketplaces. Amazon reviews data API, no login needed.
- [Yelp Scraper API - Reviews, Ratings & Coordinates](https://apify.com/sweet_stickball/yelp-scraper) — Scrape Yelp businesses and reviews: name, address, rating, review count, coordinates and review text. Yelp data API for local research, no login.
- [App Store Reviews Scraper - iOS & Google Play Reviews](https://apify.com/sweet_stickball/app-store-reviews-scraper) — Scrape app reviews and ratings from the Apple App Store and Google Play: review text, rating, date, app version and app metadata.
- [Shopify Scraper API - Products & Variants, $0.70/1K](https://apify.com/sweet_stickball/shopify-store-scraper) — Scrape any Shopify store's products: prices, compare-at prices, variants, stock and images. Shopify catalog API for competitor research, no login.

# Actor input Schema

## `companyUrl` (type: `string`):

Trustpilot company page URL, domain, or company name. Examples: 'https://www.trustpilot.com/review/example.com', 'example.com', 'Amazon'

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

Maximum number of reviews to scrape (Trustpilot shows 20 reviews per page; each extra page adds a few seconds).

## Actor input object example

```json
{
  "companyUrl": "amazon.com",
  "maxReviews": 10
}
```

# Actor output Schema

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

Dataset items shown with the 'results' view.

# 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 = {
    "companyUrl": "amazon.com",
    "maxReviews": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("sweet_stickball/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 = {
    "companyUrl": "amazon.com",
    "maxReviews": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("sweet_stickball/trustpilot-reviews").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 '{
  "companyUrl": "amazon.com",
  "maxReviews": 10
}' |
apify call sweet_stickball/trustpilot-reviews --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sweet_stickball/trustpilot-reviews"
        }
    }
}
```

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/emJZQzeCKOAZTlWIs/builds/o0GQBS4FtxxzLsqgJ/openapi.json
