# Trust402 Resource Trust Scorer

> Trust402 Resource Trust Scorer is a paid API for AI agents from trust402.aztecbeacon.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Evaluates and scores the trustworthiness of an x402 paywall-gated resource before a buyer commits payment, returning a procurement recommendation.

## Facts

- Endpoint: POST https://trust402.aztecbeacon.uk/api/trust/score-resource
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trust402-resource-trust-scorer-64fe1614
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0_2MEQQPXkKdPCbQQjpOv

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-resource-trust-scorer-64fe1614 -d '<json body>'
```

Example prompt: Before I pay for this x402 resource at https://api.example.com/data (origin: https://api.example.com, priced at $0.05), can you score its trustworthiness — it has a 402 header, an OpenAPI spec, and a well-known file, but no receipt confirmation yet — and tell me if I should go ahead and buy?

## When to prefer this

Use this endpoint when an AI agent or buyer is about to execute a payment against an x402-gated resource and needs a pre-purchase trust signal. Prefer it over general URL reputation services when the target resource uses the x402 HTTP payment protocol and you need procurement-specific signals like receipt readiness, OpenAPI presence, and well-known file availability.

## Known failure modes

- Missing or invalid endpoint/origin URL returns a 400-level error
- Resource signals are ambiguous leading to a conservative 'test-first' or 'avoid' recommendation
- Endpoint unreachable or timeout if the origin cannot be probed
- Invalid priceUsd or schema types cause request rejection

## How this service works

Score one x402 resource for trust, schema, price, discovery, and receipt readiness.

## Output

Returns a JSON object with an 'ok' boolean, the tool name ('trust.score_resource'), and a 'recommendation' string (e.g. 'test-first') indicating whether and how cautiously to proceed with purchasing the x402 resource.

## 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.score_resource",
  "recommendation": "test-first"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trust402-resource-trust-scorer-64fe1614/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)
