# WAKE402 — AI Agent Alarm Clock (x402)

> WAKE402 — AI Agent Alarm Clock (x402) is a paid API for AI agents from wake402.agentwake.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Schedule a single future HTTPS callback to a given URL at a specified UTC time, paid per-use with USDC via x402.

## Facts

- Endpoint: POST https://wake402.agentwake.workers.dev/v1/wake
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wake402-ai-agent-alarm-clock-x402-a03736fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CGzype--9wEs1LQ4iN08x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wake402-ai-agent-alarm-clock-x402-a03736fd -d '<json body>'
```

Example prompt: Set an alarm to ping my callback URL https://myserver.example.com/wake-handler at 2025-08-01T09:00:00Z — one future HTTPS callback, paying $0.05 USDC via x402.

## When to prefer this

Choose this endpoint when an AI agent needs a one-shot, pay-per-use future callback without managing cron infrastructure, especially in serverless or ephemeral environments. Ideal for agentic workflows where the agent must sleep and resume at a specific future time. Best when the callback window is between 60 seconds and 24 hours ahead and you want to pay only for what you use via USDC x402 with no recurring subscription.

## Known failure modes

- Timestamp less than 60 seconds in the future — rejected with validation error
- Timestamp more than 24 hours in the future — rejected with validation error
- Callback URL not publicly reachable HTTPS on port 443 — scheduling may succeed but delivery will fail
- Insufficient USDC balance or x402 payment failure — request rejected before scheduling
- Callback server unavailable at delivery time — at-least-once semantics mean retries may occur but are not guaranteed

## How this service works

Schedule one future HTTPS callback. Pay once with USDC via x402.

## Output

Returns a JSON object with a unique wake_id (format: wk_ followed by 32 hex characters), status set to 'scheduled', the confirmed scheduled_for datetime, a status_url to poll for delivery confirmation, and delivery_semantics of 'at-least-once'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "at",
  "callback"
 ],
 "properties": {
  "at": {
   "type": "string",
   "description": "UTC timestamp ending in Z, 60 seconds to 24 hours ahead."
  },
  "callback": {
   "type": "string",
   "description": "Public HTTPS URL on standard port 443."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "wake_id",
  "status",
  "scheduled_for",
  "delivery_semantics",
  "status_url"
 ],
 "properties": {
  "status": {
   "type": "string",
   "const": "scheduled"
  },
  "wake_id": {
   "type": "string",
   "pattern": "^wk_[a-f0-9]{32}$"
  },
  "status_url": {
   "type": "string",
   "format": "uri"
  },
  "scheduled_for": {
   "type": "string",
   "format": "date-time"
  },
  "delivery_semantics": {
   "type": "string",
   "const": "at-least-once"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wake402-ai-agent-alarm-clock-x402-a03736fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wake402.agentwake.workers.dev](https://www.zero.xyz/host/wake402.agentwake.workers.dev/llms.txt)
