# TrustBench x402 Routing & Audit Layer

> TrustBench x402 Routing & Audit Layer is a paid API for AI agents from trustbench.io, paid per call via x402, $0.005000/call, status unknown (last checked 2026-09-15).

Routes an x402 payment transaction through a non-custodial audit layer and returns a signed routing receipt with an on-chain settlement reference, verifiable offline via a published Ed25519 key.

## Facts

- Endpoint: POST https://trustbench.io/route
- Price: $0.005000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustbench-io-1c39c669
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mVK3gRNf29drsOqFvM2MC

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 trustbench-io-1c39c669 -d '<json body>'
```

Example prompt: Route this x402 payment request through TrustBench and give me back the signed routing receipt and on-chain settlement reference so I can verify it offline using the published Ed25519 key.

## When to prefer this

Choose TrustBench when you need a non-custodial, auditable routing layer specifically for x402 protocol payments — particularly when offline verifiability of the routing receipt via Ed25519 is required. Prefer this over custodial payment processors when audit compliance, cryptographic proof of routing, or on-chain settlement traceability is a priority.

## Known failure modes

- Invalid or malformed x402 payment payload returns a 400 error
- Payment amount or token type not supported returns a rejection
- On-chain settlement reference unavailable due to network congestion
- Signature generation failure if Ed25519 key material is unavailable
- Duplicate transaction submission may return conflict or idempotency error
- Insufficient USDC to cover the $0.005 per-call fee results in payment rejection

## How this service works

TrustBench: non-custodial routing and audit layer for x402. Returns a signed routing receipt with on-chain settlement reference, verifiable offline against a published Ed25519 key.

## Output

A signed routing receipt containing an on-chain settlement reference and an Ed25519 signature, verifiable offline against TrustBench's published public key. The receipt serves as a tamper-proof audit record of the x402 payment routing event.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max_price": {
   "type": "string",
   "pattern": "^[0-9]+$"
  },
  "capability": {
   "enum": [
    "search",
    "inference",
    "data",
    "media",
    "infra"
   ],
   "type": "string"
  },
  "payer_address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustbench-io-1c39c669/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trustbench.io](https://www.zero.xyz/host/trustbench.io/llms.txt)
