x402-timestamp-convert
Timestamp conversion in one GET: epoch seconds, milliseconds, microseconds, nanoseconds, ISO 8601 and RFC 2822, in any direction. curl: GET /ts?value=1760000000&from=s&to=iso (from auto|s|ms|us|ns|iso|rfc2822, default auto; to iso|s|ms|us|ns|rfc2822|date, default iso). Response: {"result":"2025-10-09T08:53:20.000Z","unix_seconds":1760000000,"unix_milliseconds":1760000000000,"iso":"2025-10-09T08:53
- Price per call
- $0.001
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402-catalog-history.ai-business-surface.workers.dev/ts", { method: "GET" });
console.log(await res.json());https://x402-catalog-history.ai-business-surface.workers.dev/ts