Timezone Converter API
A pay-per-call HTTP endpoint that converts a time between any two IANA time zones (DST-aware). Send an x402 payment of 0.001 USDC on Base mainnet and it returns the converted time as JSON. Agents can discover it automatically through the x402 Bazaar, and every settlement is attributed to a Base Builder Code.
GET
/api/convert-timezone- Price
- 0.001 USDC per call
- Network
- Base mainnet (eip155:8453)
- Scheme
- exact
- Facilitator
- Coinbase CDP
- Pay to
- PAY_TO_ADDRESS (env)
- Builder code
- BUILDER_CODE (env)
- Discovery
- Listed in the x402 Bazaar
Query parameters
- fromrequired
- Source IANA time zone, e.g. America/New_York
- torequired
- Target IANA time zone, e.g. Asia/Tokyo
- timeoptional
- Wall-clock time in the source zone (2026-07-04T15:30) or 'now'
Example request
GET /api/convert-timezone?from=America/New_York&to=Asia/Tokyo&time=2026-07-04T15:30How it works
- An unpaid request returns
402 Payment Requiredwith the payment requirements and the declared extensions. - An x402 client (or Bazaar-aware agent) signs and submits the 0.001 USDC payment on Base mainnet.
- The Coinbase CDP facilitator verifies and settles it, appending the ERC-8021 Builder Code suffix.
- The endpoint responds with the converted time as JSON.