# ISO 8601 to Unix Timestamp Converter

> ISO 8601 to Unix Timestamp Converter is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Converts a UTC ISO 8601 timestamp string into Unix time expressed in both seconds and milliseconds

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/date/iso-to-unix?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iso-8601-to-unix-timestamp-converter-5600c083
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yrdDM6ZNECGF3pai_MdRu

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 iso-8601-to-unix-timestamp-converter-5600c083 -d '<json body>'
```

Example prompt: Convert the ISO timestamp 2024-06-15T08:30:00.000Z to its Unix equivalent in both seconds and milliseconds.

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call microservice to convert a single UTC ISO 8601 datetime string to Unix epoch time (seconds and milliseconds) without standing up your own conversion logic. It is especially useful for AI agents operating in workflows that already use x402 micropayment infrastructure and need a bounded, reliable timestamp conversion step.

## Known failure modes

- Invalid or malformed ISO 8601 string — returns an error or unexpected result
- Timestamp string shorter than 20 or longer than 24 characters — schema validation rejection
- Non-UTC timezone-aware strings may be rejected or misinterpreted
- Missing required `timestamp` field in the request body — likely 400 or validation error
- Payment failure or insufficient USDC balance — 402 Payment Required response

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

A JSON object containing two numeric fields: `seconds` (Unix epoch time in whole seconds) and `milliseconds` (Unix epoch time in milliseconds), both derived from the provided ISO 8601 UTC timestamp string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "timestamp": {
   "type": "string",
   "maxLength": 24,
   "minLength": 20,
   "description": "UTC ISO timestamp."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "seconds": 0,
  "milliseconds": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iso-8601-to-unix-timestamp-converter-5600c083/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
