1 credit per call6 endpoints10 datapointsChecked working 6 Dec 2026
Trustpilot API
Trustpilot API for company reviews, TrustScore and star breakdowns, company search and business lists by category as JSON. 1 credit per call.
{
"query": "amazon",
"containsSpecialCharacters": false,
"legalUrl": "https://legal.trustpilot.com",
"hasMore": false,
"businessUnits": [
{
"businessUnitId": "46ad346800006400050092d0",
"stars": 1.5,
"identifyingName": "www.amazon.com",
"displayName": "Amazon",
"numberOfReviews": 50311,
"trustScore": 1.5,
"location": {
"country": "United Kingdom"
},
"isRecommendedInCategories": false,
"contact": {
"website": "https://www.amazon.com"
},
"categories": [
{
"categoryId": "book_store",
"displayName": "Book Store",
"isPredicted": false,
"isPrimary": false
},
{
"categoryId": "clothing_store",
"displayName": "Clothing Store",
"isPredicted": false,
"isPrimary": false
},
{
"categoryId": "shoe_store",
"displayName": "Shoe Store",
"isPredicted": false,
"isPrimary": false
}
]
},
{
"businessUnitId": "46d72ac0000064000500e9bb",
"stars": 1.5,
"identifyingName": "www.amazon.fr",
"displayName": "Amazon",
"numberOfReviews": 19786,
"trustScore": 1.6,
"location": {
"country": "France"
},
"isRecommendedInCategories": false,
"contact": {
"website": "https://www.amazon.fr"
},
"categories": [
{
"categoryId": "events_entertainment",
"displayName": "Events & Entertainment",
"isPredicted": true,
"isPrimary": false
}
]
},
{
"businessUnitId": "5f913f73f32f9f00013692a6",
"stars": 2,
"identifyingName": "amazon.se",
"displayName": "Amazon",
"numberOfReviews": 1598,
"trustScore": 2,
"location": {},
"isRecommendedInCategories": false,
"contact": {
"website": "https://amazon.se"
},
"categories": [
{
"categoryId": "electronics_store",
"displayName": "Electronics Store",
"isPredicted": false,
"isPrimary": false
}
]
}
],
"categories": [
{
"categoryId": "book_store",
"displayName": "Book Store",
"topLevelCategoryDisplayName": "Media & Publishing",
"iconCategoryId": "media_publishing"
},
{
"categoryId": "e_commerce_agency",
"displayName": "e-Commerce Agency",
"topLevelCategoryDisplayName": "Business Services",
"iconCategoryId": "business_services"
},
{
"categoryId": "e_commerce_service",
"displayName": "e-Commerce Service",
"topLevelCategoryDisplayName": "Business Services",
"iconCategoryId": "business_services"
}
],
"defaultFilters": {
"address": "",
"countryCode": "",
"claimed": false,
"location": "",
"variant": ""
},
"filters": {
"address": "",
"countryCode": "",
"claimed": false,
"location": "",
"variant": ""
},
"hasActiveFilters": false,
"pagination": {
"currentPage": 1,
"totalPages": 56,
"totalResults": 560,
"pageSize": 10
},
"searchMode": "keyword",
"_source": "persistent_browser_primary_json"
}Sample data
What one call returns
A recorded run of company-search: the fields and shapes you will get, shortened to 3 items.
| # | businessUnitIdstring | starsnumber | identifyingNamestring | displayNamestring | numberOfReviewsinteger | trustScorenumber | locationobject | isRecommendedInCategoriesboolean | contactobject | categoriesobject[] |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 46ad346800006400050092d0 | 1.5 | www.amazon.com | Amazon | 50311 | 1.5 | {1 fields} | false | {1 fields} | [3 items] |
| 2 | 46d72ac0000064000500e9bb | 1.5 | www.amazon.fr | Amazon | 19786 | 1.6 | {1 fields} | false | {1 fields} | [1 item] |
| 3 | 5f913f73f32f9f00013692a6 | 2 | amazon.se | Amazon | 1598 | 2 | {0 fields} | false | {1 fields} | [1 item] |
[
{
"businessUnitId": "46ad346800006400050092d0",
"stars": 1.5,
"identifyingName": "www.amazon.com",
"displayName": "Amazon",
"numberOfReviews": 50311,
"trustScore": 1.5,
"location": {
"country": "United Kingdom"
},
"isRecommendedInCategories": false,
"contact": {
"website": "https://www.amazon.com"
},
"categories": [
{
"categoryId": "book_store",
"displayName": "Book Store",
"isPredicted": false,
"isPrimary": false
},
{
"categoryId": "clothing_store",
"displayName": "Clothing Store",
"isPredicted": false,
"isPrimary": false
},
{
"categoryId": "shoe_store",
"displayName": "Shoe Store",
"isPredicted": false,
"isPrimary": false
}
]
},
{
"businessUnitId": "46d72ac0000064000500e9bb",
"stars": 1.5,
"identifyingName": "www.amazon.fr",
"displayName": "Amazon",
"numberOfReviews": 19786,
"trustScore": 1.6,
"location": {
"country": "France"
},
"isRecommendedInCategories": false,
"contact": {
"website": "https://www.amazon.fr"
},
"categories": [
{
"categoryId": "events_entertainment",
"displayName": "Events & Entertainment",
"isPredicted": true,
"isPrimary": false
}
]
},
{
"businessUnitId": "5f913f73f32f9f00013692a6",
"stars": 2,
"identifyingName": "amazon.se",
"displayName": "Amazon",
"numberOfReviews": 1598,
"trustScore": 2,
"location": {},
"isRecommendedInCategories": false,
"contact": {
"website": "https://amazon.se"
},
"categories": [
{
"categoryId": "electronics_store",
"displayName": "Electronics Store",
"isPredicted": false,
"isPrimary": false
}
]
}
]businessUnitId,stars,identifyingName,displayName,numberOfReviews,trustScore,location,isRecommendedInCategories,contact,categories
46ad346800006400050092d0,1.5,www.amazon.com,Amazon,50311,1.5,"{""country"":""United Kingdom""}",false,"{""website"":""https://www.amazon.com""}","[{""categoryId"":""book_store"",""displayName"":""Book Store"",""isPredicted"":false,""isPrimary"":false},{""categoryId"":""clothing_store"",""displayName"":""Clothing Store"",""isPredicted"":false,""isPrimary"":false},{""categoryId"":""shoe_store"",""displayName"":""Shoe Store"",""isPredicted"":false,""isPrimary"":false}]"
46d72ac0000064000500e9bb,1.5,www.amazon.fr,Amazon,19786,1.6,"{""country"":""France""}",false,"{""website"":""https://www.amazon.fr""}","[{""categoryId"":""events_entertainment"",""displayName"":""Events & Entertainment"",""isPredicted"":true,""isPrimary"":false}]"
5f913f73f32f9f00013692a6,2,amazon.se,Amazon,1598,2,{},false,"{""website"":""https://amazon.se""}","[{""categoryId"":""electronics_store"",""displayName"":""Electronics Store"",""isPredicted"":false,""isPrimary"":false}]"Recorded 12 Nov 2026 · 3 items shown · 10 datapoints per itemGET /v1/trustpilot/company-search?query=amazon
10 datapoints
Identity
- businessUnitIdstring
- identifyingNamestring
- displayNamestring
Location
- locationobject
Reputation
- starsnumber
- numberOfReviewsinteger
- trustScorenumber
Other
- isRecommendedInCategoriesboolean
- contactobject
- categoriesobject[]
Playground
Run this API
curl "https://api.perceptlayer.com/v1/trustpilot/company-search?query=amazon" \
-H "X-API-Key: $API_KEY"Trustpilot · 6 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/trustpilot/businesses | category+6 optional | pagePropslocalefeaturespathnamesubdomain__N_SSP+1 more | 1 credit |
GET/v1/trustpilot/categories | none | idnameslugsubcategories | 1 credit |
GET/v1/trustpilot/company-details | company_domain+1 optional | basic_inforatingslocationcategoriescontactmetadata | 1 credit |
GET/v1/trustpilot/company-reviews | company_domain+11 optional | pageUrlbusinessUnitreviewsrelevantReviewsseoDatashowAdvertisement+10 more | 1 credit |
GET/v1/trustpilot/company-search | query+5 optional | containsSpecialCharacterslegalUrlhasMorebusinessUnitscategoriesdefaultFilters+4 more | 1 credit |
GET/v1/trustpilot/countries | none | countryCodecountryName | 1 credit |
Overview
About the Trustpilot API
What you can get
The Trustpilot API returns Trustpilot data as JSON through 6 endpoints.
- Reviews:
company-reviewstakes acompany_domain, withpage,per_page,verified,with_replies,query,rating,sort(relevance or recency),locale,languages,fieldsanddate_posted(any, last_12_months, last_6_months, last_3_months or last_30_days). - Companies:
company-detailstakes acompany_domain, withlocale;company-searchtakes aquery, withpage,country,min_rating(any, 3, 4 or 4.5),min_review_countandlocale. - Categories:
businessestakes acategory, withpage,sort(reviews_count or latest_review),claimed,country,limitandtrustscore(3.0, 4.0 or 4.5);categoriesandcountrieslist the values.
The recorded company-reviews call for amazon.com returns businessUnit (trustScore, stars, numberOfReviews, numberOfReviewsLast12Months, categories, isClaimed), reviews with rating, title, text, dates, language and isVerified, and pagination with total_pages, per_page and has_next_page.
How a call works
Pass the company's domain: GET /v1/trustpilot/company-reviews?company_domain=amazon.com&languages=all with your key in the X-API-Key header. Page with page; the recorded pagination shows per_page 20. Every successful call costs 1 credit; failed calls cost nothing.
More reviews APIs
Use cases
Track a company's TrustScore and review volume over time
Use the Trustpilot API to track a company's TrustScore and review volume over timeMonitor new reviews for your brand and competitors
Use the Trustpilot API to monitor new reviews for your brand and competitorsCompare businesses in a category by rating and review count
Use the Trustpilot API to compare businesses in a category by rating and review countCollect review text for sentiment analysis, without reviewer details
Use the Trustpilot API to collect review text for sentiment analysis, without reviewer detailsFAQ
Questions
Do I need a Trustpilot business account?
No. You call this Trustpilot API with your Perceptlayer key in the `X-API-Key` header, and it reads any public company profile, not only your own.
How much does the Trustpilot API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official Trustpilot API?
No. Perceptlayer is an independent service and is not affiliated with Trustpilot. It returns Trustpilot data as JSON with a Perceptlayer key, so there is no Trustpilot developer account, app review or partner approval to get first. It only reads data: if Trustpilot has an official API and you need to act on your own Trustpilot account, such as posting, managing orders or reading private data, use that one.
Should I build a Trustpilot scraper instead?
You can, but a Trustpilot scraper is code you maintain: page changes break it, requests get blocked, and Trustpilot's terms govern how you collect data. The Trustpilot API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Trustpilot API with 100 free credits
No credit card. Failed calls are never billed.