MolTrust Agent Graph API

Endorsement graph score/neighbours/stats

Operations 3

GET /api/graph/neighbours/{did} Get endorsement-graph neighbours for a DID #
GET /api/graph/score/{fromDid}/{toDid} Compute graph-based trust score along an endorsement path #
GET /api/graph/stats Aggregate endorsement-graph statistics #

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-agent-graph-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-agent-graph-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MoltGuard Agent Graph 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: agent-graph
  description: Endorsement graph score/neighbours/stats
paths:
  /api/graph/neighbours/{did}:
    get:
      tags:
      - agent-graph
      summary: Get endorsement-graph neighbours for a DID
      operationId: getGraphNeighbours
      parameters:
      - name: did
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Neighbours
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphNeighbours'
  /api/graph/score/{fromDid}/{toDid}:
    get:
      tags:
      - agent-graph
      summary: Compute graph-based trust score along an endorsement path
      operationId: getGraphScore
      parameters:
      - name: fromDid
        in: path
        required: true
        schema:
          type: string
      - name: toDid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Score edge
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphScoreEdge'
  /api/graph/stats:
    get:
      tags:
      - agent-graph
      summary: Aggregate endorsement-graph statistics
      operationId: getGraphStats
      responses:
        '200':
          description: Stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphStats'
components:
  schemas:
    GraphScoreEdge:
      type: object
      additionalProperties: true
      properties:
        fromDid:
          type: string
        toDid:
          type: string
        score:
          type: number
        edgeType:
          type: string
    GraphStats:
      type: object
      additionalProperties: true
      properties:
        totalNodes:
          type: integer
        totalEdges:
          type: integer
        avgDegree:
          type: number
    GraphNeighbours:
      type: object
      additionalProperties: true
      properties:
        did:
          type: string
        neighbours:
          type: array
          items:
            type: object
            additionalProperties: true
  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.'