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
| Field | Type | Required | What it is |
|---|---|---|---|
query | string | Yes | Country code, city name, or coordinates |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
is_dst | boolean | Always (present in every successful answer) |
timezone | string | Always (present in every successful answer) |
utc_offset | string | Always (present in every successful answer) |
abbreviation | string | Usually (present for most inputs) |
utc_offset_hours | number | Always (present in every successful answer) |
current_local_time | string | Always (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
}' {
"tool": "strale_execute",
"arguments": {
"slug": "timezone-lookup",
"inputs": {
"query": "SE"
},
"max_price_cents": 2
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "timezone-lookup",
inputs: {
"query": "SE"
},
max_price_cents: 2,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="timezone-lookup",
inputs={
"query": "SE",
},
max_price_cents=2,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/timezone-lookup?query=SE' 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")
Related tools
- Address Geocoding €0.02
- Barcode Lookup €0.05
- Container Tracking €0.05
- Country Lookup €0.02
- Country Tax Rates €0.02
- Country Trade Data €0.20