Trustpilot · Capability

Trustpilot Service Reviews API — Reviews

Trustpilot Service Reviews API — Reviews. 4 operations. Lead operation: Get Latest Reviews. Self-contained Naftiko capability covering one Trustpilot business surface.

Run with Naftiko TrustpilotReviews

What You Can Do

GET
Getlatestreviews — Get Latest Reviews
/v1/v1/reviews/latest
GET
Getreview — Get Review
/v1/v1/reviews/{reviewid}
GET
Getreviewlikes — Get Review Likes
/v1/v1/reviews/{reviewid}/likes
GET
Getreviewweblinks — Get Review Web Links
/v1/v1/reviews/{reviewid}/web-links

MCP Tools

get-latest-reviews

Get Latest Reviews

read-only idempotent
get-review

Get Review

read-only idempotent
get-review-likes

Get Review Likes

read-only idempotent
get-review-web-links

Get Review Web Links

read-only idempotent

Capability Spec

service-reviews-reviews.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trustpilot Service Reviews API — Reviews
  description: 'Trustpilot Service Reviews API — Reviews. 4 operations. Lead operation: Get Latest Reviews. Self-contained
    Naftiko capability covering one Trustpilot business surface.'
  tags:
  - Trustpilot
  - Reviews
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRUSTPILOT_API_KEY: TRUSTPILOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-reviews-reviews
    baseUri: https://api.trustpilot.com
    description: Trustpilot Service Reviews API — Reviews business capability. Self-contained, no shared references.
    resources:
    - name: v1-reviews-latest
      path: /v1/reviews/latest
      operations:
      - name: getlatestreviews
        method: GET
        description: Get Latest Reviews
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: Number of latest reviews to return
          required: true
        - name: language
          in: query
          type: string
          description: ISO 639-1 language code
          required: true
        - name: filterUsersWithoutImages
          in: query
          type: boolean
          description: Filter out reviews from users without profile images
        - name: locale
          in: query
          type: string
        - name: apikey
          in: query
          type: string
          required: true
    - name: v1-reviews-reviewId
      path: /v1/reviews/{reviewId}
      operations:
      - name: getreview
        method: GET
        description: Get Review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reviewId
          in: path
          type: string
          required: true
        - name: apikey
          in: query
          type: string
          required: true
    - name: v1-reviews-reviewId-likes
      path: /v1/reviews/{reviewId}/likes
      operations:
      - name: getreviewlikes
        method: GET
        description: Get Review Likes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reviewId
          in: path
          type: string
          required: true
        - name: apikey
          in: query
          type: string
          required: true
    - name: v1-reviews-reviewId-web-links
      path: /v1/reviews/{reviewId}/web-links
      operations:
      - name: getreviewweblinks
        method: GET
        description: Get Review Web Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reviewId
          in: path
          type: string
          required: true
        - name: locale
          in: query
          type: string
          description: Locale for the web link
          required: true
        - name: apikey
          in: query
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.TRUSTPILOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: service-reviews-reviews-rest
    port: 8080
    description: REST adapter for Trustpilot Service Reviews API — Reviews. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/reviews/latest
      name: v1-reviews-latest
      description: REST surface for v1-reviews-latest.
      operations:
      - method: GET
        name: getlatestreviews
        description: Get Latest Reviews
        call: service-reviews-reviews.getlatestreviews
        with:
          count: rest.count
          language: rest.language
          filterUsersWithoutImages: rest.filterUsersWithoutImages
          locale: rest.locale
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/reviews/{reviewid}
      name: v1-reviews-reviewid
      description: REST surface for v1-reviews-reviewId.
      operations:
      - method: GET
        name: getreview
        description: Get Review
        call: service-reviews-reviews.getreview
        with:
          reviewId: rest.reviewId
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/reviews/{reviewid}/likes
      name: v1-reviews-reviewid-likes
      description: REST surface for v1-reviews-reviewId-likes.
      operations:
      - method: GET
        name: getreviewlikes
        description: Get Review Likes
        call: service-reviews-reviews.getreviewlikes
        with:
          reviewId: rest.reviewId
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/reviews/{reviewid}/web-links
      name: v1-reviews-reviewid-web-links
      description: REST surface for v1-reviews-reviewId-web-links.
      operations:
      - method: GET
        name: getreviewweblinks
        description: Get Review Web Links
        call: service-reviews-reviews.getreviewweblinks
        with:
          reviewId: rest.reviewId
          locale: rest.locale
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-reviews-reviews-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trustpilot Service Reviews API — Reviews. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-latest-reviews
      description: Get Latest Reviews
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-reviews-reviews.getlatestreviews
      with:
        count: tools.count
        language: tools.language
        filterUsersWithoutImages: tools.filterUsersWithoutImages
        locale: tools.locale
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.
    - name: get-review
      description: Get Review
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-reviews-reviews.getreview
      with:
        reviewId: tools.reviewId
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.
    - name: get-review-likes
      description: Get Review Likes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-reviews-reviews.getreviewlikes
      with:
        reviewId: tools.reviewId
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.
    - name: get-review-web-links
      description: Get Review Web Links
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-reviews-reviews.getreviewweblinks
      with:
        reviewId: tools.reviewId
        locale: tools.locale
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.