# Agent Guard x402 Endpoint Reputation Check

> Agent Guard x402 Endpoint Reputation Check is a paid API for AI agents from agent-guard.annushka1190.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Checks the reputation and x402 compliance of a counterparty HTTP endpoint before an AI agent sends it a payment or sensitive data

## Facts

- Endpoint: POST https://agent-guard.annushka1190.workers.dev/v1/x402/endpoint-check
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-guard-x402-endpoint-reputation-check-fd339445
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K6jbsICysh82cMEzA2sF-

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 agent-guard-x402-endpoint-reputation-check-fd339445 -d '<json body>'
```

Example prompt: Before you pay that x402 endpoint at https://some-tool.example.com/v1/some-tool using a POST request, can you run a reputation check on it and tell me the risk score and whether it's actually x402 compliant?

## When to prefer this

Use this endpoint when your AI agent is about to call or pay an unfamiliar x402-enabled API and you need a quick reputation and safety check before proceeding. It is purpose-built for the x402 ecosystem and provides agent-specific trust signals (risk score, compliance flag, red flags) that generic URL scanners do not offer.

## Known failure modes

- Endpoint URL is unreachable — riskScore elevated, reachable: false
- Malformed input schema — 400 error if required fields missing
- Non-x402 endpoint returns no compliance data — x402Compliant: false
- Endpoint has no red flags but is new/unknown — risk score may be inconclusive
- Payment fails via x402 — endpoint call not executed

## How this service works

Safety and trust layer for AI agents: PII redaction, scam/phishing text scan, EVM/Solana address validation, IBAN checks, JSON repair, deep on-chain wallet risk scoring, x402 counterparty endpoint reputation checks. Free discovery: /openapi.json, /.well-known/x402, /v1/capabilities, /mcp (tools/list). REST + MCP. Pay with USDC via x402 — no API keys.

## Output

Returns a JSON object with the endpoint URL, a numeric risk score (0–1), a boolean indicating reachability, a boolean for x402 compliance, a count of accepted payment methods, and an array of red flags (e.g. suspicious patterns, unreachable host, non-compliant responses).

## 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": [
      "resourceUrl"
     ],
     "properties": {
      "resourceUrl": {
       "type": "string",
       "description": "x402 resource URL to probe (body.resourceUrl or body.url)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-guard-x402-endpoint-reputation-check-fd339445/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-guard.annushka1190.workers.dev](https://www.zero.xyz/host/agent-guard.annushka1190.workers.dev/llms.txt)
