x402

Timezone Lookup (x402)

Get timezone information for a country code, city name, or coordinates. Returns IANA timezone, current UTC offset, DST status, and current local time.

get/x402/v2/timezone-lookup

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/timezone-lookup
  • Auth: none required

Query parameters

querystring required

Country code, city name, or coordinates

Response

Success

is_dstboolean
timezonestring
utc_offsetstring
abbreviationstring
utc_offset_hoursnumber
current_local_timestring

Example response

{
  "query": "SE",
  "is_dst": true,
  "timezone": "Europe/Stockholm",
  "utc_offset": "UTC+2",
  "abbreviation": "GMT+2",
  "country_code": "SE",
  "utc_offset_hours": 2,
  "current_local_time": "04/30/2026, 03:03:53 GMT+2"
}

Changes

No recorded changes to this operation across all 1 revision of this API.