# x402 Agent Tools – Current Time Lookup

> x402 Agent Tools – Current Time Lookup is a paid API for AI agents from api.gptshopltd.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Returns the current UTC time (and optionally timezone-adjusted time) as ISO 8601 and Unix timestamp, paid per-call via USDC microtransaction.

## Facts

- Endpoint: GET https://api.gptshopltd.com/v1/util/time?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-tools-current-time-lookup-1cf595f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__oncgtVyIHiiPyi5dLNPY

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-1cf595f6
```

Example prompt: What's the current time right now in America/Chicago as an ISO timestamp and Unix epoch?

## When to prefer this

Choose this endpoint when your agent needs a reliable, authoritative server-side timestamp without managing API keys or accounts — especially useful in autonomous agent workflows that need to timestamp events, check current time against schedules, or convert to a specific timezone, all paid trustlessly per-call via USDC microtransaction on Base or Solana.

## Known failure modes

- Invalid or unrecognized IANA timezone string in 'tz' param returns an error or defaults to UTC
- Payment failure (insufficient USDC balance or x402 protocol error) results in 402 response and no data returned
- Network timeout if the API host is unreachable
- Malformed request body causes 400 Bad Request

## 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 containing 'iso' (current datetime as ISO 8601 string, e.g. '2026-10-15T00:00:00.000Z') and 'unix' (current time as a Unix epoch integer in seconds). If a 'tz' query parameter is provided, the ISO time reflects the requested IANA 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-1cf595f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gptshopltd.com](https://www.zero.xyz/host/api.gptshopltd.com/llms.txt)
