# Kenward Uptime Check API

> Kenward Uptime Check API is a paid API for AI agents from pay.kenwardai.my.id, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-21).

Performs a live HTTP probe against a public URL and returns reachability, HTTP status, TLS status, and latency — settled per-call in USDC via x402.

## Facts

- Endpoint: GET https://pay.kenwardai.my.id/v1/uptime?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kenward-uptime-check-api-10523bd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1D09LkRBFNFD_SSDA8rjL

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 kenward-uptime-check-api-10523bd2
```

Example prompt: Can you check if https://api.myservice.com/health is currently up and reachable, and tell me the HTTP status code and how fast it responded?

## When to prefer this

Choose this endpoint when you need a real-time, single-shot HTTP reachability probe with no account setup or API key — paid per call in USDC via x402. Ideal for agent workflows that need on-demand uptime verification without subscribing to a monitoring SaaS. Best for confirming live status before critical operations, not for continuous scheduled monitoring at high frequency.

## Known failure modes

- Target URL is unreachable — reachable returns false, http_status may be absent
- Invalid or non-public URL provided — likely a 4xx error from the API
- TLS certificate invalid — tls returns false
- Payment not settled or x402 flow fails — request is rejected before probing
- Unmeasured/unknown state — service returns UNKNOWN rather than fabricating a result

## How this service works

Pay-per-call data settled in USDC on Base. No account, no API key, no human in the loop. Measured 2026-10-05: p50 89-105 ms end-to-end over the public internet; our own handling cost is reported per response in the X-Kenward-Serve-Ms header. Safe by construction: the server holds no private key (/health reports holds_keys=false), a signed payment is delivered once, and an unmeasured market answers UNKNOWN instead of a guess. Launch price: 0.025 USD (50% off 0.05) for the first 100 unique paying wallets (excluding the operator's own wallet).

## Output

A JSON object with fields: url (the probed endpoint), reachable (boolean), http_status (integer), tls (boolean for HTTPS validity), latency_ms (round-trip latency in milliseconds), as_of (ISO 8601 timestamp of the probe), and boundary (a plain-language description of the measurement scope, e.g. 'active HTTP probe from one vantage point'). If the endpoint cannot be measured, the service returns UNKNOWN rather than guessing.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "public http(s) endpoint to check, e.g. https://example.com/health"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tls": true,
  "url": "https://example.com/health",
  "as_of": "2026-10-05T13:00:00Z",
  "boundary": "active HTTP probe from one vantage point",
  "reachable": true,
  "latency_ms": 118,
  "http_status": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kenward-uptime-check-api-10523bd2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.kenwardai.my.id](https://www.zero.xyz/host/pay.kenwardai.my.id/llms.txt)
