{"uid":"cap_gV2MbH1n0OcmypmlKGHZ-","slug":"finmath-timestamp-convert-9d0c9d68","name":"finmath Timestamp Convert","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/timestamp_convert","method":"POST","headers":{},"bodySchema":{"type":"object","required":["value"],"properties":{"to":{"type":"string","description":"to"},"value":{"type":"string","description":"value"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_SMvGWu9tKFnK4UYiIbMOw","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 a timestamp value to a different format or unit (e.g. Unix epoch to ISO 8601, milliseconds to seconds)","exampleAgentPrompt":"Convert Unix timestamp 1709251200 to an ISO 8601 datetime string using finmath's deterministic timestamp converter.","exampleUseCases":null,"resultDescription":"A JSON object with a 'result' field containing the converted timestamp value in the requested target format, plus a 'meta' object with call metadata.","failureModes":["Missing required 'value' field returns a validation error","Invalid or non-parseable timestamp string returns an error result","Unsupported 'to' format specifier returns an error","Non-numeric value where a number is expected may cause a parse failure","Network timeout if the Cloudflare Worker is under load"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic timestamp conversion without relying on an LLM's arithmetic — especially in financial or DeFi workflows where precise epoch/datetime translation is critical. Prefer this over in-context LLM math for high-stakes or auditable calculations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:49:39.928Z","isFirstParty":false}