Data Timezone Convert
by API Acre in Documents & files
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.
https://apiacre.com/v1/data/timezone-convert- Price
- $0.001
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 196 ms
- 264 ms slowest 5%
- Last check
- Passed
- 1 h ago, next any minute now
Reliability
How to call it
POST https://apiacre.com/v1/data/timezone-convert
Each call costs $0.001 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://apiacre.com/v1/data/timezone-convert
content-type: application/json
{
"ambiguous_time": "later",
"include_transitions": true,
"source_timezone": "America/New_York",
"target_timezone": "Europe/London",
"timestamp": "2026-11-01T01:30:00"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ambiguous_time | string | No | One of: reject, earlier, later. |
include_transitions | boolean | No | |
source_timezone | string or null | No | |
target_timezone | string | Yes | |
timestamp | string | Yes |
Example response
The provider's example. We can't check it without paying.
Example response, 84 lines
{
"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"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://apiacre.com/v1/data/timezone-convert' \
-H 'content-type: application/json' \
--data-raw '{"ambiguous_time":"later","include_transitions":true,"source_timezone":"America/New_York","target_timezone":"Europe/London","timestamp":"2026-11-01T01:30:00"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://apiacre.com/v1/data/timezone-convert' \
-H 'content-type: application/json' \
--data-raw '{"ambiguous_time":"later","include_transitions":true,"source_timezone":"America/New_York","target_timezone":"Europe/London","timestamp":"2026-11-01T01:30:00"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapiacre.com%2Fv1%2Fdata%2Ftimezone-convert&method=POST
const res = await pay("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"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://apiacre.com/v1/data/timezone-convert",
json={
"ambiguous_time": "later",
"include_transitions": True,
"source_timezone": "America/New_York",
"target_timezone": "Europe/London",
"timestamp": "2026-11-01T01:30:00",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 81 ms | $0.001 |
| 5 h ago | Passed | 402 | 164 ms | $0.001 |
| 10 h ago | Passed | 402 | 248 ms | $0.001 |
| 14 h ago | Passed | 402 | 279 ms | $0.001 |
| 18 h ago | Passed | 402 | 206 ms | $0.001 |
Show 10 older checks
| 22 h ago | Passed | 402 | 83 ms | $0.001 |
| 26 h ago | Passed | 402 | 163 ms | $0.001 |
| 30 h ago | Passed | 402 | 150 ms | $0.001 |
| 33 h ago | Passed | 402 | 264 ms | $0.001 |
| 37 h ago | Passed | 402 | 196 ms | $0.001 |
| 41 h ago | Passed | 402 | 233 ms | $0.001 |
| 44 h ago | Passed | 402 | 214 ms | $0.001 |
| 2 days ago | Passed | 402 | 210 ms | $0.001 |
| 2 days ago | Passed | 402 | 167 ms | $0.001 |
| 2 days ago | Passed | 402 | 175 ms | $0.001 |