# x402 Uptime Monitor

> x402 Uptime Monitor is a paid API for AI agents from uptime.cyberwarex.com, paid per call via x402, $0.002/call, status down (last checked 2026-10-31).

Returns fleet-wide uptime statistics (uptime %, average response time, total checks) for all monitored endpoints over 1, 7, and 30 day windows, with an optional custom window.

## Facts

- Endpoint: GET https://uptime.cyberwarex.com/stats?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-uptime-monitor-86f107d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r6q7Zw0Q716awtwHy3Mpd

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-uptime-monitor-86f107d2
```

Example prompt: Can you pull the uptime stats for all my monitored endpoints — I want to see uptime percentage, average response time, and check counts for the last 1, 7, and 30 days, plus a custom 14-day window?

## When to prefer this

Choose this endpoint when you need a single-call fleet-wide reliability summary across all monitored services — it is ideal for dashboards, SLA reporting, and post-incident reviews. Prefer it over per-endpoint checks when you want an aggregated at-a-glance picture rather than drilling into a single service, and when you need multi-window comparisons (1/7/30 days) simultaneously.

## Known failure modes

- No data available if no endpoints have been configured for monitoring
- Invalid window_days value (below 1) returns a validation error
- Authentication or payment failure may result in 402 response
- Empty stats object if monitoring has just started and no checks have been recorded yet

## How this service works

Fleet-wide uptime statistics for every monitored endpoint: uptime percentage, average response time, and total check count over 1, 7 and 30 day windows (plus an optional custom window). Use it to get an at-a-glance reliability picture of a service fleet in one call.

## Output

A JSON object with per-window aggregates keyed by '1d', '7d', and '30d' (and optionally the custom window_days key), each containing uptime percentage, average response time in milliseconds, and total check count across every monitored endpoint in the fleet.

## 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": [],
     "properties": {
      "window_days": {
       "type": "integer",
       "minimum": 1,
       "description": "Optional extra aggregation window in days."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "stats": {
       "type": "object",
       "description": "Per-window aggregates keyed '1d'/'7d'/'30d'."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "stats": {
   "7d": {
    "endpoints": 4,
    "uptime_pct": 99.874,
    "total_checks": 10080,
    "avg_response_ms": 182.4
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-uptime-monitor-86f107d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uptime.cyberwarex.com](https://www.zero.xyz/host/uptime.cyberwarex.com/llms.txt)
