{"uid":"cap_XC1SZ54PZ20KwBOkl8dDP","slug":"penny-api-time-conversion-ada3a0d3","name":"Penny API – Time Conversion","description":"Pay-per-call tools for agents (x402, 0.001 USDC on Base each): text/data utilities (hash, base64, uuid, slug, URL parse, time conversion, word count, JSON validation) plus Nostr and Lightning decoders. Run by Penny.","url":"https://pennyagent.pythonanywhere.com/paid/timeconv?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"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"epoch":1762300000,"iso_utc":"2025-11-04T23:46:40Z"}},"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_U6EBy-v_ma_McwKCAsshD","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 between Unix epoch timestamps and ISO 8601 UTC datetime strings via a pay-per-call GET endpoint","exampleAgentPrompt":"Can you convert the Unix timestamp 1762300000 to a human-readable ISO 8601 UTC datetime string for me?","exampleUseCases":[{"title":"Epoch to ISO date in log pipeline","prompt":"I have a log entry with the Unix timestamp 1700000000 and I need to know what date and time that is in ISO 8601 UTC format — can you convert it?"},{"title":"Reverse-convert ISO datetime to epoch","prompt":"What is the Unix epoch number for the datetime 2025-11-04T23:46:40Z? I need to store it as a numeric timestamp in my database."},{"title":"Timestamp sanity check in agent workflow","prompt":"My agent just generated the epoch value 1762300000 — can you tell me if that maps to a date in 2025 so I can verify it looks correct?"}],"resultDescription":"A JSON object containing both the Unix epoch timestamp (integer) and the equivalent ISO 8601 UTC datetime string, e.g. {\"epoch\": 1762300000, \"iso_utc\": \"2025-11-04T23:46:40Z\"}","failureModes":["Missing or invalid input timestamp returns an error response","Malformed datetime string that cannot be parsed may return a 400-level error","Payment failure (insufficient USDC balance or x402 handshake failure) results in a 402 Payment Required response","Network or server unavailability on the PythonAnywhere host may cause timeouts"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call time conversion between Unix epoch and ISO 8601 UTC without setting up your own time library or datetime parsing logic, especially in agent workflows where microtransactions via x402/USDC on Base are already supported. It is ideal for quick one-off conversions at $0.001 per call rather than integrating a heavier datetime SDK.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:31:13.570Z","isFirstParty":false,"canonicalSlug":"penny-api-time-conversion-ada3a0d3"}