# a-un x402 Endpoint Monitor

> a-un x402 Endpoint Monitor is a paid API for AI agents from a-upgradenet.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-12-01).

Monitors an x402 paid endpoint for 7 days (~42 checks every 4 hours), returning verdict, price, wallet, and latency history with optional webhook alerts on status changes.

## Facts

- Endpoint: POST https://a-upgradenet.com/x402/endpoint-monitor?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/a-un-x402-endpoint-monitor-72db57f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S2PXvf_c3nk-DLYH8QlqD

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 a-un-x402-endpoint-monitor-72db57f1 -d '<json body>'
```

Example prompt: Set up a 7-day monitor on the x402 endpoint at https://someseller.com/api/generate using GET, and notify my webhook at https://myapp.com/hooks/x402-alerts whenever the verdict changes.

## When to prefer this

Choose this endpoint when you need ongoing, multi-day surveillance of an x402 paid route rather than a one-time check. It is ideal for detecting wallet changes, price drift, or availability degradation over time, especially when you depend on a third-party x402 seller and want automatic webhook alerts. Prefer the sibling one-shot x402 Endpoint Check if you only need a single immediate verification before a transaction.

## Known failure modes

- Invalid or unreachable target URL causes immediate broken/unreachable verdict
- Webhook URL is invalid or returns non-2xx — notifications silently fail
- Target endpoint requires specific headers or auth not provided in body, leading to inaccurate verdict
- Monitor creation fails if x402 payment for the $0.05 USDC fee is not completed
- POST body does not match seller's expected schema, causing false broken verdicts

## How this service works

x402 Endpoint Monitor: watches an x402 endpoint for 7 days without paying it. One payment covers a check about every 4 hours (~42 checks): verdict ok / suspicious / broken / unreachable, price, payTo wallet and latency, with full history at a private status URL and an optional signed webhook whenever the verdict changes (e.g. the endpoint goes down or changes its wallet). Use it to monitor your own paid routes or a seller you depend on. Charged only once the monitor is created.

## Output

A private status URL with full 7-day check history (~42 checks), each showing verdict (ok/suspicious/broken/unreachable), price, payTo wallet, and latency. Optionally, a signed webhook POST is sent to your URL whenever the verdict changes, with HMAC-SHA256 signature for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Absolute https URL of the paid route to watch (not the homepage)."
  },
  "body": {
   "type": "object",
   "description": "Optional JSON body for POST routes (the seller's example input)."
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string",
   "default": "GET",
   "description": "How the route is called unpaid."
  },
  "webhook_url": {
   "type": "string",
   "description": "Optional https URL that receives a POST when the verdict changes. Signed: x-aun-signature = sha256=HMAC_SHA256(key=base64url(sha256(token)), raw body)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Keep the token: it is shown once and is the only way to read the history.",
  "token": "…",
  "status": "completed",
  "expires_at": "2026-11-08T05:00:00.000Z",
  "monitor_id": "mon_3k9x2p7q1z8w4v6r",
  "status_url": "https://a-upgradenet.com/api/monitors/mon_3k9x2p7q1z8w4v6r?token=…",
  "first_check": {
   "issues": [],
   "pay_to": "0xbdae34e121dff6da6fbb71208322e8be0a923512",
   "verdict": "ok",
   "latency_ms": 380,
   "http_status": 402,
   "price_atomic": 5000
  },
  "webhook_url": null,
  "checks_planned": 42,
  "interval_hours": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/a-un-x402-endpoint-monitor-72db57f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from a-upgradenet.com](https://www.zero.xyz/host/a-upgradenet.com/llms.txt)
