Uptime Watch
www.omenz.org/api/tollbooth/v1/uptime/watch
Uptime Watch: register a paid endpoint your agent depends on; OMENZ checks it daily (and on each report) for 30 days: up/down, latency, live x402 price and payTo, so you catch outages, price drift and swapped payout wallets before paying. Never pays the endpoint. Returns watch_id + watch_key (shown once). By OMENZ.
POST
https://www.omenz.org/api/tollbooth/v1/uptime/watchUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.omenz.org/api/tollbooth/v1/uptime/watch", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"days":30,"method":"GET","url":"https://www.omenz.org/api/tollbooth/v1/alive"}),
});
console.log(await res.json());Example input
{
"days": 30,
"method": "GET",
"url": "https://www.omenz.org/api/tollbooth/v1/alive"
}