# Agent Clock Deadline Check

> Agent Clock Deadline Check is a paid API for AI agents from agent-clock.annushka1190.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Checks whether a deadline has passed and how many hours remain until it, returning a boolean and hours-remaining value.

## Facts

- Endpoint: GET https://agent-clock.annushka1190.workers.dev/v1/deadline
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-clock-deadline-check-0dec7108
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_spe33nRnQKSoEaH_c-en9

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 agent-clock-deadline-check-0dec7108
```

Example prompt: Has the deadline of December 31st at 5pm UTC already passed, and if not, how many hours do I have left?

## When to prefer this

Use this endpoint when an AI agent needs a quick, pay-per-call, keyless deadline check — particularly when you need both a binary expired/not-expired flag and precise hours-remaining in a single call. Prefer this over rolling your own time math when operating in agentic pipelines where simplicity and micro-billing via USDC are valued.

## Known failure modes

- Missing or malformed deadline datetime parameter returns an error response
- Ambiguous or non-UTC timestamp without timezone context may produce incorrect results
- Extremely far-future or far-past dates may hit edge cases in time math
- Payment failure via x402 returns 402 status before any computation occurs

## How this service works

Time and schedule micro-tools for AI agents: UTC now, cron next-runs, timezone conversion, business-day math, and deadline checks. Pay with USDC via x402 — no API keys.

## Output

Returns a JSON object with 'past' (boolean indicating whether the deadline has already passed) and 'hoursRemaining' (float representing hours left until the deadline, or elapsed since it passed).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "past": false,
  "hoursRemaining": 12.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-clock-deadline-check-0dec7108/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-clock.annushka1190.workers.dev](https://www.zero.xyz/host/agent-clock.annushka1190.workers.dev/llms.txt)
