# Webbersites Uptime Probe

> Webbersites Uptime Probe is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Checks whether a public URL is up or down by sending a HEAD/GET request and returns HTTP status, latency, redirect chain, and response headers

## Facts

- Endpoint: GET https://api.webbersites.com/api/uptime
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webbersites-uptime-probe-5074a507
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Z_cIAnACpiNRskD8eFPN

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 webbersites-uptime-probe-5074a507
```

Example prompt: Can you check if https://shop.example.com is currently up and responding, and tell me the HTTP status code, how fast it responded, and whether it redirected anywhere?

## When to prefer this

Use this endpoint when you need a fast, deterministic, no-download probe of whether a public URL is responding — ideal for scheduled uptime checks, pre-flight validation before scraping, verifying redirects, or health monitoring in automated workflows. Prefer this over a full-page fetcher when you only need availability and headers, not page content.

## Known failure modes

- URL is unreachable or times out — up=false with error describing cause (timeout, dns, connection refused)
- TLS/SSL handshake failure — up=false with error='tls'
- Invalid or malformed URL input — likely HTTP 4xx or error response from probe
- Server refuses HEAD and GET fallback also fails — up=false
- Target returns non-standard HTTP response that cannot be parsed

## How this service works

Uptime/health probe for any public URL: sends a HEAD request (auto GET fallback when the server refuses HEAD), follows redirects with per-hop safety checks, and returns up/down, HTTP status, latency in ms, redirect chain, final URL, and key response headers. Deterministic, no page download — a monitoring probe agents can call on a schedule.

## Output

Returns a JSON object with: up (boolean), HTTP status code, latency_ms (round-trip time in milliseconds), redirects (count), final_url (after all redirects), response headers (key-value), checked_at (ISO timestamp), and — if down — an error field explaining the failure (timeout, dns, tls, connection refused, etc.).

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL to check, e.g. https://example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "up": {
       "type": "boolean"
      },
      "url": {
       "type": "string"
      },
      "error": {
       "type": "string",
       "description": "Present when up=false: timeout, dns, tls, connection refused…"
      },
      "method": {
       "type": "string"
      },
      "status": {
       "type": "number"
      },
      "headers": {
       "type": "object"
      },
      "final_url": {
       "type": "string"
      },
      "redirects": {
       "type": "number"
      },
      "checked_at": {
       "type": "string"
      },
      "latency_ms": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "up": true,
  "url": "https://example.com",
  "method": "HEAD",
  "status": 200,
  "headers": {
   "server": "ECS",
   "content_type": "text/html"
  },
  "final_url": "https://example.com/",
  "redirects": 0,
  "checked_at": "2026-07-08T00:00:00.000Z",
  "latency_ms": 132
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webbersites-uptime-probe-5074a507/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
