# Trustpilot API

Retrieve Trustscore data, display ratings and reviews using company domain names to analyze customer feedback.

Pass the official company domain, not the company name. Date filters accept presets, not any single date.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "trustpilot", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/trustpilot-api](https://everyinfra.com/en/trustpilot-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### profile — Details
Look up a company's Trustpilot page by domain for its TrustScore, star rating, review count and categories. TrustScore is a weighted 1-5 score, not a plain average, and the call neither certifies the company nor recalculates it.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `company` (required): Target company website domain (such as `example.com`) or full Trustpilot `/review/` URL. It does not accept localized business names. In `profile`, it aggregates company profiles and ratings from linked reviews, while `reviews` fetches individual review records.
- Returns fields: name, domain, url, trust_score, rating, rating_scale, review_count, categories, id, country_code, website_url, category, address, city, postal_code, phone, email, logo_url, is_claimed, claimed_at, is_closed, is_temporarily_closed, is_verified_business, last_12_months_rating_count, negative_review_reply_percent, average_reply_days, rating_star_counts, rating_distribution, platform
- Capability page: [https://everyinfra.com/en/trustpilot-api/profile](https://everyinfra.com/en/trustpilot-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/trustpilot-api/profile.md)

### reviews — Reviews
Read Trustpilot reviews of a company. Get rating, verification level, reviewer details, experience date and the company's reply. Filter by preset date range, language, star counts, sort order or `verified_only`. The review content itself is not validated.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `company` (required): Target company website domain (such as `example.com`) or full Trustpilot `/review/` URL. It does not accept localized business names. In `profile`, it aggregates company profiles and ratings from linked reviews, while `reviews` fetches individual review records.
  - `date` (optional): Publish-date window for the `reviews` action: `last7days`, `last30days`, `last3months`, `last6months` or `last12months` (counting back 7, 30, 92, 183 or 366 days). Leave it empty for reviews from any date. Other values, including specific dates, return a 422 error before any charge. One of: last12months, last30days, last3months, last6months, last7days.
  - `lang` (optional): Review language as two-letter ISO 639-1 codes, either one code or an array (such as `en` or `["en","de"]`); it takes precedence over `language`. Filtering reviews within `profile` may affect whether linked company data is returned.
  - `language` (optional): One two-letter ISO 639-1 language code (such as `en`, `fr`, `de` or `es`) for filtering reviews in the `reviews` action. Without it, you get the English reviews that Trustpilot shows by default. If `lang` is provided, it takes precedence over this parameter.
  - `sort` (optional): Sorting mode for the `reviews` action: `recency` or `newest` (default; both put the newest reviews first), or `relevance` to sort by relevance. Other values return a 422 error before any charge. One of: newest, recency, relevance.
  - `stars` (optional): Star ratings to filter `reviews` by, each a whole number from `1` to `5`: an array (`["1","2"]` or `[1,2]`), a comma-separated string (`"1,2"`) or a single value (`5` or `"5"`); `["1","2"]` returns only one- and two-star reviews. Other values return a 422 error before any charge. Leaving this field empty includes all ratings; it does not represent a minimum rating threshold.
  - `verified_only` (optional): Boolean (`true` or `false`). Returns only reviews Trustpilot labels verified, excluding business-invited (invited) reviews. If the company has no verified reviews, the result is empty and you are not charged. This is a review verification label, not an EveryInfra audit of the company.
- Returns fields: id, url, title, text, rating, rating_scale, language, like_count, is_verified, verification_level, source, country, author_name, author_id, author_image, author_review_count, reply_text, reply_at, experience_at, updated_at, posted_at, company_name, company_domain, author_url, business_id, rank, platform
- Capability page: [https://everyinfra.com/en/trustpilot-api/reviews](https://everyinfra.com/en/trustpilot-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/trustpilot-api/reviews.md)

## Trustpilot API questions

### What can I retrieve with the Trustpilot API?

Set `platform` to `trustpilot`. The current catalog lists details and reviews. These action names identify different Trustpilot objects or views; they are not interchangeable search modes.

### Which input starts the Trustpilot `profile` request?

Target company website domain (such as `example.com`) or full Trustpilot `/review/` URL. It does not accept localized business names. In `profile`, it aggregates company profiles and ratings from linked reviews, while `reviews` fetches individual review records. Send it as `company` inside `params`.

### Which fields can Trustpilot `profile` return?

Its declared schema includes `name`, `domain`, `trust_score`, and `rating`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Trustpilot action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=trustpilot
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
