Trustpilot · Capability

Trustpilot Business Units API — Business Units

Trustpilot Business Units API — Business Units. 4 operations. Lead operation: Search Business Units. Self-contained Naftiko capability covering one Trustpilot business surface.

Run with Naftiko TrustpilotBusiness Units

What You Can Do

GET
Searchbusinessunits — Search Business Units
/v1/v1/business-units/search
GET
Getbusinessunitcategories — Get Business Unit Categories
/v1/v1/business-units/{businessunitid}/categories
GET
Getbusinessunitprofile — Get Business Unit Profile
/v1/v1/business-units/{businessunitid}/profileinfo
GET
Getbusinessunitweblinks — Get Business Unit Web Links
/v1/v1/business-units/{businessunitid}/web-links

MCP Tools

search-business-units

Search Business Units

read-only idempotent
get-business-unit-categories

Get Business Unit Categories

read-only idempotent
get-business-unit-profile

Get Business Unit Profile

read-only idempotent
get-business-unit-web-links

Get Business Unit Web Links

read-only idempotent

Capability Spec

business-units-business-units.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trustpilot Business Units API — Business Units
  description: 'Trustpilot Business Units API — Business Units. 4 operations. Lead operation: Search Business Units. Self-contained
    Naftiko capability covering one Trustpilot business surface.'
  tags:
  - Trustpilot
  - Business Units
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRUSTPILOT_API_KEY: TRUSTPILOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: business-units-business-units
    baseUri: https://api.trustpilot.com
    description: Trustpilot Business Units API — Business Units business capability. Self-contained, no shared references.
    resources:
    - name: v1-business-units-search
      path: /v1/business-units/search
      operations:
      - name: searchbusinessunits
        method: GET
        description: Search Business Units
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: Business name or partial name to search for
        - name: country
          in: query
          type: string
          description: Filter results by ISO 3166-1 alpha-2 country code
        - name: page
          in: query
          type: integer
          description: Page number for pagination
        - name: perPage
          in: query
          type: integer
          description: Number of results per page
        - name: apikey
          in: query
          type: string
          description: Your Trustpilot API key
          required: true
    - name: v1-business-units-businessUnitId-categories
      path: /v1/business-units/{businessUnitId}/categories
      operations:
      - name: getbusinessunitcategories
        method: GET
        description: Get Business Unit Categories
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: businessUnitId
          in: path
          type: string
          required: true
        - name: apikey
          in: query
          type: string
          required: true
    - name: v1-business-units-businessUnitId-profileinfo
      path: /v1/business-units/{businessUnitId}/profileinfo
      operations:
      - name: getbusinessunitprofile
        method: GET
        description: Get Business Unit Profile
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: businessUnitId
          in: path
          type: string
          description: Unique Trustpilot business unit identifier
          required: true
        - name: apikey
          in: query
          type: string
          required: true
    - name: v1-business-units-businessUnitId-web-links
      path: /v1/business-units/{businessUnitId}/web-links
      operations:
      - name: getbusinessunitweblinks
        method: GET
        description: Get Business Unit Web Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: businessUnitId
          in: path
          type: string
          required: true
        - name: locale
          in: query
          type: string
          description: Locale code for localized URLs
        - name: apikey
          in: query
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.TRUSTPILOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: business-units-business-units-rest
    port: 8080
    description: REST adapter for Trustpilot Business Units API — Business Units. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/business-units/search
      name: v1-business-units-search
      description: REST surface for v1-business-units-search.
      operations:
      - method: GET
        name: searchbusinessunits
        description: Search Business Units
        call: business-units-business-units.searchbusinessunits
        with:
          name: rest.name
          country: rest.country
          page: rest.page
          perPage: rest.perPage
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/business-units/{businessunitid}/categories
      name: v1-business-units-businessunitid-categories
      description: REST surface for v1-business-units-businessUnitId-categories.
      operations:
      - method: GET
        name: getbusinessunitcategories
        description: Get Business Unit Categories
        call: business-units-business-units.getbusinessunitcategories
        with:
          businessUnitId: rest.businessUnitId
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/business-units/{businessunitid}/profileinfo
      name: v1-business-units-businessunitid-profileinfo
      description: REST surface for v1-business-units-businessUnitId-profileinfo.
      operations:
      - method: GET
        name: getbusinessunitprofile
        description: Get Business Unit Profile
        call: business-units-business-units.getbusinessunitprofile
        with:
          businessUnitId: rest.businessUnitId
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/business-units/{businessunitid}/web-links
      name: v1-business-units-businessunitid-web-links
      description: REST surface for v1-business-units-businessUnitId-web-links.
      operations:
      - method: GET
        name: getbusinessunitweblinks
        description: Get Business Unit Web Links
        call: business-units-business-units.getbusinessunitweblinks
        with:
          businessUnitId: rest.businessUnitId
          locale: rest.locale
          apikey: rest.apikey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: business-units-business-units-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trustpilot Business Units API — Business Units. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: search-business-units
      description: Search Business Units
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-units-business-units.searchbusinessunits
      with:
        name: tools.name
        country: tools.country
        page: tools.page
        perPage: tools.perPage
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.
    - name: get-business-unit-categories
      description: Get Business Unit Categories
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-units-business-units.getbusinessunitcategories
      with:
        businessUnitId: tools.businessUnitId
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.
    - name: get-business-unit-profile
      description: Get Business Unit Profile
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-units-business-units.getbusinessunitprofile
      with:
        businessUnitId: tools.businessUnitId
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.
    - name: get-business-unit-web-links
      description: Get Business Unit Web Links
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-units-business-units.getbusinessunitweblinks
      with:
        businessUnitId: tools.businessUnitId
        locale: tools.locale
        apikey: tools.apikey
      outputParameters:
      - type: object
        mapping: $.