{"uid":"cap_5BJIdNmZEKpDyNTe75gWm","slug":"sitecheck-timezone-lookup-conversion-8b3441ab","name":"SiteCheck Timezone Lookup & Conversion","description":"The current time in an IANA time zone (its UTC offset and whether DST applies) and, with time and to, the conversion of a local time from one zone to another. Computed in the Worker with the runtime's time zone data; no outside call.","url":"https://api.sitecheck-api.workers.dev/api/timezone?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","required":["zone"],"properties":{"to":{"type":"string","description":"Target IANA zone for the conversion"},"time":{"type":"string","description":"Local time to convert, e.g. 2026-03-29T01:30"},"zone":{"type":"string","description":"IANA zone, e.g. Europe/Istanbul"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"now":{"dst":false,"local":"2026-10-14 10:00","utcOffset":"+03:00"},"zone":"Europe/Istanbul","source":"Intl.DateTimeFormat (IANA time zone data in the Worker)","checkedAt":"2026-10-14T07:00:46.231Z","conversion":{"to":{"zone":"America/New_York","local":"2026-03-28 18:30","utcOffset":"-04:00"},"utc":"2026-03-28T22:30:00.000Z","from":{"zone":"Europe/Istanbul","local":"2026-03-29T01:30"}}}},"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_-Ueegwk1TdrVbnBZ-Alr9","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":"Returns current local time, UTC offset, and DST status for an IANA timezone, with optional conversion between two timezones","exampleAgentPrompt":"What time is it right now in Europe/Istanbul, and what would 1:30 AM there on March 29 2026 be in America/New_York?","exampleUseCases":[{"title":"Schedule international meeting time","prompt":"I need to schedule a meeting at 3:00 PM in America/Chicago on April 10 2026 — what time would that be for someone in Asia/Singapore?"},{"title":"Check current local time in a city","prompt":"What is the current local time and UTC offset in Australia/Sydney? Is it currently observing daylight saving time?"},{"title":"Convert event time for global announcement","prompt":"Our product launch is set for 2026-06-15T09:00 in Europe/London — convert that to America/Los_Angeles so I can tell the West Coast team what time to tune in."}],"resultDescription":"Returns a JSON object with the current local time, UTC offset, DST boolean, and a checkedAt timestamp for the requested IANA zone. If a conversion is requested (providing a source time and target zone), also returns the converted local time and UTC timestamp for both the source and destination timezones.","failureModes":["Invalid or unknown IANA timezone string returns an error — must be a valid IANA zone like 'Europe/Istanbul', not an abbreviation like 'EST'","Missing required 'zone' query parameter returns a validation error","Malformed 'time' parameter (not in ISO-like format) may cause conversion to fail","Conversion requires both 'time' and 'to' parameters; providing only one may yield a partial or error response"],"whenToPreferThis":"Use this endpoint when you need authoritative IANA-based timezone resolution — including current local time, UTC offset, DST status, and optionally converting a specific local datetime between two IANA zones. Prefer this over generic time APIs when accuracy of DST transitions and IANA zone naming is important, or when you need the full conversion round-trip (source zone → UTC → target zone) in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:06.128Z","isFirstParty":false,"canonicalSlug":"sitecheck-timezone-lookup-conversion-8b3441ab"}