# Unix Timestamp Converter

> Unix Timestamp Converter is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts Unix timestamps (seconds or milliseconds) to human-readable formats (ISO 8601, RFC 2822, weekday, relative time), or converts date/ISO strings back to Unix seconds and milliseconds, with auto-detection of input type.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/timestamp
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unix-timestamp-converter-4a286052
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_faY7f9HWwChPU9dKrcJRn

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 unix-timestamp-converter-4a286052
```

Example prompt: What date and day of the week does Unix timestamp 1700000000 correspond to, and can you also show it in ISO 8601 and relative time?

## When to prefer this

Use this endpoint when you need to quickly convert between Unix epoch timestamps and human-readable date formats without writing custom parsing logic. It is ideal when you need multiple output formats simultaneously (ISO 8601, RFC 2822, weekday, relative time) from a single call, and when you want auto-detection of whether the input is seconds, milliseconds, or a date string.

## Known failure modes

- Missing or empty 'input' query parameter returns an error
- Unrecognizable date string format may return a parse error
- Ambiguous short numeric strings may be misdetected as seconds vs milliseconds
- Non-date strings passed as input will cause a conversion failure

## How this service works

Unix timestamp converter: seconds or milliseconds to ISO 8601, RFC 2822, weekday and relative time; or any ISO/date string to Unix seconds and milliseconds. Auto-detects the input. $0.01 per call.

## Output

Returns the input timestamp or date string converted into multiple formats: ISO 8601 datetime, RFC 2822 datetime, weekday name, and relative time (when input is a Unix timestamp), or Unix seconds and Unix milliseconds (when input is a date/ISO string). Input type is auto-detected.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unix-timestamp-converter-4a286052/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
