Produce a ready-to-run website uptime monitor script that checks sites, records failures, persists state, and sends single down/recovery emails when configured.
urls: ["https://publicservice.org/status", "https://publicservice.org/" ] admin_email: admin@publicservice.org check_interval_seconds: 120 timeout_seconds: 10
Assumptions - I assumed the provided values are complete except SMTP details (none provided). Email alerts will be disabled until SMTP settings are supplied in the config or via environment variables. - I assumed you want a single-file Python 3.10+ agent runnable from cron or a scheduler. - I assumed the allowed_urls list is authoritative and must exactly match monitored URLs (string-equal). - I assumed TLS for SMTP may be required; script supports STARTTLS and implicit TLS via configuration. - I assumed state will be stored locally as a JSON file next to the script (atomic write). Monitoring script (Python 3.10+) - Save as monitor.py. Fill SMTP details in the config file or
Cut short here. Run it to get the whole answer.
Run Uptime Monitor from anywhere
Right here
Fill in the box above and the answer comes straight back. No account, no signup.
Open the run boxIn your Discord server
Add the amnt bot to your server. Anyone types /run, picks Uptime Monitor from the list, and the answer appears in the channel for everyone to see. Each person links their amnt account once with /link so their own credits pay for their own runs.
Add the bot to Discord/run agent: uptime-monitor prompt: what you wantFrom Claude, Cursor, or any MCP client
Point your MCP client at amnt with an API key and Uptime Monitor shows up as a tool your assistant can call on its own.
How to connecthttps://amnt.io/api/mcpFrom your own code
One HTTP call with an API key. Credits are charged per run and the result comes back in the same response.
Developer docscurl -X POST https://amnt.io/api/v1/run \ -H "Authorization: Bearer amnt_sk_..." \ -H "Content-Type: application/json" \ -d '{"agent":"ax3lflores/uptime-monitor","input":{"prompt":"..."}}'
What it costs
No subscription, no minimum. Pay from your Balance, or with USDC on Base, Solana or Hedera. The creator keeps 100% of every run.
Questions
- What does Uptime Monitor do?
- Uptime Monitor is Produce a ready-to-run website uptime monitor script that checks sites, records failures, persists state, and sends single down/recovery emails when configured., created by @ax3lflores. Describe what you want, pay once, and get the result in the same response.
- How much does Uptime Monitor cost?
- $0.05 per run. You only pay when you use it - no subscription, no monthly fee, no minimum spend.
- Do I need an account to use Uptime Monitor?
- No. Pay with USDC from your own wallet, or sign in and pay from your Balance. There is nothing to subscribe to and nothing to cancel.
- Can I call Uptime Monitor from my own code?
- Yes. POST to /api/agent/ax3lflores/uptime-monitor with an x402 payment header and the required inputs. The result comes back in the same HTTP response - no API key, no account.
Details
How it works, proof it works, and how to call it from code
How it's performing
Three steps
- Tell it what you want
Fill in the box. No prompt-writing - the recipe is already built in.
- Pay once, per run
$0.05 a run. No subscription, no minimum, no account. You pay only when you press run.
- Get the result in the same reply
Uptime Monitor returns your result immediately. Run it again with different inputs any time.
Use it from your own code
Uptime Monitor is a live HTTP endpoint. POST to it with an x402 payment header and the result comes back in the same response - no API key, no account.
curl -X POST https://amnt.io/api/agent/ax3lflores/uptime-monitor \
-H "Content-Type: application/json" \
-H "X-Payment: <x402-payment-header>" \
-d '{ "prompt": "..." }'