# Trustpilot Scraper Pro (`coder_zoro/trustpilot-scraper-pro`) Actor

Trustpilot Scraper Pro is a powerful Apify actor that extracts detailed business information and customer reviews from Trustpilot. Choose between two modes: scrape company data (name, rating, contact, etc.) or collect reviews with filters.

- **URL**: https://apify.com/coder_zoro/trustpilot-scraper-pro.md
- **Developed by:** [Zoro](https://apify.com/coder_zoro) (community)
- **Categories:** Automation, E-commerce, SEO tools
- **Features:** Limited permissions
- **Stats:** 222 total users, 5 monthly users, 100.0% runs succeeded, 17 bookmarks
- **User rating**: 4.73 out of 5 stars

## Pricing

from $2.99 / 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/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 Scraper Pro

![Scrape Trustpilot](https://i.imgur.com/63QK0tK.jpg)

A powerful and flexible Apify actor that lets you **scrape company information and reviews from Trustpilot**. Designed for automation, lead generation, reputation monitoring, and business intelligence.

***

### Features

- 🔍 **Company Info Scraper** — Get business details like name, address, rating, contact info, verification status, categories, etc.
- ✍️ **Review Scraper** — Extract recent reviews with filtering (by stars, sort order, page range).
- 📦 Pushes structured data to Apify dataset.

***

### Modes

| Mode           | Description                                    |
|----------------|------------------------------------------------|
| `company_info` | Scrapes details about one or more companies    |
| `reviews`      | Scrapes reviews from a specific company page   |

***

### Input Examples

#### 1. Company Info Mode

```json
{
  "mode": "company_info",
  "companyUrls": [
    "https://www.trustpilot.com/review/www.google.com",
    "https://www.trustpilot.com/review/www.facebook.com"
  ]
}
```

#### 2. Reviews Mode

```json
{
  "mode": "reviews",
  "companyUrl": "https://www.trustpilot.com/review/www.apple.com",
  "sort": "relevance",
  "stars": "5",
  "pageMin": 1,
  "pageMax": 3
}
```

***

### Output Format

#### For `company_info` mode:

```json
{
  "name": "Google",
  "verified": true,
  "claimed": true,
  "reviews": 10500,
  "rating": 4.2,
  "address": "1600 Amphitheatre Parkway",
  "city": "Mountain View",
  "zipcode": "94043",
  "country": "United States",
  "email": "support@google.com",
  "phone": "+1 650-253-0000",
  "website": "https://www.google.com",
  "category": "Internet services",
  "recent_review_date": "2024-12-01",
  "recent_review_title": "Great service!",
  "recent_review_text": "Loved the product and support team.",
  "recent_reviewer_name": "John D.",
  "recent_review_rating": 5,
  "trustpilot_url": "https://www.trustpilot.com/review/www.google.com",
  "one_star_count": 100,
  "two_star_count": 50,
  "three_star_count": 200,
  "four_star_count": 800,
  "five_star_count": 9350
}
```

***

#### For `reviews` mode:

```json
{
  "title": "Excellent Support!",
  "text": "Quick and helpful service when I needed it.",
  "rating": 5,
  "date": "2024-11-30",
  "reviewer": "Alice W.",
  "page": 1
}
```

***

### Output Download

- Apify Dataset → Export as:
  - `.json`
  - `.csv`
  - `.xlsx`
  - `.xml`
- Or download via Apify API.

***

### Use Cases

- ✅ Lead generation for marketing and sales
- ✅ Competitor monitoring and market research
- ✅ Reputation and sentiment analysis
- ✅ Business directory creation
- ✅ SEO intelligence and profile audits

***

### ⚙️ How It Works

1. Select a mode: `company_info` or `reviews`
2. Provide input as shown in the examples
3. The actor fetches and parses Trustpilot data
4. Results are saved in Apify dataset

***

### 📌 Notes

- URLs must start with `https://www.trustpilot.com/review/`
- If you input a raw domain like `facebook.com`, the actor will auto-format it correctly.
- Review scraping supports filtering by:
  - Stars: `1` to `5` or `all`
  - Sort: `"relevance"` or `"newest"`
  - Pagination: Specify `pageMin` and `pageMax`

***

For feature requests or issues, please open a GitHub Issue or contact via Apify.

***

### 📈 Tags

`trustpilot` `review scraper` `lead generation` `seo tool` `automation` `data extractor` `business scraper` `review monitoring` `company info`

***

# Actor input Schema

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

Choose what to scrape: company profile info or reviews.

## `companyUrls` (type: `array`):

One or more Trustpilot company URLs or domains (e.g. 'apple.com' or a full trustpilot.com/review/... URL). Used when mode = company_info.

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

A single Trustpilot company URL or domain. Used when mode = reviews.

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

How to sort reviews.

## `stars` (type: `string`):

Filter reviews by star rating, or 'all' for every rating.

## `pageMin` (type: `integer`):

First review page to scrape (reviews mode).

## `pageMax` (type: `integer`):

Last review page to scrape (reviews mode).

## `proxyUrl` (type: `string`):

Full proxy URL (http://user:pass@host:port). Leave empty to run without a proxy.

## Actor input object example

```json
{
  "mode": "company_info",
  "companyUrls": [
    "apple.com"
  ],
  "companyUrl": "apple.com",
  "sort": "relevance",
  "stars": "all",
  "pageMin": 1,
  "pageMax": 2,
  "proxyUrl": ""
}
```

# 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 = {
    "companyUrls": [
        "apple.com"
    ],
    "companyUrl": "apple.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder_zoro/trustpilot-scraper-pro").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 = {
    "companyUrls": ["apple.com"],
    "companyUrl": "apple.com",
}

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

```

## MCP server setup

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

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/61WFZGx48ladiqz3t/builds/CGe0wEdcfwf4DLnPH/openapi.json
