# Aegis Trust Evaluation

> Aegis Trust Evaluation is a paid API for AI agents from aegis.borisinc.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Evaluates the trustworthiness of an x402 service URL or payer wallet using on-chain purchase history to return a trust score and PASS/FAIL decision

## Facts

- Endpoint: GET https://aegis.borisinc.com/trust/evaluate
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aegis-trust-evaluation-3c85c6bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q6UaEei4X_vPTj7V_zpqu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aegis-trust-evaluation-3c85c6bd
```

Example prompt: Before paying, check Aegis to see if this x402 service URL is trustworthy — run a resource-mode trust evaluation on https://api.example.com/some-service and tell me whether it passes.

## When to prefer this

Use Aegis trust evaluation when your AI agent needs to decide whether to pay an unknown x402 service URL before committing funds, or when you are a seller needing to vet an incoming payer wallet. Prefer this over manual inspection when you want an on-chain-backed, quantitative trust score rather than a heuristic judgment.

## Known failure modes

- Missing required 'resource' or 'wallet' query param for the selected mode — returns validation error
- Unknown or never-transacted URL/wallet with no on-chain history — may return low score or undecided state
- Invalid mode value — returns error if mode cannot be inferred
- Network or payment failure — $0.005 USDC required per call via x402 protocol

## How this service works

Search 2,400+ x402 services ranked by delivery-verified trust. Free discovery, paid trust checks, payment routing with failover. We buy from sellers to prove they deliver.

## Output

Returns a JSON object with a numeric trust score (0–1), a schema version string, a binary PASS or FAIL decision, the provider identifier ('aegis'), and a reason code explaining the basis of the score (e.g. 'onchain_history').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "mode": {
       "type": "string",
       "description": "resource|payer, inferred if omitted"
      },
      "wallet": {
       "type": "string",
       "description": "payer wallet (payer mode: should a seller accept settlement from this wallet)"
      },
      "resource": {
       "type": "string",
       "description": "x402 service URL (resource mode: is this seller safe to pay - delivery-verified)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 0.808,
  "schema": "x402-trust-evaluation-v0.1",
  "decision": "PASS",
  "provider": "aegis",
  "reason_code": "onchain_history"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aegis-trust-evaluation-3c85c6bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aegis.borisinc.com](https://www.zero.xyz/host/aegis.borisinc.com/llms.txt)
