S

Schedule & Timezone Tools · Timezone Convert

by Schedule & Timezone Tools

POSTBaseArbitrumPolygon

$0.005

per call · USD Coin on Base

Timezone converter — resolve civil-time daylight-saving (DST) folds or gaps and convert one local time between IANA zones.

Endpoint

POST https://schedule-tools.use.x402atlas.com/timezone-convert

3

Calls / 30d

2

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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://schedule-tools.use.x402atlas.com/timezone-convert", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "ambiguous_time": "later",
    "destination_timezone": "Europe/London",
    "local_time": "2024-11-03T01:30:00",
    "nonexistent_time": "reject",
    "source_timezone": "America/New_York"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://schedule-tools.use.x402atlas.com/timezone-convert" \
  -H "Content-Type: application/json" \
  -d '{"ambiguous_time":"later","destination_timezone":"Europe/London","local_time":"2024-11-03T01:30:00","nonexistent_time":"reject","source_timezone":"America/New_York"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "algorithm_version": "schedule-v1",
  "ambiguous_time": "later",
  "destination": {
    "abbreviation": "GMT",
    "local_time": "2024-11-03T06:30:00+00:00",
    "offset_seconds": 0,
    "timezone": "Europe/London"
  },
  "destination_timezone": "Europe/London",
  "go_toolchain_version": "go1.26.3",
  "iana_tzdata_version": "2026a",
  "input_local": "2024-11-03T01:30:00",
  "nonexistent_time": "reject",
  "operation": "timezone-convert",
  "resolved_utc": "2024-11-03T06:30:00Z",
  "source": {
    "abbreviation": "EST",
    "local_time": "2024-11-03T01:30:00-05:00",
    "offset_seconds": -18000,
    "timezone": "America/New_York"
  },
  "source_timezone": "America/New_York",
  "tzdata_source": "bridge-embedded",
  "warnings": []
}

Payment details

Pay to0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Schedule & Timezone Tools & similar services