Time Zone Lookup

Get the time zone for a country, city or coordinates: IANA zone, current UTC offset, daylight saving status and local time.

Pay by wallet (x402) timezone-lookup

Example

Input
{
  "query": "SE"
}
Answer
{
  "query": "SE",
  "is_dst": false,
  "timezone": "Europe/Stockholm",
  "utc_offset": "UTC+1",
  "abbreviation": "GMT+1",
  "country_code": "SE",
  "utc_offset_hours": 1,
  "current_local_time": "10/27/2026, 19:28:11 GMT+1"
}

Inputs

FieldTypeRequiredWhat it is
querystringYesCountry code, city name, or coordinates

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
is_dstbooleanAlways (present in every successful answer)
timezonestringAlways (present in every successful answer)
utc_offsetstringAlways (present in every successful answer)
abbreviationstringUsually (present for most inputs)
utc_offset_hoursnumberAlways (present in every successful answer)
current_local_timestringAlways (present in every successful answer)
query—Always (present in every successful answer)
country_code—Usually (present for most inputs)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "timezone-lookup",
    "inputs": {
      "query": "SE"
    },
    "max_price_cents": 2
  }'

Limitations

  • City lookup limited to major cities

    City name lookup covers ~100 major world cities — smaller cities may not be recognized

  • Countries with multiple timezones return primary only

    Multi-timezone countries (US, Russia, Australia) return the primary/capital timezone only

    What to do instead: Use a specific city name for other timezones (e.g., "Los Angeles" instead of "US")