# Trust402 Origin Trust Evaluator

> Trust402 Origin Trust Evaluator is a paid API for AI agents from trust402.aztecbeacon.uk, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Evaluates the trustworthiness of a source origin URL for x402 web access or verification, returning a procurement recommendation.

## Facts

- Endpoint: POST https://trust402.aztecbeacon.uk/api/trust/evaluate-origin
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trust402-origin-trust-evaluator-cbce6e03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dC8-WOOeXTXvn2A_PVyr9

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 trust402-origin-trust-evaluator-cbce6e03 -d '<json body>'
```

Example prompt: Before my agent pays for this x402 resource, can you evaluate whether the origin https://someapi.example.com is trustworthy — it costs $0.05, has a 402 response, has an OpenAPI spec, has a well-known file, and its receipt is ready?

## When to prefer this

Use this endpoint when an AI agent needs to decide whether to trust and pay for an x402 resource before committing funds. It is specifically designed for buyer-side trust evaluation in the x402 micropayment ecosystem, making it the right choice when you have metadata about an origin (price, OpenAPI availability, well-known presence, receipt readiness) and want a structured recommendation rather than a manual review.

## Known failure modes

- Invalid or malformed origin URL returns validation error
- Unreachable origin may result in inability to evaluate trust
- Missing required fields may return a 400 bad request
- Ambiguous or incomplete metadata lowers confidence of recommendation
- Network timeout if origin takes too long to probe

## How this service works

Evaluate a full origin/domain and its x402 discovery posture.

## Output

A JSON object containing an 'ok' boolean, a 'tool' identifier ('trust.evaluate_origin'), and a 'recommendation' string (e.g. 'test-first') indicating whether to trust and proceed with the origin.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "has402": {
   "type": "boolean"
  },
  "origin": {
   "type": "string",
   "format": "uri",
   "description": "Resource origin URL."
  },
  "endpoint": {
   "type": "string",
   "format": "uri",
   "description": "Resource endpoint URL."
  },
  "priceUsd": {
   "type": "number"
  },
  "hasOpenApi": {
   "type": "boolean"
  },
  "description": {
   "type": "string"
  },
  "hasWellKnown": {
   "type": "boolean"
  },
  "receiptReady": {
   "type": "boolean"
  },
  "hasInputSchema": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "trust.evaluate_origin",
  "recommendation": "test-first"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trust402-origin-trust-evaluator-cbce6e03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trust402.aztecbeacon.uk](https://www.zero.xyz/host/trust402.aztecbeacon.uk/llms.txt)
