# Trust402 Resource Trust Score

> Trust402 Resource Trust Score is a paid API for AI agents from trust402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Scores a single x402 resource across trust, schema completeness, price, discovery readiness, and receipt readiness dimensions.

## Facts

- Endpoint: POST https://trust402.vercel.app/api/trust/score-resource?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trust402-resource-trust-score-4f08ff98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RTX9v6C3VeNu8wtNoFWhz

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-score-4f08ff98 -d '<json body>'
```

Example prompt: Score this x402 resource for trust and discovery readiness — origin is https://api.example.com, endpoint is https://api.example.com/data, it costs $0.05, has a 402 challenge, has an OpenAPI spec, and is receipt-ready.

## When to prefer this

Use this endpoint when you need a quick, structured trust signal for a single x402 resource before committing to autonomous payment — especially useful for pre-flight checks before an agent spends on a resource, or for marketplace sellers wanting to validate their listing posture. Prefer this over the full diligence report endpoint when you need a fast score without deep evidence collection, and over the origin-level evaluator when you are assessing a specific endpoint rather than an entire domain.

## Known failure modes

- Missing required origin or endpoint URL returns validation error
- Invalid URI format for origin or endpoint rejected
- Price value out of expected range may affect scoring accuracy
- All boolean fields absent results in a minimal/low-confidence score
- Endpoint unreachable or unavailable returns service error

## How this service works

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

## Output

Returns a multi-dimensional trust score for the specified x402 resource, covering trust level, schema completeness, pricing assessment, discovery readiness (e.g. well-known file, OpenAPI presence), and receipt readiness — giving an agent or developer a structured signal about how safe and discoverable the resource is for autonomous payment flows.

## 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trust402-resource-trust-score-4f08ff98/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trust402.vercel.app](https://www.zero.xyz/host/trust402.vercel.app/llms.txt)
