MolTrust Transparency API

TrustProof history + health + info

Operations 5

GET /health Service liveness check #
GET /api/info Self-documentation of capabilities + pricing inventory #
GET /transparency/latest Latest published TrustProof (sanitized) #
GET /transparency/history Last 12 TrustProofs (abbreviated metadata) #
GET /transparency/verify/{hash} Verify a TrustProof hash exists in the proof store #

Documentation

Specifications

Other Resources

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/moltrust-ch:moltrust-ch-transparency-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

moltrust-ch-transparency-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MoltGuard Transparency API
  version: 1.5.0
  description: 'Trust & Integrity Service for the x402 Agent Economy. Sub-API of MolTrust Trust Registry (api.moltrust.ch). See also: https://api.moltrust.ch/openapi.json (parent service).'
  contact:
    name: CryptoKRI GmbH
    url: https://moltrust.ch
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://api.moltrust.ch/guard
  description: Production
security: []
tags:
- name: Transparency
  description: TrustProof history + health + info
paths:
  /health:
    get:
      tags:
      - Transparency
      summary: Service liveness check
      description: Returns 200 OK if the MoltGuard service is up. No auth, no rate limit.
      operationId: getHealth
      responses:
        '200':
          description: Service is up
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
  /api/info:
    get:
      tags:
      - Transparency
      summary: Self-documentation of capabilities + pricing inventory
      description: 'Returns MoltGuard service metadata: version, x402-enabled flag, payment wallet, free/paid endpoint inventory, pricing. Designed for live introspection by agents.'
      operationId: getApiInfo
      responses:
        '200':
          description: Service info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiInfo'
  /transparency/latest:
    get:
      tags:
      - Transparency
      summary: Latest published TrustProof (sanitized)
      description: Returns the most recent TrustProof — sanitized to public metadata only. No system prompts, no test inputs, no raw model outputs. Backed by ~/data/trust-proofs/latest.json.
      operationId: getTransparencyLatest
      responses:
        '200':
          description: Sanitized TrustProof
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustProofSummary'
        '404':
          description: No proofs published yet
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Parse error on stored proof
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /transparency/history:
    get:
      tags:
      - Transparency
      summary: Last 12 TrustProofs (abbreviated metadata)
      description: Returns up to 12 most-recent TrustProofs as an array of summary entries (no full proof payload). Empty array if no proofs exist.
      operationId: getTransparencyHistory
      responses:
        '200':
          description: Array of TrustProof history entries (≤ 12)
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TrustProofHistoryEntry'
                maxItems: 12
  /transparency/verify/{hash}:
    get:
      tags:
      - Transparency
      summary: Verify a TrustProof hash exists in the proof store
      description: Searches the proof store for a TrustProof whose proofHash matches the given hash. Accepts both raw sha256 hex and "sha256:"-prefixed forms.
      operationId: verifyTransparencyHash
      parameters:
      - name: hash
        in: path
        required: true
        schema:
          type: string
        description: sha256 hash of the TrustProof, with or without "sha256:" prefix
      responses:
        '200':
          description: Hash found — proof exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyHashResponseOk'
        '404':
          description: Hash not found in proof store
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyHashResponseNotFound'
components:
  schemas:
    VerifyHashResponseOk:
      type: object
      properties:
        verified:
          type: boolean
          enum:
          - true
        issuanceDate:
          type: string
          format: date-time
        expirationDate:
          type: string
          format: date-time
        vertical:
          type: string
        anchor_tx:
          type: string
        network:
          type: string
          example: base
      required:
      - verified
    TrustProofHistoryEntry:
      type: object
      description: Abbreviated TrustProof for history list — even more public-only than the latest.
      properties:
        id:
          type: string
        issuanceDate:
          type: string
          format: date-time
        expirationDate:
          type: string
          format: date-time
        vertical:
          type: string
        pass_rate:
          type: number
        tests_run:
          type: integer
        anchor_tx:
          type: string
    Error:
      type: object
      properties:
        error:
          type: string
          description: Short error code
        message:
          type: string
          description: Human-readable detail
      required:
      - error
    Health:
      type: object
      properties:
        status:
          type: string
          enum:
          - ok
        timestamp:
          type: string
          format: date-time
      required:
      - status
      - timestamp
    TrustProofSummary:
      type: object
      description: Sanitized TrustProof — public metadata only. No raw prompts/outputs/test inputs.
      properties:
        id:
          type: string
          description: sha256 proofHash from credentialSubject
        type:
          type: array
          items:
            type: string
        issuer:
          type: string
          description: DID of the issuer
        issuanceDate:
          type: string
          format: date-time
        expirationDate:
          type: string
          format: date-time
        credential_type:
          type: string
          enum:
          - TrustProof
        vertical:
          type: string
          description: Vertical the proof applies to
        pass_rate:
          type: number
          description: Fraction of tests passed (0..1)
        avg_integrity_score:
          type: number
        tests_passed:
          type: integer
        tests_run:
          type: integer
        dimensions:
          type: array
          items:
            type: string
        anchor_tx:
          type: string
          description: On-chain anchor transaction hash
        network:
          type: string
          example: base
        proof:
          type: object
          properties:
            type:
              type: string
            created:
              type: string
              format: date-time
    ApiInfo:
      type: object
      description: Self-documentation of MoltGuard service capabilities + pricing.
      properties:
        service:
          type: string
          enum:
          - MoltGuard
        version:
          type: string
          example: 1.5.0
        description:
          type: string
        network:
          type: string
          example: eip155:8453
        x402_enabled:
          type: boolean
        payment:
          type: object
          description: Present only when x402_enabled=true
          properties:
            wallet:
              type: string
              description: EOA address receiving x402 payments
            network:
              type: string
              example: base
            chain_id:
              type: integer
              example: 8453
            token:
              type: string
              example: USDC
            token_contract:
              type: string
        endpoints:
          type: object
          properties:
            free:
              type: array
              items:
                type: string
            paid:
              type: array
              items:
                type: string
        pricing:
          type: object
          properties:
            currency:
              type: string
              example: USDC
            chain:
              type: string
              example: Base
            protocol:
              type: string
              example: x402
      required:
      - service
      - version
      - description
      - network
      - x402_enabled
      - endpoints
    VerifyHashResponseNotFound:
      type: object
      properties:
        verified:
          type: boolean
          enum:
          - false
        message:
          type: string
      required:
      - verified
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: X-PAYMENT
      description: 'x402 v2 payment receipt header. Format: "x402 <base64-encoded-receipt>". See https://x402.org/writing/x402-v2-launch.'