get_ping
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. ($0.001 per call, paid via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL to ping, e.g. https://example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | ||
| url | No | ||
| error | No | when no response: timeout, dns, tls, connection refused… | |
| status | No | ||
| checked_at | No | ||
| latency_ms | No |