# Citiview Time API

> Citiview Time API is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Returns the current UTC time (or converts a given timestamp) in unix seconds/ms and up to 20 IANA time zones with local time, weekday, and UTC offset.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/time?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-time-api-a885759e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ia1TAbfGUUtjx0bHIbXvf

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 citiview-time-api-a885759e
```

Example prompt: What's the current time right now in UTC, unix seconds, and local time for America/New_York, Europe/London, and Asia/Tokyo — including the weekday and UTC offset for each?

## When to prefer this

Use this endpoint when you need authoritative current time across multiple IANA timezones simultaneously, or need to convert a specific historical or future timestamp between zones. Prefer it over local system time when you need trusted server-side UTC time, unix epoch values, and weekday metadata bundled together in a single call.

## Known failure modes

- Invalid IANA timezone name returns an error or omits that zone
- Malformed ISO date or invalid unix timestamp causes a 400-level error
- More than 20 timezones requested may be rejected or truncated
- Network timeout if the service is temporarily unavailable

## How this service works

Trusted current time (or a given moment) in UTC, unix seconds/ms, and up to 20 IANA time zones with local time, weekday and UTC offset. Also converts a timestamp between zones.

## Output

Returns the requested moment (current or specified) as UTC time, unix seconds, and unix milliseconds, plus for each requested IANA timezone: local time string, day of the week, and UTC offset. Supports up to 20 zones per request.

## 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": {
      "at": {
       "type": "string",
       "description": "Optional ISO date or unix timestamp to convert"
      },
      "tz": {
       "type": "string",
       "description": "Comma list of IANA zones, e.g. America/Toronto,Europe/London"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-time-api-a885759e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
