# Delx ISO To Unix

> Delx ISO To Unix is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Converts an ISO-8601 datetime string to its Unix epoch timestamp in seconds

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/iso-to-unix
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-iso-to-unix-558b6063
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VMa2kvhiI_Mg2hD25sRIg

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 delx-iso-to-unix-558b6063 -d '<json body>'
```

Example prompt: Convert the ISO datetime 2025-03-15T09:30:00Z to a Unix epoch timestamp in seconds so I can use it in my scheduling logic.

## When to prefer this

Choose this endpoint when an AI agent needs to convert ISO-8601 datetime strings to Unix epoch seconds for scheduling, deadline math, or timestamp normalization without setting up date libraries or environment dependencies. Ideal for serverless or constrained agent environments where local date parsing is unavailable. Prefer this over general-purpose code execution when you need a lightweight, stateless, pay-per-call utility with no key management.

## Known failure modes

- Invalid or malformed ISO-8601 string returns an error or ok:false
- Missing 'iso' field in request body causes a validation error
- Timezone-ambiguous strings without offset may be parsed as UTC or fail
- Extremely far-future or far-past dates may be outside supported range

## How this service works

Convert ISO-8601 to unix seconds. Call when you feed agent schedules into epoch math. Returns unix, iso, ok for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a JSON object containing the original ISO string echoed back, the equivalent Unix timestamp as an integer number of seconds since epoch (1970-01-01T00:00:00Z), and a boolean 'ok' field indicating success. No external network calls are made; computation is local and stateless.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "iso": {
   "type": "string",
   "description": "Input field: iso."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "iso": "2026-08-06T00:00:00Z",
  "unix": 1785974400,
  "schema": "delx/util-iso-to-unix/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-iso-to-unix-558b6063/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
