# Trustpilot Competitor Analyzer (`datacortex/trustpilot-competitor-analyzer`) Actor

Drop in Trustpilot URLs or company domains. Get back review themes, reply quality scoring, sentiment trends, and a head-to-head ranking of competitors. AI-summarized — no setup, no API keys.

- **URL**: https://apify.com/datacortex/trustpilot-competitor-analyzer.md
- **Developed by:** [datacortex](https://apify.com/datacortex) (community)
- **Categories:** E-commerce, Automation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $250.00 / 1,000 business analyzeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Competitor Analyzer

Drop in Trustpilot URLs or company domains. Get back review themes, reply quality scoring, sentiment trends, and a head-to-head ranking of competitors — AI-summarized, no setup, no API keys.

Built for B2B SaaS founders, marketing/CX teams, agencies, and analysts who need competitor reputation benchmarks without paying $69-$350/month for ReviewTrackers or Birdeye.

### What this actor does

For each business domain you provide, this actor:

1. Scrapes recent Trustpilot reviews (up to 5,000 per business)
2. Computes a 0–100 reputation health score weighted toward replies-on-negative-reviews — the actual lever for reputation management
3. Surfaces recurring complaint and praise themes from real review text
4. Adds a one-paragraph AI executive briefing per business
5. When you analyze multiple businesses, ranks them head-to-head on every metric with a one-line headline (included free with the run)

### Why not just use a Trustpilot scraper?

Most "Trustpilot scrapers" give you raw reviews and stop. You still have to do the analysis yourself — tag complaints, score reply quality, normalize across competitors. This actor does that work and returns ready-to-use intelligence.

Compared to review-monitoring SaaS (ReviewTrackers, Birdeye, etc.), you pay per analysis instead of $69–$350/month. A monthly check of your top 5 competitors costs ~$16/year at current pay-per-event rates.

### Input

```json
{
  "domains": [
    "stripe.com",
    "paypal.com",
    "wise.com"
  ],
  "max_reviews_per_business": 200
}
```

| Field | Type | Description |
|---|---|---|
| `domains` | `string[]` | Trustpilot URLs (`https://www.trustpilot.com/review/stripe.com`) or bare domains (`stripe.com`). 1–50 per run. |
| `max_reviews_per_business` | `integer` | How many recent reviews to analyze per business. 20–5000, default 200. |

### Output

Each business produces one `business` item, plus one `comparison` item per run.

**Business item:**

```json
{
  "type": "business",
  "metrics": {
    "domain": "stripe.com",
    "display_name": "Stripe",
    "trust_score": 4.2,
    "health_score": 72.4,
    "rating_distribution": { "negative_pct": 0.18, "positive_pct": 0.74 },
    "reply_metrics": {
      "reply_rate": 0.85,
      "reply_rate_on_negative": 0.92,
      "reply_quality_score": 0.78,
      "median_reply_days": 1.2
    },
    "trend_metrics": { "trend_30d_vs_90d": -0.15 },
    "trust_signals": { "verified_pct": 0.91, "top_countries": [["US", 78]] }
  },
  "themes": {
    "top_phrases_negative": [
      { "text": "customer support", "count": 12, "avg_rating": 1.4 },
      { "text": "hidden fees", "count": 7, "avg_rating": 1.7 }
    ],
    "top_phrases_positive": [
      { "text": "easy to integrate", "count": 18, "avg_rating": 4.9 }
    ],
    "summary_overall": "Stripe scores well on reply quality and verified-review share. Recent reviews trend slightly negative, driven primarily by customer-support complaints (12 of 50 negative reviews mention this). The same support quality customers praise in some reviews appears as the top complaint in others — a service-tier gap is the actionable lead."
  }
}
```

**Comparison item (one per run):**

```json
{
  "type": "comparison",
  "headline": "stripe.com leads on overall health (72.4); paypal.com lags on reply quality (0.31)",
  "businesses_analyzed": ["stripe.com", "paypal.com", "wise.com"],
  "rankings": [
    {
      "metric": "Overall health score (0-100)",
      "leader": "stripe.com",
      "laggard": "paypal.com",
      "entries": [ /* all businesses ranked, with values */ ]
    }
    /* eight more rankings: reply quality, sentiment trend, % verified, etc. */
  ]
}
```

For failed domains, the item contains `error` and `error_message` fields instead.

### Use cases

- **Competitive benchmarking** — Where do you stand against your top 5 competitors on reputation?
- **Pre-investment due diligence** — Fast reputation audit on prospects, portfolio companies, or acquisition targets
- **Marketing & CX teams** — Monthly reputation check across your industry
- **Sales enablement** — "Here's why customers leave \[competitor] in their own words"
- **Agency client reports** — Drop the JSON into a dashboard; refresh monthly

### Performance

- Typical run: ~1-2 minutes per business analyzed (real-browser scrape with full pagination)
- Pages 2+ use Trustpilot's internal JSON API (5–10× faster than HTML scraping)
- \~30 fields per review extracted, including verified status, language, business reply, and consumer country
- Apify residential proxy rotation per business raises success rate against Cloudflare; some businesses with very aggressive bot protection may not always succeed on first try — failures are logged with details and not charged.

### Pricing

Pay-per-event. No subscription.

| Event | Price | When |
|---|---|---|
| Actor start | $0.10 | Once per run |
| Business analyzed | $0.25 | Per business successfully scraped + analyzed (includes review scrape, metrics, themes, AI summary) |

The head-to-head comparison report is included free when you analyze 2+ businesses.

| Run | Cost |
|---|---|
| 1 business | $0.35 |
| 3 businesses | $0.85 |
| 5 businesses | $1.35 |
| 10 businesses | $2.60 |

A monthly run of your top 5 competitors costs ~$16/year. Failed analyses are not charged.

Compared to ReviewTrackers ($69+/month) or Birdeye ($350+/month), you pay per analysis instead of a subscription.

### Limitations

- Public Trustpilot pages only — no login walls bypassed
- English-tuned phrase extraction; the AI briefing handles other languages
- One run analyzes 1–50 businesses; larger batches need multiple runs

### Author

Built and maintained by [DataCortex IQ](https://datacortex.in) — an AI engineering studio specializing in RAG, voice AI, and applied ML for growth-stage companies.

Questions or feedback: open an issue on the [GitHub repo](https://github.com/irfanalidv/trustpilot-competitor-analyzer).

# Actor input Schema

## `domains` (type: `array`):

One per line. Either a full Trustpilot URL like 'https://www.trustpilot.com/review/stripe.com' or just the company domain like 'stripe.com'. Add multiple to compare competitors.

## `max_reviews_per_business` (type: `integer`):

How many recent reviews to analyze per business. More reviews = stronger themes, slightly higher cost.

## Actor input object example

```json
{
  "domains": [
    "wise.com"
  ],
  "max_reviews_per_business": 40
}
```

# 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 = {
    "domains": [
        "wise.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacortex/trustpilot-competitor-analyzer").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 = { "domains": ["wise.com"] }

# Run the Actor and wait for it to finish
run = client.actor("datacortex/trustpilot-competitor-analyzer").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 '{
  "domains": [
    "wise.com"
  ]
}' |
apify call datacortex/trustpilot-competitor-analyzer --silent --output-dataset

```

## MCP server setup

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

```

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/rvzncdFsdPhucFb1C/builds/3QhPbEN9WPR0fdKQQ/openapi.json
