# Timestamp Converter API

> Timestamp Converter API is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-14).

Converts between Unix epoch (seconds or milliseconds), ISO 8601, and human-readable date strings with auto-detection of input format

## Facts

- Endpoint: GET https://api.x402node.dev/convert/timestamp
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-57c77de2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rscVfB8IccRJV1Lmhks6Y

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 api-x402node-dev-57c77de2
```

Example prompt: Convert the unix timestamp 1714500000 to a human-readable date and also give me the ISO 8601 string and what day of the week it falls on.

## When to prefer this

Use this endpoint when you need to convert between timestamp formats (Unix epoch seconds, Unix epoch milliseconds, ISO 8601, or human-readable strings) and want auto-detection of the input format. Ideal for data pipelines, log processing, API integration, or any workflow where timestamps arrive in mixed formats and need normalization. Prefer this over manual parsing when the input format is unknown or variable.

## Known failure modes

- Unrecognized or malformed input format returns an error
- Ambiguous date strings may be misinterpreted (e.g. locale-dependent formats like 01/02/03)
- Out-of-range timestamps may cause parsing errors
- Missing request body or empty input field results in 400-level error
- Network timeout or service unavailability returns 5xx

## How this service works

Timestamp converter, unix timestamp to date, ISO 8601 converter, epoch to date, date string to unix, time format converter, utc to local time, unix time, epoch milliseconds, human readable date. Convert between unix epoch (sec or ms), ISO 8601, and human-readable date strings. Auto-detect input format. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object containing the converted timestamp in multiple formats: unix_seconds (integer), unix_ms (integer), iso (ISO 8601 string), utc (UTC date string), weekday (day of week string), and input (echoed input value). All representations of the same moment in time are returned together.

## 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": {
      "value": {
       "type": "string",
       "description": "Input value (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-57c77de2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
