83trust / 100

Stats

by x402 Uptime Monitor in Developer tools

x402 APIPassing, checked 2 h ago

Fleet-wide uptime statistics for every monitored endpoint: uptime percentage, average response time, and total check count over 1, 7 and 30 day windows (plus an optional custom window). Use it to get an at-a-glance reliability picture of a service fleet in one call.

GET https://uptime.cyberwarex.com/stats

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
238 ms typical, 238 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://uptime.cyberwarex.com/stats?window_days=7"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fuptime.cyberwarex.com%2Fstats
const res = await pay("https://uptime.cyberwarex.com/stats?window_days=7");
console.log(await res.json());

Example input

{
  "window_days": 7
}

Example output

{
  "stats": {
    "7d": {
      "avg_response_ms": 182.4,
      "endpoints": 4,
      "total_checks": 10080,
      "uptime_pct": 99.874
    }
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402238 ms$0.002