# Trustpilot Scraper - Company Reviews & Ratings to CSV/Excel (`matrix-crawl/trustpilot-scraper`) Actor

Scrape Trustpilot company data and reviews at scale. Browse by category or target specific domains (apple.com, nike.com). Extract TrustScore, review count, website, phone, address, categories — plus full reviews with rating, text, author, date and company reply. No login, no API key.

- **URL**: https://apify.com/matrix-crawl/trustpilot-scraper.md
- **Developed by:** [Matrix Crawl](https://apify.com/matrix-crawl) (community)
- **Categories:** Lead generation, SEO tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Scraper — Company Reviews, Ratings & Contacts to CSV/Excel

**Scrape Trustpilot company data and reviews at scale.** Pull companies by category or scrape specific businesses by domain — TrustScore, review count, website, phone, address, categories — plus full reviews (title, text, rating, author, date, company reply). Export to CSV, Excel or JSON. No login, no API key.

`trustpilot scraper` · `trustpilot reviews` · `review scraper` · `company ratings` · `reputation monitoring` · `competitor research` · `lead generation` · `trustscore`

Built for reputation monitoring, competitor and market research, and lead generation.

---

### 👥 Who Is This For?
* **Reputation / CX teams:** Track a company's reviews, ratings, and reply behavior over time.
* **Market & competitor research:** Compare TrustScores and review volumes across a category.
* **Sales / lead-gen:** Pull companies (with website + phone) from a Trustpilot category.

---

### ⚡ Features
* **Two modes** — browse a **category** (many companies) or scrape **specific company domains**.
* **Company data** — name, TrustScore, stars, review count, website, phone, email, address, categories, logo.
* **Reviews (optional)** — title, text, rating, author, country, dates, and company reply, with sort + language control.
* **You control cost** — caps per company and per whole run.
* **De-duplicated** — by company domain.
* **Export** — CSV/Excel/JSON, or call via Apify's MCP server.

---

### 🚀 How to Use
**Category mode:** add category slugs (from `trustpilot.com/categories/{slug}`), e.g. `bank`, `electronics_technology`.
**Company mode:** add domains, e.g. `apple.com`, `nike.com` (full Trustpilot review URLs work too). When set, categories are ignored.

Turn on **Scrape reviews** to collect reviews, and set **Max reviews per company** / **Max reviews total** to control volume and cost.

#### Sample Input
```json
{
  "companyDomains": ["apple.com", "nike.com"],
  "scrapeReviews": true,
  "maxReviewsPerCompany": 100,
  "reviewsSort": "recency",
  "reviewLanguage": "all",
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
````

***

### 📊 Output — Company fields

| Field | Type | Example |
|-------|------|---------|
| `name` | string | `"Happen Bank"` |
| `domain` | string | `"happen.com"` |
| `trustpilotUrl` | string | `"https://www.trustpilot.com/review/happen.com"` |
| `trustScore` | number | `4.7` |
| `stars` | number | `4.5` |
| `reviewCount` | integer | `13879` |
| `reviewsLast12Months` | integer | `6836` |
| `website` | string | null | `"https://happen.com"` |
| `email` | string | null | `null` |
| `phone` | string | null | `"(888) 596-3157"` |
| `address` / `city` / `zipCode` / `country` | string | null | `"88 Kearny St"` / `"San Francisco"` … |
| `categories` | string | null | `"Bank, Financial Institution"` |
| `categoryHierarchy` | string | null | `"Bank"` |
| `isClaimed` / `isClosed` | boolean | `true` / `false` |
| `logoUrl` | string | null | `"https://…/logo.png"` |
| `scrapedAt` | string (ISO) | `"2026-07-02T10:00:00.000Z"` |

#### With **Scrape reviews** on — each company gains `reviews[]`

| Review field | Description |
|-------|-------------|
| `title`, `text`, `rating` | Review headline, body, 1–5 stars |
| `author`, `authorCountry`, `authorReviewCount` | Reviewer name, country, their review count |
| `experiencedDate`, `publishedDate` | When the experience happened / review posted |
| `isVerified`, `reviewSource` | Verification flag + source |
| `reply` | Company's response `{ message, publishedDate }` if any |

Plus `reviewsScraped` (how many were captured for that company).

#### Sample Output

```json
{
  "name": "Happen Bank",
  "domain": "happen.com",
  "trustpilotUrl": "https://www.trustpilot.com/review/happen.com",
  "trustScore": 4.7,
  "stars": 4.5,
  "reviewCount": 13880,
  "reviewsLast12Months": 6836,
  "website": "https://happen.com",
  "email": null,
  "phone": "(888) 596-3157",
  "address": "88 Kearny Street, Suite 600",
  "city": "San Francisco",
  "zipCode": "94108",
  "country": "US",
  "categories": "Bank, Financial Institution",
  "categoryHierarchy": "Bank",
  "logoUrl": "https://s3-eu-west-1.amazonaws.com/tpd/logos/5060f52a00006400051bf99f/0x0.png",
  "isClaimed": true,
  "isClosed": false,
  "scrapedAt": "2026-07-02T20:10:03.463Z",
  "reviews": [
    {
      "id": "6a456c97cb74d42d14dcfeb1",
      "title": "Worst bank ever",
      "text": "Worst bank ever!  Loved Lending Club Bank that I had been with for 4 years. They switched to Happen ...",
      "rating": 1,
      "likes": 0,
      "author": "Disappointed and stuck",
      "authorReviewCount": 10,
      "authorCountry": "US",
      "experiencedDate": "2026-07-01T00:00:00.000Z",
      "publishedDate": "2026-07-01T21:37:59.000Z",
      "isVerified": false,
      "reviewSource": "Organic",
      "reply": {
        "message": "Thanks for bringing this to our attention and we’re sorry there have been issues ...",
        "publishedDate": "2026-07-02T16:23:40.000Z"
      }
    }
  ],
  "reviewsScraped": 1
}
```

***

### 💡 Proxy (required)

Uses **residential** proxy (Trustpilot blocks data-center IPs). Apify residential is the default and works out of the box; you can plug in your own for higher volume.

### ⚖️ Compliance & Responsible Use

Reviews contain **personal data** (author names, locations). You are responsible for a lawful basis (e.g. GDPR) when collecting and using it, for anti-spam compliance in any outreach, and for respecting Trustpilot's Terms of Service and `robots.txt`. Collect and use publicly available data responsibly.

# Actor input Schema

## `categories` (type: `array`):

Trustpilot category slugs (from trustpilot.com/categories/{slug}), e.g. "bank", "electronics\_technology". Used when no company domains are given.

## `companyDomains` (type: `array`):

Scrape specific companies instead of browsing categories, e.g. "apple.com", "nike.com". You may paste full Trustpilot review URLs too. When set, Categories is ignored.

## `country` (type: `string`):

Optional country filter for category browsing, e.g. "US", "GB".

## `maxPagesPerCategory` (type: `integer`):

Category pages to crawl per category (20 companies per page).

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

Hard cap on total companies (category mode). 0 = no cap.

## `scrapeReviews` (type: `boolean`):

Also collect each company's reviews (title, text, rating, author, date, company reply). Slower and uses more bandwidth — one browser request per review page (~20 reviews each).

## `maxReviewsPerCompany` (type: `integer`):

Cap on reviews collected per company (0 = all). Default 20 ≈ one page.

## `maxReviewsTotal` (type: `integer`):

Run-wide review ceiling across all companies (0 = no cap). Bill safety.

## `reviewsSort` (type: `string`):

Order reviews are collected in.

## `reviewLanguage` (type: `string`):

"all" captures reviews in every language/country. "site" keeps Trustpilot's default locale filtering.

## `debugLog` (type: `boolean`):

Extra logging for troubleshooting.

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

Residential proxy is required — Trustpilot blocks data-center IPs. Default Apify residential works out of the box.

## Actor input object example

```json
{
  "categories": [
    "bank"
  ],
  "maxPagesPerCategory": 1,
  "maxItems": 20,
  "scrapeReviews": false,
  "maxReviewsPerCompany": 20,
  "maxReviewsTotal": 0,
  "reviewsSort": "recency",
  "reviewLanguage": "all",
  "debugLog": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "categories": [
        "bank"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("matrix-crawl/trustpilot-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 = { "categories": ["bank"] }

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Trustpilot Scraper - Company Reviews & Ratings to CSV/Excel",
        "description": "Scrape Trustpilot company data and reviews at scale. Browse by category or target specific domains (apple.com, nike.com). Extract TrustScore, review count, website, phone, address, categories — plus full reviews with rating, text, author, date and company reply. No login, no API key.",
        "version": "1.0",
        "x-build-id": "24UdCssctmg0NtNRR"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/matrix-crawl~trustpilot-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-matrix-crawl-trustpilot-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/matrix-crawl~trustpilot-scraper/runs": {
            "post": {
                "operationId": "runs-sync-matrix-crawl-trustpilot-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/matrix-crawl~trustpilot-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-matrix-crawl-trustpilot-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "categories": {
                        "title": "Categories",
                        "type": "array",
                        "description": "Trustpilot category slugs (from trustpilot.com/categories/{slug}), e.g. \"bank\", \"electronics_technology\". Used when no company domains are given.",
                        "default": [
                            "bank"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "companyDomains": {
                        "title": "Company domains (optional)",
                        "type": "array",
                        "description": "Scrape specific companies instead of browsing categories, e.g. \"apple.com\", \"nike.com\". You may paste full Trustpilot review URLs too. When set, Categories is ignored.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "Country filter (category mode)",
                        "type": "string",
                        "description": "Optional country filter for category browsing, e.g. \"US\", \"GB\"."
                    },
                    "maxPagesPerCategory": {
                        "title": "Max pages per category",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Category pages to crawl per category (20 companies per page).",
                        "default": 1
                    },
                    "maxItems": {
                        "title": "Maximum companies",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Hard cap on total companies (category mode). 0 = no cap.",
                        "default": 20
                    },
                    "scrapeReviews": {
                        "title": "Scrape reviews",
                        "type": "boolean",
                        "description": "Also collect each company's reviews (title, text, rating, author, date, company reply). Slower and uses more bandwidth — one browser request per review page (~20 reviews each).",
                        "default": false
                    },
                    "maxReviewsPerCompany": {
                        "title": "Max reviews per company",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Cap on reviews collected per company (0 = all). Default 20 ≈ one page.",
                        "default": 20
                    },
                    "maxReviewsTotal": {
                        "title": "Max reviews total (whole run)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Run-wide review ceiling across all companies (0 = no cap). Bill safety.",
                        "default": 0
                    },
                    "reviewsSort": {
                        "title": "Review sort order",
                        "enum": [
                            "recency",
                            "relevance"
                        ],
                        "type": "string",
                        "description": "Order reviews are collected in.",
                        "default": "recency"
                    },
                    "reviewLanguage": {
                        "title": "Review language",
                        "enum": [
                            "all",
                            "site"
                        ],
                        "type": "string",
                        "description": "\"all\" captures reviews in every language/country. \"site\" keeps Trustpilot's default locale filtering.",
                        "default": "all"
                    },
                    "debugLog": {
                        "title": "Debug logging",
                        "type": "boolean",
                        "description": "Extra logging for troubleshooting.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Residential proxy is required — Trustpilot blocks data-center IPs. Default Apify residential works out of the box.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
