Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man timezone-lookup

/timezone-lookup

agentutility / locale / timezone-lookup
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
uncategorized
STATUS
live
NAME
timezone-lookup timezone lookup
SYNOPSIS
POST https://x402.agentutility.ai/timezone-lookup
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
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.

INPUTrequest schema
propertytypedescriptionreq?
latitudenumberDecimal degrees, range [-90, 90]. Required if no timezone provided.optional
longitudenumberDecimal degrees, range [-180, 180]. Required if no timezone provided.optional
timezonestringIANA timezone identifier (e.g. 'America/Los_Angeles', 'Europe/Berlin'). Either this or lat+lon required.optional
datetime_utcstringOptional UTC datetime to evaluate at (ISO8601). Reserved for future use; current API returns now.optional
OUTPUTresponse shape
fieldtypedescription
timezonestringIANA timezone name resolved for the input, like 'America/Los_Angeles' or 'Europe/Berlin'.
utc_offset_secondsstringCurrent offset from UTC in seconds, including any active DST adjustment.
abbreviationstringShort timezone abbreviation currently in effect, such as PST, PDT, CET, or CEST.
is_dststringBoolean flag (as string) indicating whether daylight saving time is currently active at the location.
current_local_timestringCurrent wall-clock time at the resolved timezone in ISO 8601 format.
sourcestringUpstream data provider used for the lookup, typically 'timeapi.io'.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/timezone-lookup \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the timezone-lookup tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
localetimezoneiana-tzutc-offsetdstlocal-timegeo-timezone
methods
POST
cluster
locale
price
$0.005 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
air-qualityReturns current air quality readings and AQI category for any latitude/longitude, with optional hourly forecast rows for the next 1-72 hours.$0.005
airport-code-lookupResolves airport codes to airport name, municipality, country, region, coordinates, elevation, scheduled-service flag, homepage, and Wiki…$0.005
astro-timesSunrise sunset times.$0.005
climate-dataReturns historical daily temperature, precipitation, humidity, wind, and solar radiation for any latitude/longitude.$0.005
country-infoCountry info lookup.$0.005
current-weatherLooks up current weather conditions for a latitude/longitude: temperature, humidity, precipitation, wind, and WMO condition code.$0.005
holiday-lookupHoliday calendar.$0.005
iata-airport-infoLooks up airport metadata from an IATA or ICAO code.$0.005
SEE ALSO
agentutility · locale · x402 · mcp · llms.txt · registry.json · bazaar.x402.org