{"uid":"cap_fA78510tD_frjjxmye4di","slug":"x402-utility-tools-timestamp-convert-2a1f5b7f","name":"x402 Utility Tools – Timestamp Convert","description":"A compact x402 utility surface for agents that need cheap, repeatable non-LLM transformations before spending on heavier routes: CSV cleanup, JSON Schema checks, timestamp conversion, JWT decode, URL normalization, hashes, codecs, and text utilities.","url":"https://x402-utils.558686.xyz/v1/tools/timestamp-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"tool":"timestamp-convert","input":{"unit":"seconds","value":1782990000},"route":"/v1/tools/timestamp-convert","result":{"iso":"iso_example","formats":[],"unixSeconds":1,"unixMilliseconds":1},"project":"x402-utility-tools","deterministic":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UQqVW-xO9bjMqmD-PSdYj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","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) into ISO 8601 and multiple other human-readable date/time formats","exampleAgentPrompt":"Convert the Unix timestamp 1782990000 (in seconds) to ISO 8601 and other readable date formats for me.","exampleUseCases":[{"title":"Humanize API log timestamps","prompt":"I have a log entry with Unix timestamp 1782990000 seconds — can you convert it to a readable ISO date so I can see when it happened?"},{"title":"Display event date from epoch","prompt":"My calendar event is stored as epoch time 1750000000 in milliseconds. Convert it to ISO format and any other readable date formats so I can show it to users."},{"title":"Validate scheduled job timing","prompt":"I need to check when Unix timestamp 1800000000 seconds falls — convert it to ISO 8601 and standard date formats so I can confirm my cron job is scheduled correctly."}],"resultDescription":"Returns a JSON object with ok:true, the tool name, echoed input, and a result object containing the ISO 8601 string, an array of additional formatted date strings, the timestamp in Unix seconds, and the timestamp in Unix milliseconds. The response is deterministic for the same input.","failureModes":["Missing required 'value' or 'unit' field returns an error response","Invalid unit string (not 'seconds' or 'milliseconds') may produce unexpected results","Non-integer value field will fail schema validation","Payment failure via x402 protocol returns HTTP 402 before the tool is invoked"],"whenToPreferThis":"Choose this endpoint when you need a cheap ($0.002), deterministic, non-LLM timestamp conversion — especially inside an agentic pipeline where you want consistent ISO 8601 output without burning LLM tokens on trivial arithmetic. Prefer this over asking an LLM to compute dates when accuracy and repeatability matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:03:53.236Z","isFirstParty":false,"canonicalSlug":"x402-utility-tools-timestamp-convert-2a1f5b7f"}