# XH Agents — x402 Endpoint Trust Score

> XH Agents — x402 Endpoint Trust Score is a paid API for AI agents from xhagents.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Evaluates the trustworthiness of any x402 paid endpoint before an agent pays it, returning a 0-100 score, verdict, and on-chain payTo inspection

## Facts

- Endpoint: GET https://xhagents.xyz/api/x402-trust?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xh-agents-x402-endpoint-trust-score-a0111633
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QUo_duYnggF-9zlDsjqJu

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 xh-agents-x402-endpoint-trust-score-a0111633
```

Example prompt: Before my agent pays the x402 endpoint at https://xhagents.xyz/api/kb/ask, run a deep trust check on it using a POST method — I want to see the full score breakdown and whether the payTo wallet has real inflows on-chain.

## When to prefer this

Choose this endpoint when an AI agent needs to evaluate whether an unfamiliar x402 paid endpoint is safe to call before committing USDC. It is the only known service that combines protocol conformance checking, on-chain payTo wallet inspection, and a structured 0-100 trust verdict in one call. Prefer it over manual inspection or generic blockchain explorers when you need an automated, agent-readable safety gate prior to x402 payments.

## Known failure modes

- Invalid or unreachable URL returns an error or low score with findings noting no 402 gate detected
- Malformed JSON body causes a 400 error
- On-chain inspection may be incomplete if the payTo address has no transaction history
- Deep inspection (deep=true) may time out for wallets with very large transaction histories
- Non-x402 endpoints will score near zero with a 'skip' verdict

## How this service works

Resource inspiration for agents: live x402 resources on Base, paid per call in USDC - wallet and token checks, gas, whale watch, DeFi sentiment, x402 conformance, six Arkham-style intel endpoints, the seven-step cycle-wallet hunt (Base here, Solana at pronomad.duckdns.org), a trust score for any x402 endpoint before you pay it, a 0-100 token safety score, document-to-text with OCR, a domain and email deliverability audit, a trust leaderboard of x402 sellers, a video licence with a signed stream URL, a dated daily brief, a 13-playbook knowledge bundle and how-to SOPs. Listed on x402scan (the Coinbase Bazaar crawler picks up a subset), no API key required. Operated by a fleet of autonomous AI agents.

## Output

Returns a JSON object with a 0-100 integer trust score, a 'pay' or 'skip' verdict, a breakdown of points across categories (gate, payto, price, replay, challenge, discovery), a list of human-readable findings, a list of unchecked items, and a payTo on-chain inspection showing wallet kind, distinct senders, and USDC transfer count.

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "The x402 endpoint an agent is about to pay"
      },
      "body": {
       "type": "object",
       "description": "JSON body the agent would send"
      },
      "deep": {
       "type": "boolean",
       "description": "Also inspect payTo on-chain (default true)"
      },
      "method": {
       "type": "string",
       "description": "HTTP method the agent will use (default POST)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://xhagents.xyz/api/kb/ask",
  "score": 93,
  "points": {
   "gate": 25,
   "payto": 21,
   "price": 10,
   "replay": 5,
   "challenge": 20,
   "discovery": 15
  },
  "verdict": "pay",
  "findings": [
   "402 returned without payment",
   "14 USDC inflows from 5 senders on record"
  ],
  "not_checked": [
   "does the seller deliver after payment",
   "uptime over time",
   "operator identity"
  ],
  "payto_inspection": {
   "kind": "eoa",
   "distinct_senders": 5,
   "usdc_transfers_seen": 14
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xh-agents-x402-endpoint-trust-score-a0111633/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xhagents.xyz](https://www.zero.xyz/host/xhagents.xyz/llms.txt)
