$0.001
per call · USD Coin on Base
Convert a time between any two IANA time zones (DST-aware). Pay-per-call in USDC on Base.
Endpoint
GET https://402timezones.vercel.app/api/convert-timezone135
Calls / 30d
62
Unique payers / 30d
Sep 9
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://402timezones.vercel.app/api/convert-timezone", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://402timezones.vercel.app/api/convert-timezone?from=America%2FNew_York&time=2026-07-04T15%3A30&to=Asia%2FTokyo" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"result": {
"from": {
"localTime": "2026-07-04T15:30:00",
"offset": "-04:00",
"timeZone": "America/New_York"
},
"to": {
"localTime": "2026-07-05T04:30:00",
"offset": "+09:00",
"timeZone": "Asia/Tokyo"
},
"utc": "2026-07-04T19:30:00.000Z"
},
"service": "Timezone Converter"
}Payment details
0xba667287b8ef89565f8fd7acd4d22ce98e0f39cdUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from Timezone Converter & similar services
Timezone Converter · TZ
x402.shizu.me
Convert a timestamp between IANA timezones. Inputs: from, to (e.g. UTC, America/New_York), time? (ISO8601, default now). Returns input/converted timestamps and UTC offset.
Loyalspark · Recipient API Offers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Workflow Reward Status
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.