# x402 Utility Tools – Timestamp Convert

> x402 Utility Tools – Timestamp Convert is a paid API for AI agents from x402-utils.558686.xyz, paid per call via x402, $0.0001/call, status unknown (last checked 2026-10-23).

Converts a Unix timestamp (in seconds or milliseconds) into ISO 8601 and multiple other human-readable date/time formats

## Facts

- Endpoint: POST https://x402-utils.558686.xyz/v1/tools/timestamp-convert?utm_source=zero.xyz
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utility-tools-timestamp-convert-2a1f5b7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fA78510tD_frjjxmye4di

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-utility-tools-timestamp-convert-2a1f5b7f -d '<json body>'
```

Example prompt: Convert the Unix timestamp 1782990000 (in seconds) to ISO 8601 and other readable date formats for me.

## When to prefer this

Choose this endpoint when you need a cheap ($0.002), deterministic, non-LLM timestamp conversion — especially inside an agentic pipeline where you want consistent ISO 8601 output without burning LLM tokens on trivial arithmetic. Prefer this over asking an LLM to compute dates when accuracy and repeatability matter.

## Known failure modes

- Missing required 'value' or 'unit' field returns an error response
- Invalid unit string (not 'seconds' or 'milliseconds') may produce unexpected results
- Non-integer value field will fail schema validation
- Payment failure via x402 protocol returns HTTP 402 before the tool is invoked

## How this service works

A compact x402 utility surface for agents that need cheap, repeatable non-LLM transformations before spending on heavier routes: CSV cleanup, JSON Schema checks, timestamp conversion, JWT decode, URL normalization, hashes, codecs, and text utilities.

## Output

Returns a JSON object with ok:true, the tool name, echoed input, and a result object containing the ISO 8601 string, an array of additional formatted date strings, the timestamp in Unix seconds, and the timestamp in Unix milliseconds. The response is deterministic for the same input.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "timestamp-convert",
  "input": {
   "unit": "seconds",
   "value": 1782990000
  },
  "route": "/v1/tools/timestamp-convert",
  "result": {
   "iso": "iso_example",
   "formats": [],
   "unixSeconds": 1,
   "unixMilliseconds": 1
  },
  "project": "x402-utility-tools",
  "deterministic": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utility-tools-timestamp-convert-2a1f5b7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-utils.558686.xyz](https://www.zero.xyz/host/x402-utils.558686.xyz/llms.txt)
