{"uid":"cap_LRL-NapVfKPEgA5Xii22Y","slug":"coinlight-time-converter-39aaf56a","name":"Coinlight Time Converter","description":"Coinlight charges USDC per API call with the x402 protocol on Solana and Base.","url":"https://coinlight-app.vercel.app/p/time-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","examples":[{"value":"1792779111"}],"required":[],"properties":{"value":{"type":"string","description":"Unix seconds, unix ms, or ISO 8601 date. Optional."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"endpoint":"Timestamp converter"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bgKBV1oKLKgFMtXX4ibc_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a Unix timestamp (seconds or ms) or ISO date string into ISO UTC, Unix seconds, Unix milliseconds, and a human-readable relative 'x ago' string; returns current time if no input given.","exampleAgentPrompt":"Can you convert the unix timestamp 1792779111 into ISO UTC, unix milliseconds, and show me how long ago that was?","exampleUseCases":[{"title":"Decode epoch from API response","prompt":"I got a unix timestamp 1700000000 back from an API call — can you convert it to a readable ISO UTC date, unix milliseconds, and tell me how long ago that was?"},{"title":"Get current time in all formats","prompt":"What's the current time right now expressed as ISO UTC, unix seconds, and unix milliseconds all at once?"},{"title":"Convert ISO date to unix timestamp","prompt":"I have the date 2024-03-15T12:00:00Z — can you convert it to unix seconds and unix milliseconds for me?"}],"resultDescription":"Returns a JSON object with the input time represented as: ISO UTC string, unix seconds, unix milliseconds, and a relative human-readable 'x ago' string. If no input is provided, the current time is used for all four representations.","failureModes":["Invalid or unparseable timestamp format returns an error response","Ambiguous numeric input (could be seconds or ms) may be misinterpreted — the API attempts to auto-detect","Very old or far-future dates may fall outside supported range","Malformed ISO 8601 strings (missing timezone, invalid separators) may return an error","Network timeout or Vercel cold-start delay on first request"],"whenToPreferThis":"Use this endpoint when you need a single, cheap, keyless call to convert any time representation (unix seconds, unix ms, or ISO 8601) into all common timestamp formats simultaneously, including a human-friendly relative string. Prefer it over manual calculation or heavyweight datetime libraries when working in an agent pipeline that needs fast, reliable time formatting. Especially useful when you receive an opaque numeric timestamp from another API and need to present it in multiple formats without writing conversion logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:30:32.401Z","isFirstParty":false,"canonicalSlug":"coinlight-time-converter-39aaf56a"}