Actor picture

Trustpilot reviews scraper

casper11515/trustpilot-reviews-scraper

Easily filter and extract thousands of reviews with data such as title, description, score, reviewer, country, company response, and much more from companies on Trustpilot.com and download them to multiple file formats.

Free trial for 7 days

Then $10/month

No credit card required now

Author's avatarCasper Rubæk
  • Modified
  • Users27
  • Runs198
Actor picture
Trustpilot reviews scraper

Free trial for 7 days

Then $10/month

Introduction

This scraper can scrape reviews from trustpilot.com and save the data to either HTML table, JSON, CSV, Excel, XML, or RSS feed formats and it can be invoked by an API call.

Sample reviews

Certain graphics has been blurred for copyright reasons

The scraper supports sorting and filtering.

I developed the scraper to analyze trustpilot reviews.

Use cases

Common use cases for scraping Trustpilot are to:

  • Analyze your competitor's reviews to determine why customers are happy or unhappy with the company
  • Analyze how your competitor responds to reviews
  • Determine you target audience and analyze your customers profile
  • Monitor mentions of your brand
  • Find new leads
  • Do market research
  • Do research on behavior of reviewers or amount of fake reviews

How to use

Here is an example of the inputs:

Sample inputs

Fill out the following inputs when running the scraper:

  1. [companyWebsite]: Enter the website for the company you want reviews for, such as trustpilot.com.

  2. [sortBy]: Optional sorting by recent reviews. If you don't specify this, sorting will be done by relevancy.

  3. [filterByStarRating]: optional filtering by amount of stars for a review. You can specify either 1,2,3,4 or 5. However you can not filter by multiple stars.

  4. [filterBylanguage]: optional filtering by languauge of reviews. You can only specify only language, such as es, da and so on. By default all languauges are selected.

  5. [filterByVerified]: optional filtering by if reviews have been verified, such as when the company has asked the customer to do a review. Enter "yes" to enable this filter.

  6. It is recommended to use proxies for scraping many reviews at a time.

  7. Change timeout setting to accomodate scraping the amount of reviews you need. A default timeout is set for 300 seconds (5 minutes), which is sufficient for scraping all reviews from a small company such as shopwagandtail.com. For scraping trustpilot.com it is advised to set the timeout to 3600 seconds (1 hour). The required timeout depends entirely on your use case. Let me know if you need help estimating this by opening an issue.

  8. Optionally set a different memory amount. By default the scraper runs optimal with 4GB of memory. Performance of the scraper when running with recommended configuration with proxies and 4GB of memory is the ability to scrape approximately on average 3 reviews/second and 5 seconds to process each page. However these are estimates.

Extracted data

The extracted data will be:

  • The title of the review
  • The description/content of the review
  • The rating score in stars that the reviewer has given the review
  • The reviewers country
  • The response from the company, if they have written any
  • The name of the reviewer
  • If the review is verified
  • The language of the review, if it is found, otherwise the value will be "unknown language"
  • The date and time of the review
  • URL that points to the page to find the review

Here is a sample Trustpilot review from a sample company on Trustpilot:

Sample review

Certain graphics has been blurred for copyright reasons

Here is how it will look like in JSON format:

Certain content has been redacted for copyright reasons

[
  {
    "url": "https://www.trustpilot.com/review/companywebsite.anything?languages=all&page=9",
    "reviewDate": "Sunday, November 7, 2021 at 09:55:50 AM",	
    "verified": "Yes",
    "reviewLanguage": "unknown",
    "reviewer": "John Doe",
    "reviewTitle": "Donec pellentesque!",
    "reviewDescription": "Date of experience: November 07, 2021",
    "reviewRating": "5",
    "reviewCountry": "AU",
    "reviewCompanyResponse": "Nullam accumsan vel neque vitae condimentum. Proin vel arcu ac urna posuere facilisis sed nec metus. Morbi mollis, magna nec convallis euismod, odio ipsum aliquet nisi, id tristique enim sapien vel mauris"
 }
]

Help, feedback and bugs

Let me know if you need some other data and I will do my best to fullfill your request. If you need any help, post processing of the data or encounter any issues or bugs, please open an issue on apify.com and I will get back to you as soon as possible.

Please note that the actor is not a product of Trustpilot, anyhow affiliated with or endorsed by Trustpilot.

As a user of this webscraping solution, you are solely responsible for complying with applicable laws and respecting Trustpilot' terms of use, such as copyright etc. when using the extracted review data.

Industries

See how Trustpilot reviews scraper is used in industries around the world