---
title: "Cheapest liveness ping"
method: GET
path: "/api/ping"
tags: ["Monitoring"]
---

# Cheapest liveness ping

`GET /api/ping`

## Request

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

Cheapest liveness ping: ONE request to any public URL — is anything answering, and how fast? Returns up/down, HTTP status, and latency in ms. Any HTTP response below 500 counts as up; redirects are reported, not followed. High-frequency monitoring loops belong here; step up to /api/uptime for redirect following and headers, /api/uptime/report for the full timing/TLS/CDN report.

Price: $0.001 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
  - `error` string: when no response: 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)
