API Acre · Data Timezone Convert

by API Acre

POSTBaseSolana

$0.001

per call · USD Coin on Base

Convert an offset-aware ISO 8601 instant or a local wall time between IANA time zones with explicit DST gap and repeated-hour handling, nearby transition evidence, and a pinned local time-zone database.

Endpoint

POST https://apiacre.com/v1/data/timezone-convert

2

Calls / 30d

1

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://apiacre.com/v1/data/timezone-convert", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "ambiguous_time": "later",
    "include_transitions": true,
    "source_timezone": "America/New_York",
    "target_timezone": "Europe/London",
    "timestamp": "2026-11-01T01:30:00"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://apiacre.com/v1/data/timezone-convert" \
  -H "Content-Type: application/json" \
  -d '{"ambiguous_time":"later","include_transitions":true,"source_timezone":"America/New_York","target_timezone":"Europe/London","timestamp":"2026-11-01T01:30:00"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "database": {
      "databaseUrl": "https://www.iana.org/time-zones",
      "ianaRelease": "2026c",
      "provider": "IANA Time Zone Database",
      "tzdataPackageVersion": "2026.3"
    },
    "input": {
      "inputOffset": null,
      "offsetAware": false,
      "sourceTimezone": "America/New_York",
      "timestamp": "2026-11-01T01:30:00"
    },
    "instant": {
      "unixMilliseconds": 1793514600000,
      "unixSeconds": 1793514600,
      "utc": "2026-11-01T06:30:00Z"
    },
    "interpretation": {
      "disambiguationApplied": "later",
      "status": "ambiguous_later"
    },
    "limitations": [
      "IANA time zones represent civil-time rules for representa...",
      "Governments can change future offset and daylight-saving ...",
      "Leap seconds are not represented by Python datetime or th...",
      "Naive nonexistent local times are rejected, and repeated ..."
    ],
    "offsetDifferenceSeconds": 18000,
    "source": {
      "isIana": true,
      "localTime": "2026-11-01T01:30:00-05:00",
      "timezone": "America/New_York",
      "utcOffset": "-05:00"
    },
    "target": {
      "isIana": true,
      "localTime": "2026-11-01T06:30:00Z",
      "timezone": "Europe/London",
      "utcOffset": "+00:00"
    },
    "transitions": {
      "source": {
        "next": {
          "atUtc": "2027-03-14T07:00:00Z",
          "localAfter": "2027-03-14T03:00:00-04:00",
          "localBefore": "2027-03-14T01:59:59-05:00",
          "offsetBeforeSeconds": -18000
        },
        "previous": {
          "atUtc": "2026-11-01T06:00:00Z",
          "localAfter": "2026-11-01T01:00:00-05:00",
          "localBefore": "2026-11-01T01:59:59-04:00",
          "offsetBeforeSeconds": -14400
        }
      },
      "target": {
        "next": {
          "atUtc": "2027-03-28T01:00:00Z",
          "localAfter": "2027-03-28T02:00:00+01:00",
          "localBefore": "2027-03-28T00:59:59Z",
          "offsetBeforeSeconds": 0
        },
        "previous": {
          "atUtc": "2026-10-25T01:00:00Z",
          "localAfter": "2026-10-25T01:00:00Z",
          "localBefore": "2026-10-25T01:59:59+01:00",
          "offsetBeforeSeconds": 3600
        }
      }
    }
  },
  "meta": {
    "cached": false,
    "duration_ms": 42,
    "next_actions": [],
    "sources": [],
    "warnings": []
  },
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "data.timezone-convert",
  "version": "1"
}

Payment details

Pay to0xa0bfa4f07281c9b248dc3aed2217836bca24869b
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from API Acre & similar services