{"uid":"cap_UT3oR7CVH1ld_qzDNsx0N","slug":"almanac-time-api-1389c309","name":"Almanac Time API","description":"Deterministic time/timezone truth: DST-aware zone conversion, transition times, business-day & holiday math, epoch<->ISO. Free sample, no payment required: GET /play/time","url":"https://almanac.locomot.io/time","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"op":{"enum":["convert","zone","diff","business_days","holidays","epoch"],"type":"string","description":"operation; default convert"},"tz":{"type":"string","description":"zone/epoch: IANA zone"},"end":{"type":"string","description":"diff/business_days: end"},"date":{"type":"string","description":"holidays: single date to test"},"when":{"type":"string","description":"instant: ISO-8601, epoch, or now"},"year":{"type":"integer","description":"holidays: year"},"epoch":{"type":"number","description":"epoch: seconds or millis"},"start":{"type":"string","description":"diff/business_days: start"},"to_tz":{"type":"string","description":"convert: target IANA zone"},"country":{"type":"string","description":"ISO-3166 alpha-2 (US, GB, …)"},"from_tz":{"type":"string","description":"convert: source IANA zone"}}}},"additionalProperties":false},"output":{"type":"object","properties":{"op":{"type":"string"},"to":{"type":"object"},"utc":{"type":"string"},"from":{"type":"object"},"engine":{"type":"string"},"same_instant":{"type":"boolean"},"deterministic":{"type":"boolean"},"input_instant":{"type":"string"},"unix_epoch_seconds":{"type":"integer"},"tz_database_version":{"type":"string"}}}}},"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_XWu23GFsI9vIURFWxjijl","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":"Performs time zone conversions, epoch lookups, time-diff calculations, business day counting, and holiday checks for a given instant and locale","exampleAgentPrompt":"Convert 2025-03-15T09:00:00 from America/New_York to Europe/London and give me the UTC time and Unix epoch for that moment.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the operation type, the converted time in the target timezone (with offset details), the original time in the source timezone, the same UTC instant, a boolean confirming it's the same instant, the Unix epoch in seconds, and the timezone database version used.","failureModes":["Invalid or unrecognized IANA timezone name returns an error","Malformed ISO-8601 datetime string causes a parsing error","Unsupported country code for holidays returns an error or empty result","Missing required parameters for the selected operation (e.g. no start/end for diff) returns a 400-style error","Ambiguous epoch (seconds vs milliseconds) may produce unexpected results if the wrong magnitude is passed"],"whenToPreferThis":"Use this endpoint when you need authoritative timezone-aware time conversion, Unix epoch lookup, business day calculation between two dates, or holiday detection for a specific country — especially when you need deterministic, database-version-stamped results rather than a simple language model guess about time zones or dates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:23.413Z","isFirstParty":false}