{"uid":"cap_OG6ZX8wC4DS2DYgkdxO6O","slug":"x402-deployer-x402-deployer-workers-dev-d52d5d79","name":"Timezone Converter (IANA / DST-Aware)","description":"Timezone convert / IANA tz conversion / DST-aware time arithmetic / wall-clock to UTC / convert across cities. Convert a datetime from one IANA timezone to another. ISO-8601 input — bare wall-time strings are interpreted in the from_tz, fully-qualified offsets are honored. DST is handled correctly (uses V8's built-in tzdata via Intl.DateTimeFormat). Returns both formatted strings, both UTC offsets, and the difference in hours.","url":"https://x402-deployer.x402-deployer.workers.dev/timezone-convert","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"datetime":{"type":"string","description":"ISO-8601 datetime. With offset (e.g. '2026-05-08T12:00:00-07:00') it's used as-is; without offset (e.g. '2026-05-08T12:00:00') it's interpreted in from_tz."},"from_tz":{"type":"string","description":"IANA timezone for the input wall-time (e.g. 'America/Los_Angeles')."},"to_tz":{"type":"string","description":"IANA timezone for the output (e.g. 'Asia/Tokyo')."}},"required":["datetime","from_tz","to_tz"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"from":{"type":"object","properties":{"datetime":{"type":"string"},"tz":{"type":"string"},"utc_offset_minutes":{"type":"integer"}}},"to":{"type":"object","properties":{"datetime":{"type":"string"},"tz":{"type":"string"},"utc_offset_minutes":{"type":"integer"}}},"utc_iso":{"type":"string"},"utc_offset_diff_hours":{"type":"integer"},"source":{"type":"string"}}}},"required":["type"]}},"required":["input"]},"responseSchema":null,"example":{"request":{"to_tz":"Asia/Tokyo","from_tz":"America/New_York","datetime":"2024-03-10T09:00:00"},"response":{"to":{"tz":"Asia/Tokyo","datetime":"2024-03-10T22:00:00+09:00","utc_offset_minutes":540},"from":{"tz":"America/New_York","datetime":"2024-03-10T09:00:00-04:00","utc_offset_minutes":-240},"source":"Intl.DateTimeFormat (built-in, IANA tzdata)","utc_iso":"2024-03-10T13:00:00.000Z","utc_offset_diff_hours":13}},"exampleRequest":{"to_tz":"Asia/Tokyo","from_tz":"America/New_York","datetime":"2024-03-10T09:00:00"},"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_jo-Wn4P2QRjeUK-r4wxqT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a datetime from one IANA timezone to another, handling DST correctly and returning formatted strings, UTC offsets, and the hour difference.","exampleAgentPrompt":"What time is the 9am meeting in America/New_York when converted to Asia/Tokyo on 2024-03-10, and how many hours apart are they?","exampleUseCases":null,"resultDescription":"Returns the original and converted datetime as formatted strings, the UTC offset for both the source and target timezone (accounting for DST), and the numeric hour difference between the two timezones.","failureModes":["Invalid or unrecognized IANA timezone name — returns error indicating unknown timezone","Malformed ISO-8601 datetime string — parse error returned","Missing required fields (datetime, from_tz, or to_tz) — validation error","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need accurate, DST-aware conversion between any two IANA timezone identifiers with full UTC offset metadata and hour-difference output — especially for scheduling across cities or normalizing datetimes for logs and APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:56:07.566Z","isFirstParty":false}