# x402 Endpoint Risk Corpus – Top Risks

> x402 Endpoint Risk Corpus – Top Risks is a paid API for AI agents from x402-endpoint-risk-corpus.mtree.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns the highest-risk x402 endpoints observed in the hosted Bazaar-derived corpus, with evidence, freshness, and mitigation notes.

## Facts

- Endpoint: POST https://x402-endpoint-risk-corpus.mtree.workers.dev/v1/x402/top_risks
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-endpoint-risk-corpus-top-risks-5e62618f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ziYP1O0SYwQZ23qA5zYUA

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-corpus-top-risks-5e62618f -d '<json body>'
```

Example prompt: Pull the current top high-risk x402 endpoints from the Bazaar-derived corpus and include the supporting evidence, how fresh the data is, and any recommended mitigations for each one.

## When to prefer this

Use this endpoint when an AI agent or security tool needs a pre-ranked, corpus-backed list of risky x402 endpoints rather than assessing a single specific endpoint. It is ideal for broad threat discovery, periodic safety sweeps, or building a risk dashboard over the x402 payment ecosystem. Prefer it over single-endpoint assessment endpoints when you want a corpus-wide view rather than targeted evaluation.

## Known failure modes

- Payment not processed — returns 402 if USDC payment on Base is not provided or fails
- Invalid request body — returns 400 if POST body is malformed
- Corpus temporarily unavailable — returns 503 during maintenance or cold-start
- No high-risk entries found — returns empty list if corpus has no flagged endpoints at this time
- Rate limit exceeded — returns 429 if too many calls in a short window

## How this service works

Return the highest-risk x402 endpoints observed in the hosted Bazaar-derived corpus with evidence, freshness, and mitigation notes. Returns JSON. Price 0.10 USDC on Base via x402. Demo/preview: https://x402-endpoint-risk-corpus.mtree.workers.dev/demo/top_risks. Contact: https://x402-endpoint-risk-corpus.mtree.workers.dev/contact.

## Output

A JSON response listing the highest-risk x402 endpoints observed in the hosted corpus, each with supporting risk evidence (e.g. replay vulnerability, price drain, catalog drift), data freshness indicators, and actionable mitigation notes.

## Example request

```json
{
 "input": {
  "body": {
   "limit": 10
  },
  "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",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1,
       "description": "Maximum rows to return"
      }
     }
    },
    "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-corpus-top-risks-5e62618f/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)
