# AgentShelf UTC Now

> AgentShelf UTC Now is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-18).

Returns the current UTC time as an ISO 8601 timestamp plus Unix seconds and milliseconds, with optional timezone offset echo.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/utc-now?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-utc-now-621cbcc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CFWBTnUx2a2kO9BJUcOmQ

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 agentshelf-utc-now-621cbcc3 -d '<json body>'
```

Example prompt: What is the current UTC time right now? Give me the ISO timestamp, unix seconds, and milliseconds — and echo back my timezone offset of +02:00.

## When to prefer this

Use this endpoint when an AI agent needs an authoritative current UTC timestamp without relying on its own internal clock or external time APIs. Ideal for pipelines that need precise ISO 8601 datetimes, Unix seconds, or milliseconds for logging, sequencing, or event recording, especially when the agent cannot trust its training cutoff date. Prefer the sandbox endpoint (/v1/sandbox/utc-now) for testing before committing $0.001 USDC per call.

## Known failure modes

- Invalid tz offset format (not matching pattern Z or ±HH:MM) returns a 400/422 validation error
- Unpaid request to /v1/utc-now returns HTTP 402 Payment Required — use /v1/sandbox/utc-now for free testing
- Network or server downtime may return 5xx errors with no timestamp

## How this service works

Call when an agent needs the current UTC time as an ISO timestamp plus unix seconds and milliseconds. Send an optional tz offset such as +02:00 to echo it. Local clock only. No network. Send JSON {}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/utc-now first.

## Output

Returns a JSON object containing the current UTC time as an ISO 8601 string, the current Unix time in seconds (integer), the current Unix time in milliseconds (integer), and optionally the echoed tz offset string if one was provided. The clock is local to the server — no external network calls are made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tz": {
   "type": "string",
   "pattern": "^(?:Z|[+-](?:0\\d|1[0-4]):[0-5]\\d)$",
   "description": "Optional offset to echo, such as Z, +00:00, or -05:00. It is returned unchanged and does not shift utc. Omit it for tz null."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-utc-now-621cbcc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
