# PennyRail Time to ISO Converter

> PennyRail Time to ISO Converter is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts a numeric timestamp or date string into an ISO 8601 formatted datetime string

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/time.to-iso
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-time-to-iso-converter-eb465166
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rFEJ7YQO_ZRntjrRYGa5f

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 pennyrail-time-to-iso-converter-eb465166 -d '<json body>'
```

Example prompt: Convert the timestamp 1716220800 to ISO 8601 format for me.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use microservice to convert raw timestamps or numeric date values into ISO 8601 format without standing up your own date parsing infrastructure. Useful in agent workflows that process third-party API responses containing epoch timestamps and need them normalized to a standard format.

## Known failure modes

- Invalid or non-parseable input string returns an error result
- Non-numeric string that cannot be interpreted as a timestamp may return null or error in result field
- Payment failure (402) if USDC micropayment is not completed
- Missing required 'input' field returns 400 bad request

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object with an 'operation' field identifying the conversion performed and a 'result' field containing the ISO 8601 formatted datetime string corresponding to the input timestamp or date value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "number|string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-time-to-iso-converter-eb465166/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
