Scraper APITrustpilot
trustpilot.reviews
A page of a company's reviews on Trustpilot, newest first: stars, headline, text, dates, language, verified mark and the company's reply.
- Id
trustpilot.reviews- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/trustpilot.reviews/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
domainrequired | string | The company's domain, e.g. backcountry.com, or the address of its Trustpilot page (https://www.trustpilot.com/review/www.backcountry.com).Limit: at least 4 characters, at most 400 characters. |
page | integer | The page of the list, from 1; 20 reviews a page, newest first. Trustpilot shows the first 10 pages of a list without a login.Limit: 1 to 10. Default: 1. |
stars | array of integer | Only reviews with these star ratings, e.g. [1, 2]. Left empty: every rating. |
language | string | Only reviews written in this language, as a two-letter code, e.g. en or de. Left out: every language.Limit: matches ^[a-z]{2}$. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
position | integer | The review's place on this page of the list, from 1.Limit: at least 1. |
page | integer | The page of the list the review was on.Limit: at least 1. |
domain | string | The name Trustpilot files the reviewed company under, e.g. www.backcountry.com. |
review_id | string | Trustpilot's id of the review. |
url | string | The review's own page on trustpilot.com. |
rating | integer | The stars the reviewer gave, 1 to 5.Limit: 1 to 5. |
title | string or null | The review's headline. |
text | string or null | The review's text, with its line breaks. Null when the reviewer wrote only a headline. |
language | string or null | The language the review is written in, as a two-letter code, e.g. en. |
published_at | string (date-time) or null | When the review was published, in UTC. |
updated_at | string (date-time) or null | When the reviewer last edited the review, in UTC. Null when it was never edited. |
experienced_on | string (date) or null | The date of the experience the review is about, as the reviewer gave it. |
is_verified | boolean or null | True when Trustpilot marks the review as verified: it could confirm the reviewer had an experience with the company. |
verification_label | string or null | How Trustpilot labels where the review came from, as it codes it: invited (the company asked the customer for a review), verified, redirected or not-verified (an unprompted review). Null for old reviews that carry no label. |
likes | integer or null | The number of people who marked the review as useful. |
reply_text | string or null | The company's reply to the review. Null when it has not replied. |
reply_published_at | string (date-time) or null | When the company's reply was published, in UTC. |
reply_updated_at | string (date-time) or null | When the company last edited its reply, in UTC. Null when it was never edited. |
reviewer_name | string or null | The reviewer's display name, as the review shows it. |
reviewer_country_code | string or null | The two-letter country code shown beside the name, e.g. GB. |
fetched_at | string (date-time) | When the list was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/trustpilot.reviews/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domain":"nordvpn.com","language":"en"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("trustpilot.reviews", {
"domain": "nordvpn.com",
"language": "en",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("trustpilot.reviews", {
domain: "nordvpn.com",
language: "en",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "trustpilot.reviews", map[string]any{"domain": "nordvpn.com", "language": "en"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("trustpilot.reviews", Map.of("domain", "nordvpn.com", "language", "en"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run trustpilot.reviews --input domain=nordvpn.com --input language=enInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"domain": "nordvpn.com",
"language": "en"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "trustpilot.reviews",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"domain": "nordvpn.com",
"language": "en"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"position": 1,
"page": 1,
"domain": "nordvpn.com",
"review_id": "6afdcd02be108ed6f437eb50",
"url": "https://www.trustpilot.com/reviews/6afdcd02be108ed6f437eb50",
"rating": 4,
"title": "Website restrictions",
"text": "Nord is good but a few websites wont work if vpn is on",
"language": "en",
"published_at": "2026-11-18T18:06:26Z",
"updated_at": null,
"experienced_on": "2026-11-18",
"is_verified": true,
"verification_label": "invited",
"likes": 0,
"reply_text": null,
"reply_published_at": null,
"reply_updated_at": null,
"reviewer_name": null,
"reviewer_country_code": "GB",
"fetched_at": "2026-11-19T18:07:41.608258Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Left out:
reviewer_name: it is the display name of a private person.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Trustpilot scrapers are in their own section there.