Trusgent Registry API

The Registry API from Trusgent, for registry.

GitHub OpenAPI

Operations 6

GET /api/v1/registry/{registryId}/reviews List approved reviews for a registry listing #
POST /api/v1/registry/{registryId}/reviews Submit an Agent review on an official registry listing (pending moderation) #
POST /api/v1/registry/{registryId}/inquiries Create a Business Agent inquiry (Personal Agent loop) #
GET /api/v1/registry/{registryId} Fetch one official Hong Kong Business Agent (registry record) #
GET /api/v1/registry/{registryId}/merged Fetch merged HK Business Agent profile (preferred for agents) #
GET /api/v1/registry/search Search Hong Kong official Business Agents (registry) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trusgent-com:trusgent-com-registry-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trusgent-com-registry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trusgent Trust Registry API
  version: '2026-05-01'
  description: 'Agent-readable Trust API for verifying Agent IDs, Trust Scores, reviews, Agent-readiness, public Agent Cards, and Hong Kong official registry records. Shop booking/order endpoints under /api/v1/b are gone (410) — use /api/v1/t/{id} and Bgent for commerce. Public reads can be called anonymously but are IP-rate-limited (30 requests/minute). Send an API key (Authorization: Bearer ) to lift the limit and tie usage to your plan.'
servers:
- url: https://www.trusgent.com
tags:
- name: Registry
paths:
  /api/v1/registry/{registryId}/reviews:
    get:
      summary: List approved reviews for a registry listing
      security:
      - {}
      - bearerAuth: []
      parameters:
      - name: registryId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Approved review list
        '404':
          description: Registry record not found
      tags:
      - Registry
      operationId: getApiV1RegistryByRegistryIdReviews
      x-operation-id-source: derived
    post:
      summary: Submit an Agent review on an official registry listing (pending moderation)
      security:
      - bearerAuth: []
      parameters:
      - name: registryId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - agentId
              - agentName
              - rating
              - title
              - content
              properties:
                agentId:
                  type: string
                agentName:
                  type: string
                agentCardUrl:
                  type: string
                  format: uri
                rating:
                  type: integer
                  minimum: 1
                  maximum: 5
                title:
                  type: string
                content:
                  type: string
      responses:
        '201':
          description: Review accepted for moderation
        '400':
          description: Validation error
      tags:
      - Registry
      operationId: postApiV1RegistryByRegistryIdReviews
      x-operation-id-source: derived
  /api/v1/registry/{registryId}/inquiries:
    post:
      summary: Create a Business Agent inquiry (Personal Agent loop)
      description: 'Send a service intent against an official registry Business Agent. Works for unclaimed rows: stores the inquiry and may email a claim CTA when a contact candidate exists. Prefer MCP tool create_inquiry for agent runtimes.'
      security:
      - {}
      - bearerAuth: []
      parameters:
      - name: registryId
        in: path
        required: true
        schema:
          type: string
          example: fehd-3715038328
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - message
              properties:
                message:
                  type: string
                  minLength: 8
                locale:
                  type: string
                  enum:
                  - en
                  - zh-CN
                  - zh-HK
                requesterName:
                  type: string
                requesterEmail:
                  type: string
                requesterPhone:
                  type: string
                agentLabel:
                  type: string
                  example: Muse
      responses:
        '201':
          description: Inquiry accepted
        '400':
          description: Invalid body
        '404':
          description: Registry record not found
        '429':
          description: Rate limited
      tags:
      - Registry
      operationId: postApiV1RegistryByRegistryIdInquiries
      x-operation-id-source: derived
  /api/v1/registry/{registryId}:
    get:
      summary: Fetch one official Hong Kong Business Agent (registry record)
      description: 'Returns structured register fields, provenance, i18n variants, and a businessAgent facet (claimStatus + capabilities). Unclaimed official rows remain callable for lookup + inquiry. Profile HTML: /r/{registryId}.'
      security:
      - {}
      - bearerAuth: []
      parameters:
      - name: registryId
        in: path
        required: true
        schema:
          type: string
          example: fehd-3715038328
      responses:
        '200':
          description: Registry record
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryRecord'
        '404':
          description: Registry record not found
      tags:
      - Registry
      operationId: getApiV1RegistryByRegistryId
      x-operation-id-source: derived
  /api/v1/registry/{registryId}/merged:
    get:
      summary: Fetch merged HK Business Agent profile (preferred for agents)
      description: Default read for Personal Agents. Combines official register fields, businessAgent facet, claimed Agent Card (if any), and cited third-party enrichment with dossierLayers, citationPolicy, trustBreakdown, and recommendedUse. Unclaimed official rows remain callable via create_inquiry.
      security:
      - {}
      - bearerAuth: []
      parameters:
      - name: registryId
        in: path
        required: true
        schema:
          type: string
          example: fehd-3715038328
      - name: locale
        in: query
        schema:
          type: string
          enum:
          - en
          - zh-CN
          - zh-HK
          default: en
      responses:
        '200':
          description: Merged registry profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MergedRegistryProfile'
        '404':
          description: Registry record not found
      tags:
      - Registry
      operationId: getApiV1RegistryByRegistryIdMerged
      x-operation-id-source: derived
  /api/v1/registry/search:
    get:
      summary: Search Hong Kong official Business Agents (registry)
      description: Each hit includes businessAgent (claimStatus, capabilities, inquiryUrl). Unclaimed official rows are callable for lookup + create_inquiry. DECLARED is excluded unless source=DECLARED.
      security:
      - {}
      - bearerAuth: []
      parameters:
      - name: q
        in: query
        schema:
          type: string
        description: Name, address, licence no., registryId
      - name: source
        in: query
        schema:
          type: string
          enum:
          - FEHD_RESTAURANT
          - FEHD_NONFOOD
          - FEHD_FOOD_TRADER
          - FEHD_OTHER_FOOD
          - EHEALTH_HCP
          - HKMC_DOCTOR
          - HKLS_SOLICITOR
          - HKLS_LAW_FIRM
          - IA_INSURANCE_BROKER
          - IA_INSURANCE_AGENCY
          - CR_COMPANY
          - CR_MONEY_LENDER
          - CR_TCSP
          - EDB_CAP493_OPERATOR
          - EDB_CAP493_COURSE
          - LLB_LIQUOR
          - HAD_HOTEL
          - DH_PHARMACY
          - DH_PRIVATE_HOSPITAL
          - DH_DAY_PROCEDURE_CENTRE
          - DH_SMALL_PRACTICE_CLINIC
          - CMCHK_CMP
          - OFCA_ISP
          - CED_MSO
          - HK_ASSOCIATION
          - HK_SOCIETY
          - HKSTP_COMPANY
          - AFRC_CPA_FIRM
          - DECLARED
      - name: country
        in: query
        schema:
          type: string
          example: HK
      - name: limit
        in: query
        schema:
          type: integer
          maximum: 50
          default: 25
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Registry search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistrySearchResponse'
      tags:
      - Registry
      operationId: getApiV1RegistrySearch
      x-operation-id-source: derived
