# PennyRail ISO-to-Epoch Time Converter

> PennyRail ISO-to-Epoch Time 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-14).

Converts an ISO 8601 date-time string into a Unix epoch timestamp (milliseconds or seconds since 1970-01-01T00:00:00Z)

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/time.convert-any--iso-to-epoch
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-iso-to-epoch-time-converter-0928739a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aYkr97HdKwxOAGN6GKO4I

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-iso-to-epoch-time-converter-0928739a -d '<json body>'
```

Example prompt: Convert the ISO date '2024-06-15T08:30:00Z' into a Unix epoch timestamp for me.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call microservice to convert ISO 8601 datetime strings to Unix epoch values without spinning up your own parsing infrastructure. Ideal for agents that occasionally need datetime normalization within an automated workflow and want a deterministic, stateless conversion billed at $0.001 USDC per call via x402 protocol.

## Known failure modes

- Invalid or malformed ISO 8601 string returns an error response
- Missing required 'input' field in request body causes a 400-level error
- Ambiguous timezone information may produce unexpected epoch values
- Payment failure (x402) blocks request from being processed
- Vercel cold-start may add latency on first call

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the Unix epoch representation of the provided ISO 8601 datetime string, typically as an integer value representing seconds and/or milliseconds elapsed since the Unix epoch (1970-01-01T00:00:00Z).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-iso-to-epoch-time-converter-0928739a/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)
