{"uid":"cap_J28Lw-7KPXW_tMVDjsscL","slug":"one-engine-timestamp-to-iso-converter-180c4353","name":"ONE Engine Timestamp to ISO Converter","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/time/timestamp-to-iso?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"unit":{"enum":["seconds","milliseconds"],"type":"string"},"timestamp":{"type":"number"}}},"responseSchema":{"type":"json","example":{"iso":"2025-10-09T08:53:20.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_THhgG6bh6Lt09BXZEDqLH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a Unix timestamp (in seconds or milliseconds) to an ISO 8601 formatted datetime string.","exampleAgentPrompt":"Convert the Unix timestamp 1728464000 (in seconds) to ISO 8601 format for me.","exampleUseCases":[{"title":"Normalize log timestamps for display","prompt":"I have a server log entry with Unix timestamp 1700000000 in seconds — can you convert it to an ISO 8601 string so I can display it properly?"},{"title":"Format epoch milliseconds from API response","prompt":"This third-party API returned a timestamp of 1728464000000 in milliseconds — convert it to ISO format so I can store it in my database."},{"title":"Readable date from scheduled job timestamp","prompt":"My scheduled job fired at Unix time 1699999999 seconds — what does that look like as an ISO 8601 datetime string?"}],"resultDescription":"Returns a JSON object containing a single field `iso` with the corresponding ISO 8601 datetime string (e.g. `{\"iso\": \"2025-10-09T08:53:20.000Z\"}`).","failureModes":["Missing or invalid `timestamp` field returns an error","Missing or invalid `unit` enum value (must be 'seconds' or 'milliseconds') causes rejection","Very large or out-of-range timestamp values may return unexpected results","Payment failure via x402 protocol results in 402 response and no conversion"],"whenToPreferThis":"Choose this endpoint when your agent needs a cheap, reliable, single-call conversion of a Unix epoch value to ISO 8601 and you are already operating in an x402/Base payment context. It is ideal for agents processing API responses, log data, or scheduled events that expose raw numeric timestamps needing standardization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:20.078Z","isFirstParty":false,"canonicalSlug":"one-engine-timestamp-to-iso-converter-180c4353"}