# 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 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 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Trustpilot Reviews Scraper",
        "description": "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.",
        "version": "0.1",
        "x-build-id": "OzzCbRX9XSrJ4AgXS"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/tacps126~trustpilot-reviews/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-tacps126-trustpilot-reviews",
                "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/tacps126~trustpilot-reviews/runs": {
            "post": {
                "operationId": "runs-sync-tacps126-trustpilot-reviews",
                "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/tacps126~trustpilot-reviews/run-sync": {
            "post": {
                "operationId": "run-sync-tacps126-trustpilot-reviews",
                "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",
                "required": [
                    "companies"
                ],
                "properties": {
                    "companies": {
                        "title": "Companies",
                        "type": "array",
                        "description": "Company domains or Trustpilot review URLs (e.g. \"apify.com\" or \"https://www.trustpilot.com/review/apify.com\").",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxReviews": {
                        "title": "Max reviews",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum total reviews to emit across all companies.",
                        "default": 100
                    },
                    "stars": {
                        "title": "Star filter",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Only reviews with this star rating (1-5). Leave empty for all."
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Filter reviews by language code (e.g. \"en\")."
                    },
                    "sort": {
                        "title": "Sort by",
                        "enum": [
                            "recency",
                            "relevance"
                        ],
                        "type": "string",
                        "description": "Order of returned reviews."
                    },
                    "verified": {
                        "title": "Verified only",
                        "type": "boolean",
                        "description": "Only include verified reviews.",
                        "default": false
                    },
                    "datePeriod": {
                        "title": "Date period",
                        "enum": [
                            "last30days",
                            "last3months",
                            "last6months"
                        ],
                        "type": "string",
                        "description": "Only reviews from this recent window."
                    },
                    "search": {
                        "title": "Search text",
                        "type": "string",
                        "description": "Only reviews whose content matches this text."
                    },
                    "includeCompanyDetails": {
                        "title": "Include company details",
                        "type": "boolean",
                        "description": "Also output a company record per company (TrustScore, total reviews, reply metrics, contact info, categories).",
                        "default": true
                    },
                    "dedupe": {
                        "title": "Deduplicate",
                        "type": "boolean",
                        "description": "Drop duplicate reviews (by review id + company).",
                        "default": true
                    },
                    "tenantId": {
                        "title": "Tenant ID",
                        "type": "string",
                        "description": "Optional tenant identifier for namespacing and logging."
                    },
                    "debug": {
                        "title": "Debug",
                        "type": "boolean",
                        "description": "Capture debug artifacts for troubleshooting.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Optional. The Actor works without a proxy. Enable an Apify proxy only if you want to route requests through specific countries/regions."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
