# Trustpilot Reviews Scraper - Reviews, Replies & AI Summary (`pomlabs/trustpilot-reviews-scraper`) Actor

Get Trustpilot reviews of any company: rating, title, text, language, dates, likes, verified flag, reviewer and country, and the company's reply. Plus a free company row with TrustScore, total reviews, categories and Trustpilot's own AI summary. Filters: stars, language, date. $0.0005 per review.

- **URL**: https://apify.com/pomlabs/trustpilot-reviews-scraper.md
- **Developed by:** [Pom Labs](https://apify.com/pomlabs) (community)
- **Categories:** Marketing, E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 review delivereds

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/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 - All Reviews, Companies, AI Insights

Export **every Trustpilot review of any company**, not just the 200 Trustpilot shows per listing: past that limit the Actor reads the narrower listings (each star, each language, each topic) and merges them by date, so 1,000 or 5,000 reviews still come out newest first, with no duplicates.

Also in one Actor: **company search**, **category browsing**, **company profiles**, **AI pain-point analysis**, deterministic **review insights**, **fake-review signals** on every review, **monitoring** that delivers only new reviews, and **alerts** to a webhook, Slack, Discord, Telegram or WhatsApp.

You pay only for what is delivered. Unknown companies, empty filters and failed analyses are listed with the reason and never charged.

### What you get

**Each review:** ID and link, rating, title, full text, language, published, experience and update dates, likes, source and verification level, reviewer name, ID, profile link, photo, country and review count, the **company reply** with its date and reply delay in days, `riskLevel` (high = 1-2 stars without reply), `suspicionScore` 0-100 with the `authenticitySignals` behind it, and the company columns (`companyTrustScore`, `companyTotalReviews`, `companyCategories`...).

**Each company (free row):** TrustScore, stars, total reviews, last-12-months count, star and language breakdown, categories and rankings, website, logo, e-mail, phone, address, claim and verification flags, reply rate and time, negative reviews replied, consumer alert, **Trustpilot's AI summary and topic summaries**, similar companies, an **authenticity summary** (share of single-review accounts per star, burst days, duplicate texts) and, on request, the **transparency report** (how reviews are collected, per month and star, reports, reviews taken offline) and exact per-language and rolling-window counts.

**Analysis rows (on request):**

- `reviewInsights` (no AI): sentiment split, complaint themes ranked, top complaint and praise terms, customer requests with quotes, reply rate and median reply delay, unanswered negative reviews, rating by month.
- `painPointAnalysis` (AI): summary, themes with severity, share and trend, quotes checked word for word against the reviews, strengths, missing features, quick wins, churn signals and a risk score, in the language you choose.

### Modes

| Mode | What it does |
|---|---|
| `reviews` (default) | Reviews of the companies you list: websites, Trustpilot URLs, brand names (found through Trustpilot search) or reviewer profile URLs (every review that person wrote) |
| `searchCompanies` | Companies matching a keyword, with country, city, TrustScore, review count and claimed filters |
| `categories` | Companies of a Trustpilot category, sorted by relevance, review count or latest review; with no category, the list of categories |
| `companyInfo` | Company profiles only, optionally with the website's contact e-mails, phones, social links and payment processors |

### Input

| Field | Description |
|---|---|
| `companies` | `amazon.com`, `https://www.trustpilot.com/review/www.booking.com`, `https://www.trustpilot.com/users/<id>` or `Nubank` |
| `maxReviews` | Reviews per company; `0` = all of them |
| `sort` | `recency` (default) or `relevance` |
| `sampling` | `balanced` (same number per star) or `proportional`, when you want fewer reviews than the company has |
| `stars`, `languages`, `topics` | Trustpilot filters; several languages are read one by one |
| `date`, `lastDays`, `startDate`, `publishedAfter` | Trustpilot's period filter, a rolling window, a start day or an exact moment (only reviews after the last one you have) |
| `search`, `verified`, `withReplies`, `countryOfReviewer` | Words in the review, verified only, with a company reply only, reviewer countries |
| `includeTransparency`, `includeStats`, `includeWindowedStats` | Extra company data |
| `reviewInsights`, `painPointAnalysis`, `analysisLanguage` | Analysis rows |
| `enrichEmails`, `qualifyByPayment` | Contacts and payment processors from the company website |
| `monitoringMode`, `monitorStateName`, `emitUnchanged`, `emitExpired`, `skipReposts` | Monitoring |
| `webhookUrl`, `slackWebhookUrl`, `discordWebhookUrl`, `telegramBotToken` + `telegramChatId`, WhatsApp Cloud API fields | Alerts |
| `compact`, `fields`, `descriptionMaxLength`, `excludeEmptyFields`, `splitDatasets` | Output shape |

Field names of the other popular Trustpilot Actors (`companyUrls`, `companyDomains`, `startUrls`, `maxReviewsPerCompany`, `filterStars`, `filterLanguages`, `filterDateRange`, `verifiedOnly`, `incrementalMode`...) are accepted too, so you can switch without rewriting your input.

```json
{ "companies": ["www.booking.com"], "maxReviews": 1000, "stars": ["1", "2"], "reviewInsights": true }
```

```json
{ "companies": ["nubank.com.br"], "monitoringMode": true, "monitorStateName": "nubank-daily", "slackWebhookUrl": "https://hooks.slack.com/services/..." }
```

### Output

A review:

```json
{
  "type": "review", "company": "nubank.com.br", "companyName": "Nubank", "reviewId": "6b05ef26abcc49375c0772b0",
  "rating": 5, "title": "Os ícones do app são de fácil acesso", "text": "Os ícones do app são de fácil acesso...",
  "language": "pt", "publishedAt": "2026-11-24T22:10:14.000Z", "experiencedAt": "2026-11-24T00:00:00.000Z",
  "verified": false, "verificationLevel": "not-verified", "reviewer": "Romulo Trotta", "reviewerCountry": "BR",
  "reviewerReviewCount": 2, "companyReply": null, "replyDelayDays": null, "riskLevel": "low",
  "suspicionScore": 10, "authenticitySignals": ["unverified_extreme_rating"],
  "url": "https://www.trustpilot.com/reviews/6b05ef26abcc49375c0772b0"
}
```

A company found by search:

```json
{ "type": "companyHit", "company": "cyberghostvpn.com", "name": "CyberGhost VPN", "trustScore": 4, "numberOfReviews": 24195, "email": "support@cyberghost.ro", "city": "Bucharest", "country": "Romania", "categories": ["VPN Service", "Software Company"], "url": "https://www.trustpilot.com/review/cyberghostvpn.com" }
```

An AI analysis (Nubank, 60 reviews): "Customers highly appreciate Nubank for its intuitive mobile application, fast onboarding, and fee-free everyday banking. However, there is severe dissatisfaction regarding sudden account freezes..." with themes such as "Sudden Account Blockades & Closures" (severity 5, 11.7% of reviews) and quick wins like "Allow users to download PDF statements without password protection".

### Pricing

| Event | Price |
|---|---|
| Review delivered | **$0.0005** ($0.50 per 1,000) on the free plan; Bronze $0.00045, Silver $0.0004, Gold and up $0.00035 |
| Company delivered (search, category, profile modes) | $0.000225 |
| Review insights, per company | $0.018 |
| AI pain-point analysis, per company | $0.045 |
| Contact e-mail found on the company website | $0.0009 |

The company row of the reviews mode, unchanged reviews in monitoring, errors and failed analyses are free. No start fee. Set a maximum cost per run in the Apify console and the Actor stops cleanly at it.

### FAQ

**Do I need a Trustpilot account?** No.

**How many reviews can I get?** As many as Trustpilot has for your filters. Trustpilot shows 200 per listing; past that the Actor splits by star, language and topic and merges by date. Very large companies (100,000+) can still leave some reviews unreachable without an account; the company row says how many were delivered against Trustpilot's total.

**How does monitoring work?** The first run is the baseline. Later runs with the same watch name deliver only reviews no earlier run delivered, stop after 20 known reviews in a row, and charge only the new ones.

**What is the suspicion score?** A transparent 0-100 sum of signals Trustpilot data shows: single-review account, no photo, very short text, duplicated text, a burst day, several reviews of the same company, unverified extreme rating. It is a lead for your own review, not a verdict.

**Is the AI summary always there?** Only when Trustpilot shows one on the company page; otherwise the field is `null`.

# Actor input Schema

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

reviews = reviews of the companies below (default). searchCompanies = find companies by keyword. categories = browse a Trustpilot category (leave the category empty to list them all). companyInfo = company profiles only, no reviews.

## `companies` (type: `array`):

One per line: a company website (amazon.com, www.booking.com), a Trustpilot review URL, a reviewer profile URL (trustpilot.com/users/...) for every review that person wrote, or a brand name (Nubank), which is found through Trustpilot's search. Localized hosts (de.trustpilot.com) work too.

## `searchTerms` (type: `array`):

Brand names to resolve to their Trustpilot page (reviews and companyInfo modes), or search keywords (searchCompanies mode).

## `searchQuery` (type: `string`):

searchCompanies mode: keyword, e.g. 'car insurance', 'vpn'.

## `categoryUrl` (type: `string`):

categories mode: a Trustpilot category URL (https://www.trustpilot.com/categories/vpn_service) or its id (vpn_service). Empty: the list of categories.

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

Stop after this many reviews for each company. 0 = as many as Trustpilot has: past the 200 Trustpilot shows per listing, the Actor reads narrower listings (each star, each language, topics...) and merges them by date, so the newest N stay the newest N.

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

Newest first, or Trustpilot's most relevant order.

## `sampling` (type: `string`):

Only when the limit is below the company's review count. none = the newest reviews. balanced = the same number from each star (plenty of rare 2 and 3 star reviews). proportional = each star in Trustpilot's own proportion.

## `stars` (type: `array`):

Only these star ratings (empty = all).

## `languages` (type: `array`):

Two-letter codes of the review languages (en, pt, de, es...). Several are read one by one. Empty = every language.

## `scrapeAllReviews` (type: `boolean`):

On: every language. Off: only the language of the company's country (bancamediolanum.it -> Italian, darty.fr -> French).

## `date` (type: `string`):

Trustpilot's own date filter.

## `lastDays` (type: `integer`):

Rolling window, recalculated every run (7 for a weekly schedule). The run stops paging once it passes the cutoff.

## `startDate` (type: `string`):

YYYY-MM-DD. Reviews published on or after this day.

## `publishedAfter` (type: `string`):

YYYY-MM-DD or 2026-09-01T12:00:00Z. Pass the publishedAt of the newest review your last run delivered, and that review is not delivered or charged again.

## `topics` (type: `array`):

Trustpilot topic ids: customer_service, delivery_service, product, order, service, value_for_money, refund, price, quality, staff, website, app, payment.

## `search` (type: `string`):

Trustpilot's own review search, e.g. refund or delivery.

## `verified` (type: `boolean`):

Trustpilot's 'Verified' filter.

## `withReplies` (type: `boolean`):

Trustpilot's 'With replies' filter.

## `countryOfReviewer` (type: `array`):

Two-letter country codes (US, GB, BR). Trustpilot has no such filter: reviews from other countries are read and left out, not charged.

## `includeCompanyInfo` (type: `boolean`):

A free row per company (TrustScore, star breakdown, languages, categories and rankings, contact, claim and verification flags, reply behaviour, consumer alert, Trustpilot's AI summary, similar companies, authenticity summary) and the main company columns on each review.

## `flattenCompanyData` (type: `boolean`):

companyDomain, companyWebsite, companyTrustScore, companyStars, companyTotalReviews, companyCountryCode, companyCategories, companyUrl. On by default with the company row.

## `includeCompanyAdditionalFields` (type: `boolean`):

Also: reply rate and time, consumer alert, closed flags, collecting and incentivised reviews, paid features, subscription, AI replies, claim date, verification flags, description, information source, inviting status, guarantee, tier, negative reviews replied, last-12-months count.

## `includeCompanyDetails` (type: `boolean`):

Adds the company row as companyDetails inside every review.

## `includeTransparency` (type: `boolean`):

How the company collects reviews (organic, invitations, redirected) per month and star, reply rate and time, reports, reviews taken offline. +1 request per company.

## `includeStats` (type: `boolean`):

Exact review counts per language with the per-star split for the 5 main languages. A few extra requests per company.

## `includeWindowedStats` (type: `boolean`):

Review counts per language for the last 30 days, 3, 6 and 12 months: what changed recently against the lifetime numbers.

## `reviewInsights` (type: `boolean`):

One row per company: sentiment split, complaint themes (delivery, refunds, support, billing, trust...), top negative terms, customer requests, reply rate and delay, monthly trend. No AI. Charged per company.

## `painPointAnalysis` (type: `boolean`):

One row per company from up to 200 reviews: complaint themes ranked by severity with share and trend, quotes checked against the reviews, missing features, quick wins, churn signals, risk score. Charged per company.

## `analysisLanguage` (type: `string`):

Language of the AI analysis.

## `enrichEmails` (type: `boolean`):

Reads the company's own website: e-mails, phones, social profiles, careers page. Charged only when an e-mail is found.

## `qualifyByPayment` (type: `boolean`):

Stripe, PayPal, Shopify, WooCommerce, Square, Paddle, Lemon Squeezy, Chargebee... from the same pages, no extra charge.

## `searchCountry` (type: `string`):

Two-letter country code for searchCompanies and categories (default US for categories).

## `searchMaxPages` (type: `integer`):

Pages of results (10 per page in search, 20 in categories).

## `minReviews` (type: `integer`):

Company modes: only companies with at least this many reviews.

## `maxCompanyReviews` (type: `integer`):

Company modes: only companies with at most this many reviews.

## `minTrustScore` (type: `number`):

Company modes: only companies at or above this TrustScore.

## `maxTrustScore` (type: `number`):

Company modes: only companies at or below this TrustScore.

## `claimedOnly` (type: `boolean`):

Company modes: only companies that claimed their Trustpilot page.

## `location` (type: `string`):

Company modes: city or area, e.g. London.

## `categorySort` (type: `string`):

Order of a category listing.

## `fullCompanyProfiles` (type: `boolean`):

Search and category results get the full company row (star breakdown, AI summary, reply behaviour...). +1 request per company.

## `strictNameMatch` (type: `boolean`):

A brand name only resolves to a company with that name (Boss Aluminium is not handed BOSS Revolution).

## `expandRegionalDomains` (type: `boolean`):

A brand name brings every Trustpilot page with the same name (nike.com, nike.de, nike.dk...).

## `monitoringMode` (type: `boolean`):

The first run is the baseline; later runs deliver only reviews no earlier run delivered (changeType NEW, UPDATED when the text changed, REAPPEARED), and stop at 20 already-known reviews in a row. Reviews you already have are not charged.

## `monitorStateName` (type: `string`):

Each name keeps its own history. Empty: one history per input.

## `resetMonitoringState` (type: `boolean`):

Clears the history at the start of the run.

## `emitUnchanged` (type: `boolean`):

With monitoring: reviews already delivered come back marked UNCHANGED, free.

## `emitExpired` (type: `boolean`):

With monitoring: reviews seen before and no longer on Trustpilot come back marked EXPIRED, free.

## `skipReposts` (type: `boolean`):

With monitoring: a new review with the same text as one seen before (isRepost, repostOfId) is left out.

## `webhookUrl` (type: `string`):

Gets a JSON POST with the run metadata and up to 500 rows (n8n, Make, Zapier, your backend). One per company on Apify.

## `webhookHeaders` (type: `object`):

Extra headers, e.g. {"Authorization": "Bearer ..."}.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL.

## `discordWebhookUrl` (type: `string`):

Discord channel webhook URL.

## `telegramBotToken` (type: `string`):

Token from @BotFather.

## `telegramChatId` (type: `string`):

Chat or channel (-1001234567890 or @yourchannel).

## `whatsappPhoneNumberId` (type: `string`):

WhatsApp Business Cloud API phone number id (not the number).

## `whatsappAccessToken` (type: `string`):

Meta token with whatsapp_business_messaging.

## `whatsappTo` (type: `string`):

E.164 number that messaged your business number in the last 24 h.

## `notifyOnlyChanges` (type: `boolean`):

No alert for a run with no new review.

## `notificationLimit` (type: `integer`):

How many reviews each chat alert lists.

## `compact` (type: `boolean`):

Core review fields only, for AI pipelines and MCP.

## `fields` (type: `array`):

e.g. reviewId, rating, title, text, publishedAt. Overrides compact.

## `descriptionMaxLength` (type: `integer`):

Characters; 0 = full text.

## `excludeEmptyFields` (type: `boolean`):

Drops null, empty text and empty lists.

## `splitDatasets` (type: `boolean`):

Reviews stay in the default dataset; company rows go to a dataset named businessUnits-<runId>, joined by businessUnitId; inputs with no result go to inputStatus-<runId>.

## `emitInputStatus` (type: `boolean`):

A free row with reason and detail (not found, no reviews, filtered out).

## `outputConnector` (type: `string`):

Pick an MCP connector you authorized in Console > Settings > API & Integrations > MCP connectors. The results are written through your own connector: the Actor never sees your credentials, and only non-destructive write tools are allowed. Notion: one page per review (or one table page in summary mode) under the page in Destination target.

## `deliverTarget` (type: `string`):

Where the connector writes: a URL or ID (Notion page URL, Todoist project id, Slack channel). Share the Notion page with the connector first (... > Connections). Leave empty for services that need none.

## `deliverMode` (type: `string`):

perPost writes one record per review (or company); summary writes a single roll-up table.

## `deliverMaxItems` (type: `integer`):

Cap on how many reviews perPost writes to the connector (the dataset still gets all of them). Ignored in summary mode.

## `requestDelayMs` (type: `integer`):

Slower and gentler on very large runs.

## `authCookiesJson` (type: `string`):

Your own Trustpilot consumer cookies as JSON (an export with all_cookies, or name: value).

## `deepHistory` (type: `boolean`):

Narrower listings when a company has more than 200 reviews for your filters.

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

Same as the main field (name used by other Trustpilot Actors).

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

Same as the main field (name used by other Trustpilot Actors).

## `companyDomain` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `startUrls` (type: `array`):

Same as the main field (name used by other Trustpilot Actors).

## `urls` (type: `array`):

Same as the main field (name used by other Trustpilot Actors).

## `companyName` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `query` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `categoryUrls` (type: `array`):

Same as the main field (name used by other Trustpilot Actors).

## `category` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

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

Same as the main field (name used by other Trustpilot Actors).

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

Same as the main field (name used by other Trustpilot Actors).

## `maxResults` (type: `integer`):

Same as the main field (name used by other Trustpilot Actors).

## `filterStars` (type: `array`):

Same as the main field (name used by other Trustpilot Actors).

## `filterLanguages` (type: `array`):

Same as the main field (name used by other Trustpilot Actors).

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

Same as the main field (name used by other Trustpilot Actors).

## `filterDateRange` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `lookbackDays` (type: `integer`):

Same as the main field (name used by other Trustpilot Actors).

## `newerThan` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `filterVerifiedOnly` (type: `boolean`):

Same as the main field (name used by other Trustpilot Actors).

## `verifiedOnly` (type: `boolean`):

Same as the main field (name used by other Trustpilot Actors).

## `filterRepliesOnly` (type: `boolean`):

Same as the main field (name used by other Trustpilot Actors).

## `withRepliesOnly` (type: `boolean`):

Same as the main field (name used by other Trustpilot Actors).

## `topic` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `sortBy` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `filterCountries` (type: `array`):

Same as the main field (name used by other Trustpilot Actors).

## `incrementalMode` (type: `boolean`):

Same as the main field (name used by other Trustpilot Actors).

## `stateKey` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `telegramToken` (type: `string`):

Same as the main field (name used by other Trustpilot Actors).

## `maxPages` (type: `integer`):

Same as the main field (name used by other Trustpilot Actors).

## Actor input object example

```json
{
  "mode": "reviews",
  "companies": [
    "www.amazon.com"
  ],
  "maxReviews": 40,
  "sort": "recency",
  "sampling": "none",
  "stars": [],
  "scrapeAllReviews": true,
  "date": "all",
  "verified": false,
  "withReplies": false,
  "includeCompanyInfo": true,
  "flattenCompanyData": true,
  "includeCompanyAdditionalFields": false,
  "includeCompanyDetails": false,
  "includeTransparency": false,
  "includeStats": false,
  "includeWindowedStats": false,
  "reviewInsights": false,
  "painPointAnalysis": false,
  "analysisLanguage": "English",
  "enrichEmails": false,
  "qualifyByPayment": false,
  "searchMaxPages": 5,
  "claimedOnly": false,
  "categorySort": "most_relevant",
  "fullCompanyProfiles": false,
  "strictNameMatch": true,
  "expandRegionalDomains": false,
  "monitoringMode": false,
  "resetMonitoringState": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5,
  "compact": false,
  "descriptionMaxLength": 0,
  "excludeEmptyFields": false,
  "splitDatasets": false,
  "emitInputStatus": true,
  "deliverMode": "perPost",
  "requestDelayMs": 0,
  "deepHistory": true
}
```

# Actor output Schema

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

No description

# 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": [
        "www.amazon.com"
    ],
    "maxReviews": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("pomlabs/trustpilot-reviews-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 = {
    "companies": ["www.amazon.com"],
    "maxReviews": 40,
}

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

```

## MCP server setup

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

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/hZ5QOgd1xgkzDdgVe/builds/eItkaSJAZSeBM8Ire/openapi.json
