# x402 Endpoint Risk Report

> x402 Endpoint Risk Report is a paid API for AI agents from x402-endpoint-risk-corpus.mtree.workers.dev, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Scores an x402 paid resource for payment safety, discovery completeness, replay/binding risk, and autopay suitability before an agent spends funds

## Facts

- Endpoint: POST https://x402-endpoint-risk-corpus.mtree.workers.dev/v1/x402/risk_report
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-endpoint-risk-report-a858c591
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DgnyE3L6Bndtr__KhnOTz

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 x402-endpoint-risk-report-a858c591 -d '<json body>'
```

Example prompt: Before my agent pays for this x402 endpoint at https://api.example.com/v1/data, can you run a full risk report on it — covering payment safety, replay and binding risk, discovery completeness, and whether it's safe for autopay?

## When to prefer this

Use this endpoint when an AI agent needs to perform a pre-flight safety check on an x402 paid resource before authorizing any spend — especially for evaluating autopay eligibility, replay attack exposure, and payment binding completeness. Prefer this over generic API validators when the target is specifically an x402-protocol endpoint and you need structured risk scoring tied to payment safety signals.

## Known failure modes

- Invalid or unreachable endpoint URL returns error JSON
- Endpoint not recognized in corpus returns low-confidence or empty scores
- Payment of 0.15 USDC not received results in 402 response before report is returned
- Malformed request body returns 400 validation error
- Corpus data stale for given endpoint may result in outdated risk scores

## How this service works

Score an x402 paid resource for payment safety, discovery completeness, replay/binding risk, and autopay suitability before an agent spends. Returns JSON. Price 0.15 USDC on Base via x402. Demo/preview: https://x402-endpoint-risk-corpus.mtree.workers.dev/demo/risk_report. Contact: https://x402-endpoint-risk-corpus.mtree.workers.dev/contact.

## Output

A JSON risk report containing scores for payment safety, discovery completeness, replay/binding risk, and autopay suitability for the queried x402 paid resource, along with supporting evidence and risk classifications.

## Example request

```json
{
 "input": {
  "body": {
   "url": "https://api.example.com/v1/data"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "x402 paid endpoint URL to assess"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-endpoint-risk-report-a858c591/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-endpoint-risk-corpus.mtree.workers.dev](https://www.zero.xyz/host/x402-endpoint-risk-corpus.mtree.workers.dev/llms.txt)
