{"uid":"cap_faY7f9HWwChPU9dKrcJRn","slug":"unix-timestamp-converter-4a286052","name":"Unix Timestamp Converter","description":"Unix timestamp converter: seconds or milliseconds to ISO 8601, RFC 2822, weekday and relative time; or any ISO/date string to Unix seconds and milliseconds. Auto-detects the input. $0.01 per call.","url":"https://intel.rallylive.ca/data/timestamp","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZmFhHINbqXR2xu4hR8jy2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Unix timestamps (seconds or milliseconds) to human-readable formats (ISO 8601, RFC 2822, weekday, relative time), or converts date/ISO strings back to Unix seconds and milliseconds, with auto-detection of input type.","exampleAgentPrompt":"What date and day of the week does Unix timestamp 1700000000 correspond to, and can you also show it in ISO 8601 and relative time?","exampleUseCases":[{"title":"Decode API log timestamp","prompt":"I've got a Unix timestamp from an API log — 1712345678 — can you convert it to a readable date and time in ISO 8601 format and tell me what day of the week it was?"},{"title":"Convert ISO date to epoch for database query","prompt":"I need to query our database using epoch time. Can you convert '2024-06-15T12:00:00Z' into Unix seconds and milliseconds for me?"},{"title":"Show relative time for user activity","prompt":"A user action was logged at Unix timestamp 1698765432 milliseconds. What does that look like as a relative time like 'X days ago', and what's the full ISO date?"}],"resultDescription":"Returns the input timestamp or date string converted into multiple formats: ISO 8601 datetime, RFC 2822 datetime, weekday name, and relative time (when input is a Unix timestamp), or Unix seconds and Unix milliseconds (when input is a date/ISO string). Input type is auto-detected.","failureModes":["Missing or empty 'input' query parameter returns an error","Unrecognizable date string format may return a parse error","Ambiguous short numeric strings may be misdetected as seconds vs milliseconds","Non-date strings passed as input will cause a conversion failure"],"whenToPreferThis":"Use this endpoint when you need to quickly convert between Unix epoch timestamps and human-readable date formats without writing custom parsing logic. It is ideal when you need multiple output formats simultaneously (ISO 8601, RFC 2822, weekday, relative time) from a single call, and when you want auto-detection of whether the input is seconds, milliseconds, or a date string.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:37.845Z","isFirstParty":false}