Unix timestamp converter API: epoch seconds to ISO date and back
Convert a Unix timestamp (seconds or milliseconds, detected automatically) to ISO date and time, or an ISO date to a Unix timestamp. Without input, returns the current time in both forms. Use to read timestamps in logs and APIs.
When to use it
- Read timestamps in logs and APIs
- Convert an ISO date to a Unix timestamp
- Get the current time in both forms with no input
Inputs
| Name | Type | Description |
|---|---|---|
value | string | Unix seconds/milliseconds or an ISO date (default now) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/unix?value=1792281600"
Or one of your 25 free calls, no key:
curl "https://tools.funwords.eu/unix?value=1792281600&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"unix": 1792281600,
"unixMs": 1792281600000,
"iso": "2026-10-18T00:00:00.000Z"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is unix, and the first 25 successful calls are free:
https://tools.funwords.eu/mcp
Questions
Seconds or milliseconds?
Either; it is detected automatically.
How do I pay?
Each successful call costs $0.01; failed calls are not charged. The first 25 calls are free. Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.