# x402 Agent Tools – Current Time Lookup

> x402 Agent Tools – Current Time Lookup is a paid API for AI agents from x402-agent-tools.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Returns the current UTC time (ISO 8601 and Unix timestamp), optionally converted to a specified IANA timezone, for a micro-payment of $0.001 USDC.

## Facts

- Endpoint: GET https://x402-agent-tools.vercel.app/v1/util/time?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-tools-current-time-lookup-4c6dacd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K7WdaOS0212RsRdsRHse-

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 x402-agent-tools-current-time-lookup-4c6dacd8
```

Example prompt: What's the current time in America/Chicago — give me both the ISO format and the Unix timestamp?

## When to prefer this

Use this endpoint when an AI agent needs a reliable, pay-per-call current time source without API keys or account setup, especially when operating in a crypto-native or x402-compatible payment environment. Prefer this over system clock calls when a trusted external time reference is needed, or when the agent must stay stateless and accountless.

## Known failure modes

- Invalid IANA timezone string returns an error or falls back to UTC
- Payment failure (insufficient USDC balance) blocks the call with a 402 response
- Network/server unavailability on Vercel returns a 5xx error

## How this service works

Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.

## Output

A JSON object with two fields: 'iso' (current datetime as an ISO 8601 string, e.g. '2026-10-15T00:00:00.000Z') and 'unix' (current time as a Unix epoch integer, e.g. 1792022400). If a timezone is provided, the ISO string reflects that timezone offset.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "tz": {
       "type": "string",
       "description": "Optional IANA timezone, e.g. America/New_York"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iso": "2026-10-15T00:00:00.000Z",
  "unix": 1792022400
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-tools-current-time-lookup-4c6dacd8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-tools.vercel.app](https://www.zero.xyz/host/x402-agent-tools.vercel.app/llms.txt)
