# Trustpilot Reviews API

Extract Trustpilot reviews for any company — rating, text, dates, reviewer details and the company's reply, newest first

**Pricing:** $0.00075 per review

**Endpoint:** `POST /v1/data/trustpilot/reviews/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `companies` | array | Yes | Company domains (nordvpn.com) or Trustpilot review URLs. One per line. |
| `maxResults` | integer | No | Stop after this many reviews in total. Each review costs one row, so this caps the bill as well as the output. 0 or omitted means every review available. |
| `stars` | array | No | Only reviews with these star ratings. Leave empty for all. |
| `languages` | array | No | Only reviews in these languages, as ISO codes (en, de, fr). Leave empty for all. |
| `verifiedOnly` | boolean | No | Only reviews Trustpilot has verified. |
| `withRepliesOnly` | boolean | No | Only reviews the company has replied to. |
| `sortBy` | string | No | Newest first, or Trustpilot's relevance order (which only covers the first 200 reviews per company). |
| `reviewsNewerThan` | date | No | Only reviews published on or after this date (YYYY-MM-DD). |

## Example

`?wait=true` holds the request open until the run finishes (up to 60s) and returns the rows inline — one request, no polling.

```bash
curl -X POST "https://api.mindcase.co/v1/data/trustpilot/reviews/run?wait=true" \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"companies":["..."]}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/v1/data/trustpilot/reviews/run",
    params={"wait": "true"},
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "companies": [
        "..."
    ]
}},
)
rows = resp.json()["data"]
```

## Longer runs

If the run is still going at the 60s ceiling you get back `{ job_id, status: "running" }` instead of rows (same if the result is over 100 rows — those come back `truncated`). Poll with that `job_id`:

```bash
# 1) check status
curl https://api.mindcase.co/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, SDKs, MCP): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `reviewId` | Review ID | text |
| `reviewUrl` | Review URL | url |
| `rating` | Rating | rating |
| `reviewTitle` | Review Title | text |
| `reviewText` | Review Text | text |
| `language` | Language | text |
| `publishedDate` | Published Date | datetime |
| `experienceDate` | Experience Date | date |
| `updatedDate` | Updated Date | datetime |
| `likes` | Likes | number |
| `verified` | Verified | boolean |
| `verificationLevel` | Verification Level | text |
| `reviewSource` | Review Source | text |
| `reviewerName` | Reviewer Name | text |
| `reviewerId` | Reviewer ID | text |
| `reviewerProfileUrl` | Reviewer Profile URL | url |
| `reviewerCountry` | Reviewer Country | text |
| `reviewerReviewCount` | Reviewer Review Count | number |
| `reviewerAvatar` | Reviewer Avatar | image |
| `companyReply` | Company Reply | text |
| `companyReplyDate` | Company Reply Date | datetime |
| `companyName` | Company Name | text |
| `companyDomain` | Company Domain | text |
