# minia2a x402-date-to-unix

> minia2a x402-date-to-unix is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Converts a human-readable date string to a Unix timestamp integer

## Facts

- Endpoint: GET https://minia2a.uk/x402/dateToUnix?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-date-to-unix-e1a51dd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nK76yfWejTopk0PUy72tz

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 minia2a-x402-date-to-unix-e1a51dd1
```

Example prompt: Can you convert the date '2025-07-15T14:30:00Z' to a Unix timestamp for me?

## When to prefer this

Use this endpoint when you need a lightweight, paid micro-service to convert human-readable dates to Unix timestamps without running local code — especially useful in agent workflows operating on the x402 payment protocol where each micro-call is billed per use.

## Known failure modes

- Invalid or unparseable date string returns an error or null result
- Missing required 'input' query parameter causes a 400-level response
- Ambiguous date formats without timezone specification may produce unexpected results
- Dates outside supported range may fail or return incorrect values

## How this service works

Convert a date to Unix timestamp.

## Output

A numeric Unix timestamp (epoch seconds or milliseconds) corresponding to the input date string, suitable for use in smart contracts, databases, or time-based logic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-x402-date-to-unix-e1a51dd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
