# Trustpilot Plus (`canadesk/trustpilot-plus`) Actor

No limits and lots of filters! Get reviews and sentiment (Negative, Neutral, Positive) from Trustpilot. It's fast, costs little and supports all countries.

- **URL**: https://apify.com/canadesk/trustpilot-plus.md
- **Developed by:** [Canadesk Support](https://apify.com/canadesk) (community)
- **Categories:** Lead generation, SEO tools, Social media
- **Stats:** 41 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

⭐ Make sure to increase the Actor's memory and timeout for long runs!

### Input

- Websites (array)

  Returns all reviews for a given company (e.g., www.expensify.com).

  Trustpilot may only recognize some variants of the target URL, such as requiring "www".

- Process (select)

  - **Get Reviews** returns up to 100 pages (2,000 results), which is the maximum allowed by Trustpilot frontend.

  - **Get All Reviews** runs one request by star instead (one for 1-star, another for 2-star, etc.).

    This allows the actor to fetch more reviews. However, each request is **still limited** to up to 100 pages.

    In order to grab even more reviews, you will need to play around with the filters (e.g., Language).

    Limitations:

    1. "Maximum" is applied per request, not on Total.

    2. "Stars" filter is not supported.

    3. "Sort by" is only supported with Wrapped formatting.

- Country (select)

  Simulates the Trustpilot region.

- Sort by (select)

  By date (most recent) or relevancy (Trustpilot own algorithm). Does not apply to process "Get All Reviews"!

- Date range (select)

- Search terms (string)

  Returns only reviews where the keywords are found in content. Maximum length of 100 characters.

- Stars (select)

  Returns only reviews with the target ratings. Does not apply to process "Get All Reviews"!

- Language (select)

- Replies (select)

  From Trustpilot: "Reviews with a reply from a company."

- Verified (select)

  From Trustpilot: "Reviews are labeled verified when a company automatically invites people to write a review using Trustpilot’s supported invitation methods."

- Save on usage costs (select)

  The default "List" returns an array of entries.

  "Wrapped" returns a single row per website. See example.

- Maximum (integer)

  🛑 Trustpilot only paginates up to 100 pages per search.

  In order to get more reviews, use "Get All Reviews" or run multiple searches with different filters instead.

- Batch (integer)

  Only relevant for "Get All Reviews"! Number of parallel requests to be executed.

  Default is 1. The higher the number, the more chances you have to be blocked.

- Delay (integer)

  For high-volume scraping, make sure to set a reasonable waiting time.

### Output

**List** format:

```
{
	"id": "6776b0fd097a4df021e6d35c",
	"filtered": false,
	"pending": false,
	"text": "Its so beautiful and timeless I love this jewelry brand!",
	"rating": 5,
	"labels": {
		"merged": null,
		"verification": {
			"isVerified": true,
			"createdDateTime": "2025-01-02T17:30:05.000Z",
			"reviewSourceName": "InvitationApi",
			"verificationSource": "invitation",
			"verificationLevel": "verified",
			"hasDachExclusion": false
		}
	},
	"title": "Best jewelry brand",
	"likes": 0,
	"dates": {
		"experiencedDate": "2024-12-26T00:00:00.000Z",
		"publishedDate": "2025-01-02T17:30:05.000Z",
		"updatedDate": null
	},
	"report": null,
	"hasUnhandledReports": false,
	"consumer": {
		"id": "6776b0fcfcb0ec514deff633",
		"displayName": "Anne Salomé Gravel",
		"imageUrl": "",
		"numberOfReviews": 1,
		"countryCode": "CA",
		"hasImage": false,
		"isVerified": false
	},
	"reply": {
		"message": "Hi there, thanks for taking the time to share your feedback with us! Should you wish to chat further, we'd love to hear from you and can be reached directly at contact@mejuri.com.",
		"publishedDate": "2025-01-02T21:24:56.000Z",
		"updatedDate": null
	},
	"consumersReviewCountOnSameDomain": 1,
	"consumersReviewCountOnSameLocation": null,
	"productReviews": [],
	"language": "en",
	"location": null,
	"website": "mejuri.com",
	"link": "https://ca.trustpilot.com/reviews/6776b0fd097a4df021e6d35c",
	"opinion": "Positive"
}
```

**Wrapped** format:

```
{
	"website": "mejuri.com",
	"data": [
		{
			"id": "6776b0fd097a4df021e6d35c",
			...
		},
		...
	]
}
```

### How it works.

1. Enter the website URL to be analyzed - **NOT** the Trustpilot link.

2. Set the maximum number of reviews to fetch.

3. Run it! 🎉

### Support

Open a new issue for bugs or feature requests. Please share the run URL.

Supports Trustpilot in: United States of America, Australia, Austria, Brazil, Canada, Denmark, Finland, France, Germany, Ireland, Italy, Japan, Netherlands, New Zealand, Norway, Poland, Portugal, Spain, Sweden, Switzerland, United Kingdom.

Make sure to increase the Actor

# Actor input Schema

## `website` (type: `array`):

Website(s) to fetch reviews for - NOT the Trustpilot link.

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

Default country for Trustpilot.

## `process` (type: `string`):

See Information tab.

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

No description

## `daterange` (type: `string`):

Filter for date range.

## `keywords` (type: `string`):

Filter to search for specific keywords.

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

Filter for ratings.

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

Filter for review languages.

## `replies` (type: `string`):

Filter for reviews with repies from the business.

## `verified` (type: `string`):

Filter for reviews verified by Trustpilot.

## `format` (type: `string`):

See Information tab.

## `maximum` (type: `integer`):

Per website. Maximum number of records returned (impact on performance).

## `batch` (type: `integer`):

Only relevant for Get All Reviews. See Information tab.

## `delay` (type: `integer`):

Waiting time between requests.

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "website": [
    "www.expensify.com"
  ],
  "country": "us",
  "process": "gas",
  "sort": "recency",
  "daterange": "last6months",
  "stars": "all",
  "language": "en",
  "replies": "all",
  "verified": "all",
  "format": "wrap",
  "maximum": 40,
  "batch": 1,
  "delay": 2,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "website": [
        "www.expensify.com"
    ],
    "keywords": "",
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("canadesk/trustpilot-plus").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 = {
    "website": ["www.expensify.com"],
    "keywords": "",
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("canadesk/trustpilot-plus").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 '{
  "website": [
    "www.expensify.com"
  ],
  "keywords": "",
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call canadesk/trustpilot-plus --silent --output-dataset

```

## MCP server setup

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

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/gYZ9UPBXXJQQlWmLE/builds/LvuppuBL2XdUSEZYP/openapi.json