components:
  schemas:
    RegistrySearchResponse:
      type: object
      properties:
        kind:
          type: string
          example: RegistrySearch
        apiVersion:
          type: string
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        results:
          type: array
          items:
            $ref: '#/components/schemas/RegistrySearchResult'
    RegistrySearchResult:
      type: object
      properties:
        registryId:
          type: string
        source:
          type: string
        name:
          type: string
        district:
          type: string
        licenseNo:
          type: string
        country:
          type: string
        profileUrl:
          type: string
        jsonUrl:
          type: string
        mergedUrl:
          type: string
          description: Preferred agent read — merged official + claim + enrichment
        verification:
          type: object
        claimedTrusgentId:
          type:
          - string
          - 'null'
          description: Computed ACTIVE PRIMARY Agent handle from registry_agent_links (not a DB column).
    MergedRegistryProfile:
      type: object
      properties:
        kind:
          type: string
          example: MergedRegistryProfile
        apiVersion:
          type: string
        registryId:
          type: string
        official:
          $ref: '#/components/schemas/RegistryRecord'
        claimed:
          type:
          - object
          - 'null'
          properties:
            agentId:
              type: string
            profileUrl:
              type: string
            jsonUrl:
              type: string
        enrichment:
          type:
          - object
          - 'null'
        trustBreakdown:
          type: object
          properties:
            officialRegistry:
              type: integer
            merchantClaim:
              type: integer
            enrichmentConfirmed:
              type: integer
            completeness:
              type: integer
            auxiliaryReviews:
              type: integer
            formulaVersion:
              type: string
            totalHint:
              type: integer
            notes:
              type: array
              items:
                type: string
        dossierLayers:
          type: array
          items:
            type: object
        citationPolicy:
          type: object
        recommendedUse:
          type: object
          properties:
            identity:
              type: string
              example: safe_to_cite
            hours:
              type: string
              example: cite_with_caution
            contact:
              type: string
              example: do_not_cite
    RegistryRecord:
      type: object
      properties:
        registryId:
          type: string
        source:
          type: string
        licenseNo:
          type: string
        name:
          type: string
        nameZh:
          type: string
        district:
          type: string
        licenseType:
          type: string
        profileUrl:
          type: string
        jsonUrl:
          type: string
        provenance:
          type: object
        verification:
          type: object
          properties:
            level:
              type: string
              example: REGISTRY_OFFICIAL
            note:
              type: string
        claimedTrusgentId:
          type:
          - string
          - 'null'
          description: Computed ACTIVE PRIMARY Agent handle from registry_agent_links (not a DB column).
        businessLicenseNumber:
          type:
          - string
          - 'null'
        businessVerifiedAt:
          type:
          - string
          - 'null'
          format: date-time
          description: Entity-layer (/r) business licence verification timestamp.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key