MolTrust Agent Scoring API

Wallet risk scoring + score-free samples

Operations 4

GET /api/agent/detail/{address} Detailed wallet risk profile (paid) #
GET /api/agent/sample Sample agent score response (mock data, no auth) #
GET /api/agent/score/{address} Wallet risk score with breakdown (paid) #
GET /api/agent/score-free/{address} Wallet risk score (free, rate-limited 1/10min) #

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-scoring-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-scoring-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MoltGuard Agent Scoring 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-scoring
  description: Wallet risk scoring + score-free samples
paths:
  /api/agent/detail/{address}:
    get:
      tags:
      - agent-scoring
      summary: Detailed wallet risk profile (paid)
      description: Full agent score + breakdown + on-chain wallet data + ERC-8004 registration status + MolTrust profile (if registered). Combines outputs of calculateAgentScore + getWalletData + getUsdcBalance + getERC8004Data + resolveByAgentId.
      operationId: getAgentDetailPaid
      security:
      - x402: []
      x-moltrust-pricing:
        amount: '0.05'
        currency: USDC
        chain: eip155:8453
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        description: EVM 0x address
      responses:
        '200':
          description: Detailed wallet risk profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDetail'
        '400':
          description: Invalid 0x address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAddressError'
        '402':
          description: x402 payment required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequired'
  /api/agent/sample:
    get:
      tags:
      - agent-scoring
      summary: Sample agent score response (mock data, no auth)
      description: Returns a fixed mock AgentScore for wallet 0x000...000. Useful for client integration testing without hitting paid /api/agent/score. No rate limit.
      operationId: getAgentSample
      responses:
        '200':
          description: Mock sample
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentScoreSample'
  /api/agent/score/{address}:
    get:
      tags:
      - agent-scoring
      summary: Wallet risk score with breakdown (paid)
      description: Computes agent score for the given address using calculateAgentScore. Returns wallet, score (0-100), and component breakdown. For full on-chain + ERC-8004 + MolTrust integration use /api/agent/detail/{address}.
      operationId: getAgentScorePaid
      security:
      - x402: []
      x-moltrust-pricing:
        amount: '0.05'
        currency: USDC
        chain: eip155:8453
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        description: EVM 0x address
      responses:
        '200':
          description: Score with breakdown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentScoreFull'
        '400':
          description: Invalid 0x address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAddressError'
        '402':
          description: x402 payment required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequired'
  /api/agent/score-free/{address}:
    get:
      tags:
      - agent-scoring
      summary: Wallet risk score (free, rate-limited 1/10min)
      description: Free-tier wallet score — wallet + score, no breakdown. Rate-limited to 1 request per 10 minutes per IP. For unlimited access + breakdown use paid /api/agent/score/{address}.
      operationId: getAgentScoreFree
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        description: EVM 0x address
      responses:
        '200':
          description: Score (no breakdown)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentScoreFree'
        '400':
          description: Invalid 0x address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAddressError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitError'
