{"uid":"cap_ENIWDBC2nCHvD90gUiBzz","slug":"fastx402-epoch-convert-d4801fe2","name":"FastX402 Epoch Convert","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/epoch-convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"string","description":"Unix epoch seconds or milliseconds, or ISO 8601 date string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"input":{"type":"string"},"iso8601":{"type":"string"},"human_utc":{"type":"string"},"epoch_seconds":{"type":"integer"},"epoch_milliseconds":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"input":"1729267200","iso8601":"2024-10-18T16:00:00.000Z","human_utc":"Friday, October 18, 2024 at 16:00:00 UTC","epoch_seconds":1729267200,"epoch_milliseconds":1729267200000}},"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_N8lD6XK9hNMUumtDcLJrp","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 epoch timestamp (seconds or milliseconds) or ISO 8601 date string into multiple human-readable and machine-readable datetime formats","exampleAgentPrompt":"What date and time does the Unix timestamp 1729267200 correspond to? Give me the ISO 8601 string and a readable UTC description.","exampleUseCases":[{"title":"Decode log file timestamp","prompt":"I have a server log entry with the timestamp 1700000000 — what actual date and time does that correspond to in UTC?"},{"title":"Convert API response epoch to readable date","prompt":"This API returned a field called 'created_at' with the value 1729267200000 — can you tell me what date and time that is in a human-readable format?"},{"title":"Verify scheduled event time","prompt":"We scheduled something for epoch second 1735689600 — what ISO 8601 datetime and human-readable UTC time does that translate to?"}],"resultDescription":"Returns a JSON object containing the original input value, the ISO 8601 datetime string (e.g. '2024-10-18T16:00:00.000Z'), a human-readable UTC string (e.g. 'Friday, October 18, 2024 at 16:00:00 UTC'), the epoch in seconds as an integer, and the epoch in milliseconds as an integer.","failureModes":["Missing or malformed 'timestamp' query parameter returns an error","Non-numeric, non-ISO string that cannot be parsed as a date returns a parse error","Out-of-range epoch values may return unexpected results","Payment failure (HTTP 402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick, no-account, pay-per-call conversion of Unix epoch timestamps (seconds or milliseconds) or ISO 8601 strings into multiple datetime representations including human-readable UTC. Ideal for AI agents processing API responses, log files, or database records containing raw epoch values and needing to present them in a human-friendly format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:42.180Z","isFirstParty":false,"canonicalSlug":"fastx402-epoch-convert-d4801fe2"}