> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Trustpilot company reviews

> Returns a company's Trustpilot profile and reviews as JSON. `company` is the reviewed domain (e.g. `www.nike.com`). The response has a `company` summary (`trustScore`, `totalReviews`, `ratingDistribution` 1-5, `categories`, `contact`) and a `reviews` array - each with `rating`, `title`, `text`, `verified`, `author` (name, country, review count), `reply` (the company's response) and dates. Page with `page`/`pages` (20 reviews per page), and filter with `stars`, `sort` (recency/relevancy), `language`, `date`, `search`, `verified` or `replies`.



## OpenAPI

````yaml /api-reference/openapi.json post /reviews/trustpilot
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /reviews/trustpilot:
    post:
      tags:
        - Plugins
      summary: Scrape Trustpilot company reviews
      description: >-
        Returns a company's Trustpilot profile and reviews as JSON. `company` is
        the reviewed domain (e.g. `www.nike.com`). The response has a `company`
        summary (`trustScore`, `totalReviews`, `ratingDistribution` 1-5,
        `categories`, `contact`) and a `reviews` array - each with `rating`,
        `title`, `text`, `verified`, `author` (name, country, review count),
        `reply` (the company's response) and dates. Page with `page`/`pages` (20
        reviews per page), and filter with `stars`, `sort` (recency/relevancy),
        `language`, `date`, `search`, `verified` or `replies`.
      operationId: trustpilot_reviews_reviews_trustpilot_post
      parameters:
        - name: company
          in: query
          required: true
          schema:
            type: string
            description: >-
              The reviewed company's domain, e.g. 'www.nike.com' or 'nike.com'.
              A full site URL or a pasted Trustpilot review URL is also
              accepted.
            title: Company
          description: >-
            The reviewed company's domain, e.g. 'www.nike.com' or 'nike.com'. A
            full site URL or a pasted Trustpilot review URL is also accepted.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: 1-based page to start from (20 reviews/page).
            default: 1
            title: Page
          description: 1-based page to start from (20 reviews/page).
        - name: pages
          in: query
          required: false
          schema:
            type: integer
            maximum: 20
            minimum: 1
            description: >-
              How many consecutive pages to fetch from `page` onward (20 reviews
              each). Stops early at the last page.
            default: 1
            title: Pages
          description: >-
            How many consecutive pages to fetch from `page` onward (20 reviews
            each). Stops early at the last page.
        - name: stars
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: integer
              - type: 'null'
            description: >-
              Only reviews with these star ratings (1, 2, 3, 4, 5). Repeatable,
              e.g. stars=4&stars=5.
            title: Stars
          description: >-
            Only reviews with these star ratings (1, 2, 3, 4, 5). Repeatable,
            e.g. stars=4&stars=5.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            description: 'Ordering: recency, relevancy. Default ''recency'' (newest first).'
            default: recency
            title: Sort
          description: 'Ordering: recency, relevancy. Default ''recency'' (newest first).'
        - name: language
          in: query
          required: false
          schema:
            type: string
            description: >-
              Review language ISO-2 code (e.g. 'en', 'de') or 'all'. Default
              'all'.
            default: all
            title: Language
          description: >-
            Review language ISO-2 code (e.g. 'en', 'de') or 'all'. Default
            'all'.
        - name: date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Only reviews from a recent window: last30days, last3months,
              last6months, last12months. Omit for all time.
            title: Date
          description: >-
            Only reviews from a recent window: last30days, last3months,
            last6months, last12months. Omit for all time.
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Keyword to search within the company's reviews.
            title: Search
          description: Keyword to search within the company's reviews.
        - name: verified
          in: query
          required: false
          schema:
            type: boolean
            description: Only verified reviews (Trustpilot's verified badge).
            default: false
            title: Verified
          description: Only verified reviews (Trustpilot's verified badge).
        - name: replies
          in: query
          required: false
          schema:
            type: boolean
            description: Only reviews the company has replied to.
            default: false
            title: Replies
          description: Only reviews the company has replied to.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Exit-IP country (ISO-2). Defaults to an exit chosen for the
              domain.
            title: Proxy Country
          description: Exit-IP country (ISO-2). Defaults to an exit chosen for the domain.
      responses:
        '200':
          description: JSON with `company` and a `reviews` array.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: Blocked by Trustpilot or no review page returned.
        '504':
          description: Fetch timed out.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````