{"uid":"cap_S-l1WSIKjrDdP1yVTj53X","slug":"agenttools-unix-timestamp-converter-062b603f","name":"AgentTools Unix Timestamp Converter","description":"Convert Unix epoch timestamps to ISO/UTC dates and back. Millisecond timestamps are detected automatically; invalid dates are rejected with clear errors. Use this when an agent needs to epoch seconds ↔ human dates, both directions.","url":"https://agenttools-hub.vercel.app/api/v1/converters/unix-timestamp-converter?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":["value"],"properties":{"op":{"enum":["to_date","to_timestamp"],"type":"string","description":"Direction"},"value":{"type":"string","description":"Timestamp or date"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_g6uWjMWSNgvFDei65sI2b","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 Unix epoch timestamps to ISO/UTC date strings and vice versa, with automatic millisecond detection and strict validation.","exampleAgentPrompt":"What date and time does the Unix timestamp 1700000000 correspond to in UTC? Convert it to an ISO date for me.","exampleUseCases":[{"title":"Decode API log timestamp","prompt":"I have a Unix timestamp 1712345678 from an API log — what UTC date and time does that correspond to?"},{"title":"Encode scheduled event date","prompt":"Convert 2025-06-15T09:00:00Z to a Unix epoch timestamp so I can store it in our database."},{"title":"Debug millisecond timestamp","prompt":"I've got this timestamp 1700000000000 — is that in milliseconds? Convert it to a readable ISO date for me."}],"resultDescription":"Returns either a human-readable ISO 8601 / UTC date string (when converting from epoch) or a Unix epoch integer in seconds or milliseconds (when converting from a date string). Invalid inputs are rejected with descriptive error messages.","failureModes":["Invalid or unparseable date string returns a clear error message","Out-of-range epoch values may be rejected","Ambiguous formats without clear timezone may be rejected","Missing required 'value' query parameter returns an error"],"whenToPreferThis":"Use this endpoint when an agent needs a straightforward, cheap, single-call conversion between Unix epoch timestamps and human-readable ISO/UTC dates, especially when automatic millisecond vs. second detection is needed. Prefer it over custom code when the agent environment doesn't have reliable date libraries or when a paid, reliable utility is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:38.205Z","isFirstParty":false,"canonicalSlug":"agenttools-unix-timestamp-converter-062b603f"}