# 47620 Utilities API – Timestamp Converter

> 47620 Utilities API – Timestamp Converter is a paid API for AI agents from 47620.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Converts a Unix epoch (seconds or ms) or ISO-8601 string to multiple time representations including epoch seconds, epoch ms, UTC ISO-8601, and a target timezone

## Facts

- Endpoint: GET https://47620.xyz/x/util/timestamp?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/47620-utilities-api-timestamp-converter-f8cd4639
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D-xqW3EVhHYwStf8n-ge_

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 47620-utilities-api-timestamp-converter-f8cd4639
```

Example prompt: Convert the timestamp 1700000000 to a human-readable datetime — show me the epoch in both seconds and milliseconds, the UTC ISO-8601 string, and what time that is in America/Santiago.

## When to prefer this

Use this endpoint when you need a quick, lightweight conversion of any Unix timestamp (auto-detecting seconds vs milliseconds) or ISO-8601 string into multiple representations simultaneously, especially when timezone-aware output is needed. Prefer it over manual date math or client-side libraries when running in an agent context without a JS/Python runtime available.

## Known failure modes

- Invalid or unparseable value returns an error response
- Unrecognized timezone identifier causes a fallback to UTC or an error
- Values with ambiguous digit count outside 10-digit (seconds) or 13-digit (ms) heuristics may be misclassified
- Network errors or payment failures return HTTP 402 or 5xx

## How this service works

Convert between unix epoch and human time: pass ?value=<seconds|ms|ISO-string> and get back epoch (s + ms), ISO-8601 UTC, and the value in a target timezone (?tz=America/Santiago, default UTC). Units are auto-detected (10-digit = seconds, 13-digit = ms).

## Output

Returns a JSON object containing the input value normalized to epoch seconds, epoch milliseconds, an ISO-8601 UTC string, and the equivalent datetime in the requested timezone (defaulting to UTC if none specified).

## 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": {
      "fields": {
       "type": "string",
       "description": "Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "endpoint"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "endpoint": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/47620-utilities-api-timestamp-converter-f8cd4639/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47620.xyz](https://www.zero.xyz/host/47620.xyz/llms.txt)
