# P0 Agent Economy Index – Time Conversion

> P0 Agent Economy Index – Time Conversion is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Returns the current UTC time and converts a given timestamp into one or more IANA time zones, including offset, DST status, weekday, and abbreviation.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/time?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-time-conversion-086cb69c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UIozsVIP2E_juY0tk0ul9

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 p0-agent-economy-index-time-conversion-086cb69c
```

Example prompt: What time is it right now in Europe/Berlin and Asia/Tokyo, and can you also give me the Unix timestamp and whether daylight saving is active in each zone?

## When to prefer this

Use this endpoint when you need lightweight, low-latency time zone conversion or current-time lookup without standing up your own tz-database logic. It is especially useful for agent workflows that need to localize scheduled times across multiple regions, verify DST status, or stamp events with a Unix timestamp. It is not suitable when sub-millisecond precision or NTP-certified time is required, or when you need historical timezone data beyond what the Cloudflare runtime's IANA database provides.

## Known failure modes

- Invalid IANA zone name returns an error or omits that zone from results
- Ambiguous wall-clock time (DST fall-back overlap) sets ambiguous:true and may return alternative UTC interpretations
- Nonexistent wall-clock time (DST spring-forward gap) sets nonexistent:true
- More than 10 zones requested may be truncated or rejected
- Malformed ISO 8601 input to 'at' param returns a parsing error
- Cloudflare edge time is not NTP-traceable and may differ slightly from authoritative time sources

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

A JSON object with the current UTC datetime, Unix timestamp (seconds and milliseconds), a 'clock' field identifying the source as cloudflare-edge, and a 'zones' array — one entry per requested IANA zone — each containing local ISO datetime, UTC offset string, offset in minutes, DST boolean, weekday name, and timezone abbreviation. If a time conversion was requested, a 'conversion' object is included with the resolved UTC instant, per-zone local results, and flags for ambiguous or nonexistent wall times (e.g. DST gaps).

## 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",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "at": {
       "type": "string",
       "description": "time to convert: ISO 8601 (2026-10-05T09:00, with or without offset) or unix seconds/milliseconds; default now"
      },
      "to": {
       "type": "string",
       "description": "IANA zone(s) to convert at= into, comma-separated, up to 10"
      },
      "tz": {
       "type": "string",
       "description": "IANA zone(s), comma-separated, up to 10 (e.g. Europe/Berlin,Asia/Tokyo). With at= and no offset in it, the first zone is the zone of that wall time"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "utc",
      "unix",
      "unix_ms",
      "zones",
      "clock",
      "note"
     ],
     "properties": {
      "utc": {
       "type": "string"
      },
      "note": {
       "type": "string"
      },
      "unix": {
       "type": "integer"
      },
      "clock": {
       "type": "string"
      },
      "zones": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "tz",
         "local",
         "offset",
         "offset_minutes",
         "dst"
        ],
        "properties": {
         "tz": {
          "type": "string"
         },
         "dst": {
          "type": "boolean"
         },
         "local": {
          "type": "string"
         },
         "offset": {
          "type": "string"
         },
         "weekday": {
          "type": "string"
         },
         "abbreviation": {
          "type": "string"
         },
         "offset_minutes": {
          "type": "integer"
         }
        }
       }
      },
      "unix_ms": {
       "type": "integer"
      },
      "conversion": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "from": {
         "type": [
          "string",
          "null"
         
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "utc": "2026-10-05T12:00:00.000Z",
  "note": "Clock: Cloudflare edge server time at the moment of the reply (not an NTP-traceable reference). Zone rules: the IANA tz database built into the runtime (Intl).",
  "unix": 1791201600,
  "clock": "cloudflare-edge",
  "zones": [
   {
    "tz": "Europe/Berlin",
    "dst": true,
    "local": "2026-10-05T14:00:00",
    "offset": "+02:00",
    "weekday": "Monday",
    "abbreviation": "GMT+2",
    "offset_minutes": 120
   },
   {
    "tz": "Asia/Tokyo",
    "dst": false,
    "local": "2026-10-05T21:00:00",
    "offset": "+09:00",
    "weekday": "Monday",
    "abbreviation": "GMT+9",
    "offset_minutes": 540
   }
  ],
  "unix_ms": 1791201600000,
  "conversion": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-time-conversion-086cb69c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