components:
  schemas:
    AgentDetail:
      type: object
      description: Paid full-detail response — score + breakdown + on-chain data + ERC-8004 + MolTrust profile.
      properties:
        wallet:
          type: string
        score:
          type: integer
          minimum: 0
          maximum: 100
        breakdown:
          $ref: '#/components/schemas/ScoreBreakdown'
        _meta:
          $ref: '#/components/schemas/ScoreMeta'
        walletData:
          $ref: '#/components/schemas/WalletData'
        usdcBalance:
          type: string
        erc8004:
          $ref: '#/components/schemas/ERC8004Data'
        moltrust:
          $ref: '#/components/schemas/MolTrustProfile'
    InvalidAddressError:
      type: object
      properties:
        error:
          type: string
          enum:
          - invalid_address
        message:
          type: string
      required:
      - error
      - message
    ERC8004Data:
      type: object
      properties:
        registered:
          type: boolean
        agentId:
          type: string
        tokenURI:
          type:
          - string
          - 'null'
        reputationScore:
          type:
          - number
          - 'null'
        available:
          type: boolean
    ScoreBreakdown:
      type: object
      description: Component breakdown of AgentScore. Sum of components clamped to [0,100].
      properties:
        walletAge:
          type: integer
        txCount:
          type: integer
        counterparties:
          type: integer
        usdcBalance:
          type: integer
        erc8004Registration:
          type: integer
        erc8004Reputation:
          type: integer
        sybilPenalty:
          type: integer
          description: Negative — penalty for sybil-cluster membership
        credentialBonus:
          type: integer
          description: Positive — bonus for held VCs
    WalletData:
      type: object
      properties:
        balance:
          type: string
          description: ETH balance, decimal string
        txCount:
          type: integer
        uniqueCounterparties:
          type: integer
        ageSeconds:
          type: integer
        firstTxTimestamp:
          type: integer
          description: Unix epoch seconds
        recentTxCount30d:
          type: integer
        fundingSource:
          type:
          - string
          - 'null'
        fundingAmountEth:
          type:
          - string
          - 'null'
        latestBlock:
          type: integer
    AgentScoreSample:
      type: object
      description: Mock response for /api/agent/sample. Fixed wallet 0x000...000.
      properties:
        wallet:
          type: string
          example: '0x0000000000000000000000000000000000000000'
        score:
          type: integer
          minimum: 0
          maximum: 100
        breakdown:
          $ref: '#/components/schemas/ScoreBreakdown'
        _meta:
          $ref: '#/components/schemas/ScoreMeta'
      required:
      - wallet
      - score
      - breakdown
      - _meta
    PaymentRequired:
      type: object
      description: x402 v2 challenge body. Returned with HTTP 402 when X-PAYMENT header is missing or invalid.
      properties:
        x402:
          type: object
          properties:
            version:
              type: integer
              example: 2
            accepts:
              type: array
              items:
                type: object
                properties:
                  scheme:
                    type: string
                    example: exact
                  network:
                    type: string
                    example: base
                  maxAmountRequired:
                    type: object
                    properties:
                      asset:
                        type: string
                        example: USDC
                      amount:
                        type: string
                        description: USDC base units (6 decimals)
                  payTo:
                    type: string
    MolTrustProfile:
      type:
      - object
      - 'null'
      properties:
        did:
          type: string
        displayName:
          type: string
        verified:
          type: boolean
        reputationScore:
          type: number
        totalRatings:
          type: integer
        hasCredentials:
          type: boolean
    ScoreMeta:
      type: object
      properties:
        service:
          type: string
          enum:
          - moltguard
        version:
          type: string
        chain:
          type: string
          example: base-<block-number>
        dataSource:
          type: string
          example: blockscout+rpc+moltrust
        timestamp:
          type: string
          format: date-time
        pricingTier:
          type: string
          enum:
          - paid
          - free-limited
          - sample
        note:
          type: string
    RateLimitError:
      type: object
      properties:
        message:
          type: string
          example: 'Free tier: max 1 request(s) per 10 minutes. Use x402 paid endpoints for unlimited access.'
    AgentScoreFree:
      type: object
      description: Free-tier response — wallet + score only, no breakdown. Rate-limited 1/10min.
      properties:
        wallet:
          type: string
        score:
          type: integer
          minimum: 0
          maximum: 100
        _meta:
          $ref: '#/components/schemas/ScoreMeta'
      required:
      - wallet
      - score
      - _meta
    AgentScoreFull:
      type: object
      description: Paid full-score response — includes breakdown.
      properties:
        wallet:
          type: string
        score:
          type: integer
          minimum: 0
          maximum: 100
        breakdown:
          $ref: '#/components/schemas/ScoreBreakdown'
        _meta:
          $ref: '#/components/schemas/ScoreMeta'
      required:
      - wallet
      - score
      - breakdown
      - _meta
  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.'