---
title: "Uptime/health probe for any public URL"
method: GET
path: "/api/uptime"
tags: ["Monitoring"]
---

# Uptime/health probe for any public URL

`GET /api/uptime`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/uptime`
- Auth: API key in header `X-PAYMENT`

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.

Price: $0.002 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Query parameters

- `url` string, required

## Response `200`

Success

- object
  - `url` string
  - `up` boolean
  - `status` number
  - `latency_ms` number
  - `method` string
  - `final_url` string
  - `redirects` number
  - `headers` object
  - `error` string: Present when up=false: timeout, dns, tls, connection refused…
  - `checked_at` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
