{"uid":"cap_XshkzGK9e0QowCaQJUV-W","slug":"epoch-convert-api-cfb90ea1","name":"Epoch Convert API","description":"41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.","url":"https://x402-micro-pay.com/api/skills/epoch-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tz":{"type":"string","default":"UTC","maxLength":64,"minLength":1},"value":{"type":["integer","number","string"],"maxLength":64}}},"responseSchema":{"type":"json","example":{"ok":true,"tz":"America/Chicago","skill":"epoch_convert","iso_tz":"2023-11-14T16:13:20-06:00","epoch_s":1700000000,"iso_utc":"2023-11-14T22:13:20Z","epoch_ms":1700000000000,"input_kind":"epoch_s","utc_offset":"-06:00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZoRXRog7SQBVJ4_cw_5Np","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 (seconds or milliseconds) or ISO date strings to multiple human-readable and machine-readable formats, with timezone support","exampleAgentPrompt":"Can you convert the Unix timestamp 1700000000 to a human-readable date and time in America/Chicago timezone?","exampleUseCases":[{"title":"Log timestamp debugging","prompt":"I have a server log entry with epoch timestamp 1699980000000 milliseconds — can you tell me what date and time that was in UTC and also in US/Eastern?"},{"title":"API response timestamp display","prompt":"Convert epoch 1712345678 to a readable ISO date string in Europe/London timezone so I can show it in my app's UI."},{"title":"Scheduled job time verification","prompt":"My cron job fired at Unix timestamp 1700000000 — what exact date, time, and UTC offset does that correspond to in Asia/Tokyo?"}],"resultDescription":"A JSON object containing: the original epoch in both seconds and milliseconds, an ISO 8601 UTC datetime string, an ISO 8601 timezone-adjusted datetime string, the UTC offset for the requested timezone, the timezone name used, and a classification of what type of input was provided (e.g. epoch_s, epoch_ms, or iso string).","failureModes":["Invalid or unparseable timestamp value returns an error response","Unrecognized timezone string (e.g. misspelled IANA name) may return an error or fall back to UTC","Missing 'value' field in request body causes a validation error","Payment not made upfront results in HTTP 402 requiring x402 USDC payment on Base before retry"],"whenToPreferThis":"Use this endpoint when you need to convert Unix epoch timestamps (seconds or milliseconds) or ISO strings to multiple formats simultaneously, especially when timezone localization is required. Prefer this over manual datetime parsing when you need both the UTC and local timezone representations in a single call, or when you need the epoch round-trip (input as ISO, get back epoch values).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:30:15.624Z","isFirstParty":false,"canonicalSlug":"epoch-convert-api-cfb90ea1"}