Skip to content
Buyer-controlled x402 recipe

Find a city and convert a UTC timestamp to local time

Find a city or locality in GeoNames, confirm the intended place, and use its IANA time zone to convert an offset-aware timestamp to local time.

2separately authorized steps
$0.004maximum listed total · USDC
eip155:8453 + solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdppayment networks
2
$0.002 USDC · separate authorization

IANA timezone conversion

Convert your timestamp using the selected IANA time zone.

POSThttps://apiacre.com/v1/data/timezone-convert

Input template

{
  "timestamp": "$timestampWithUtcOffset",
  "target_timezone": "$selectedPlaceTimezone"
}
Use this result

Replace the example timestamp and zone with your values. Use the returned local timestamp and UTC offset. Check the IANA data version and transition times when scheduling across clock changes.

You stay in control. Each step is an independent API call. Inspect its HTTP 402 challenge, authorize no more than the displayed price, verify the result, and continue only when the output is suitable. The listed total is not a bundle charge.