Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of trustpilot.reviews
    FieldTypeDescription
    domainrequiredstringThe 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.
    pageintegerThe 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.
    starsarray of integerOnly reviews with these star ratings, e.g. [1, 2]. Left empty: every rating.
    languagestringOnly 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.

    Record fields of trustpilot.reviews
    FieldTypeNotes
    positionintegerThe review's place on this page of the list, from 1.Limit: at least 1.
    pageintegerThe page of the list the review was on.Limit: at least 1.
    domainstringThe name Trustpilot files the reviewed company under, e.g. www.backcountry.com.
    review_idstringTrustpilot's id of the review.
    urlstringThe review's own page on trustpilot.com.
    ratingintegerThe stars the reviewer gave, 1 to 5.Limit: 1 to 5.
    titlestring or nullThe review's headline.
    textstring or nullThe review's text, with its line breaks. Null when the reviewer wrote only a headline.
    languagestring or nullThe language the review is written in, as a two-letter code, e.g. en.
    published_atstring (date-time) or nullWhen the review was published, in UTC.
    updated_atstring (date-time) or nullWhen the reviewer last edited the review, in UTC. Null when it was never edited.
    experienced_onstring (date) or nullThe date of the experience the review is about, as the reviewer gave it.
    is_verifiedboolean or nullTrue when Trustpilot marks the review as verified: it could confirm the reviewer had an experience with the company.
    verification_labelstring or nullHow 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.
    likesinteger or nullThe number of people who marked the review as useful.
    reply_textstring or nullThe company's reply to the review. Null when it has not replied.
    reply_published_atstring (date-time) or nullWhen the company's reply was published, in UTC.
    reply_updated_atstring (date-time) or nullWhen the company last edited its reply, in UTC. Null when it was never edited.
    reviewer_namestring or nullThe reviewer's display name, as the review shows it.
    reviewer_country_codestring or nullThe two-letter country code shown beside the name, e.g. GB.
    fetched_atstring (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=en

    Install 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:

    JSON
    {
      "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.

    JSON
    {
      "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.

    JSON
    {
      "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.