{"uid":"cap_s5vMiUay1vDUMSBSkr0Mj","slug":"x402-deployer-x402-deployer-workers-dev-26cf7979","name":"Timezone Lookup by Coordinates or City","description":"Timezone lookup. Returns IANA timezone, UTC offset, DST status, current local time, and DST transitions for any latitude/longitude or city name. Wraps the public TimeAPI.io endpoint — no auth, commercial-OK.","url":"https://x402-deployer.x402-deployer.workers.dev/timezone-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"latitude":{"type":"number","description":"Decimal degrees, range [-90, 90]. Required if no timezone provided."},"timezone":{"type":"string","description":"IANA timezone identifier (e.g. 'America/Los_Angeles', 'Europe/Berlin'). Either this or lat+lon required."},"longitude":{"type":"number","description":"Decimal degrees, range [-180, 180]. Required if no timezone provided."},"datetime_utc":{"type":"string","description":"Optional UTC datetime to evaluate at (ISO8601). Reserved for future use; current API returns now."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"is_dst":{"type":"boolean"},"source":{"type":"string"},"timezone":{"type":"string"},"abbreviation":{"type":"string"},"current_local_time":{"type":"string"},"utc_offset_seconds":{"type":"integer"}}}}}}},"responseSchema":null,"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_lhHoyZsn5PFXMJkTWU4ZW","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":"Returns IANA timezone, UTC offset, DST status, current local time, and DST transitions for a given latitude/longitude or city name","exampleAgentPrompt":"What IANA timezone is at coordinates 35.6762° N, 139.6503° E, and is daylight saving time currently active there?","exampleUseCases":null,"resultDescription":"Returns the IANA timezone string (e.g. 'America/New_York'), the UTC offset in hours/minutes, whether DST is currently in effect, the current local date and time at that location, and the upcoming DST transition timestamps.","failureModes":["Invalid or out-of-range coordinates return an error response","Ambiguous or misspelled city names may return no result or wrong match","City names shared by multiple countries may resolve to unexpected location","Upstream TimeAPI.io unavailability causes request failure","Missing required input (no lat/lng and no city) returns a validation error"],"whenToPreferThis":"Use this endpoint when you need authoritative IANA timezone data, UTC offset, DST status, or current local time for a geographic location specified by coordinates or city name — especially when you need DST transition dates. Prefer over manual timezone tables or OS-level lookups when accuracy and up-to-date DST rules matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:39.559Z","isFirstParty":false}