IANA timezone conversion
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
https://apiacre.com/v1/data/timezone-convertSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Official Coinbase agent path
Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.001 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.
npx --yes awal@latest x402 pay https://apiacre.com/v1/data/timezone-convert \
-X POST \
-d '{"timestamp":"2026-11-01T01:30:00","source_timezone":"America/New_York","target_timezone":"Europe/London","ambiguous_time":"later","include_transitions":true}' \
--max-amount 1000 \
--jsonCoinbase pay-for-service documentation · Buyer setup and wallet safety
Alternative third-party AgentCash commands
Run check first without payment. Its fetch command may automatically pay up to the exact listed price.
npx --yes agentcash@latest check https://apiacre.com/v1/data/timezone-convert
npx --yes agentcash@latest fetch https://apiacre.com/v1/data/timezone-convert \
--method POST \
--header 'content-type: application/json' \
--body '{"timestamp":"2026-11-01T01:30:00","source_timezone":"America/New_York","target_timezone":"Europe/London","ambiguous_time":"later","include_transitions":true}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.001Input example
{
"timestamp": "2026-11-01T01:30:00",
"source_timezone": "America/New_York",
"target_timezone": "Europe/London",
"ambiguous_time": "later",
"include_transitions": true
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.timezone-convert",
"version": "1",
"data": {
"input": {
"timestamp": "2026-11-01T01:30:00",
"offsetAware": false,
"inputOffset": null,
"sourceTimezone": "America/New_York",
"targetTimezone": "Europe/London",
"ambiguousTime": "later"
},
"interpretation": {
"status": "ambiguous_later",
"disambiguationApplied": "later"
},
"instant": {
"utc": "2026-11-01T06:30:00Z",
"unixSeconds": 1793514600,
"unixMilliseconds": 1793514600000
},
"source": {
"timezone": "America/New_York",
"isIana": true,
"localTime": "2026-11-01T01:30:00-05:00",
"utcOffset": "-05:00",
"utcOffsetSeconds": -18000,
"abbreviation": "EST",
"isDst": false,
"dstOffsetSeconds": 0,
"fold": 1
},
"target": {
"timezone": "Europe/London",
"isIana": true,
"localTime": "2026-11-01T06:30:00Z",
"utcOffset": "+00:00",
"utcOffsetSeconds": 0,
"abbreviation": "GMT",
"isDst": false,
"dstOffsetSeconds": 0,
"fold": 0
},
"offsetDifferenceSeconds": 18000,
"transitions": {
"source": {
"previous": {
"atUtc": "2026-11-01T06:00:00Z",
"localBefore": "2026-11-01T01:59:59-04:00",
"localAfter": "2026-11-01T01:00:00-05:00",
"offsetBeforeSeconds": -14400,
"offsetAfterSeconds": -18000,
"changeSeconds": -3600
},
"next": {
"atUtc": "2027-03-14T07:00:00Z",
"localBefore": "2027-03-14T01:59:59-05:00",
"localAfter": "2027-03-14T03:00:00-04:00",
"offsetBeforeSeconds": -18000,
"offsetAfterSeconds": -14400,
"changeSeconds": 3600
}
},
"target": {
"previous": {
"atUtc": "2026-10-25T01:00:00Z",
"localBefore": "2026-10-25T01:59:59+01:00",
"localAfter": "2026-10-25T01:00:00Z",
"offsetBeforeSeconds": 3600,
"offsetAfterSeconds": 0,
"changeSeconds": -3600
},
"next": {
"atUtc": "2027-03-28T01:00:00Z",
"localBefore": "2027-03-28T00:59:59Z",
"localAfter": "2027-03-28T02:00:00+01:00",
"offsetBeforeSeconds": 0,
"offsetAfterSeconds": 3600,
"changeSeconds": 3600
}
}
},
"database": {
"provider": "IANA Time Zone Database",
"ianaRelease": "2026c",
"tzdataPackageVersion": "2026.3",
"databaseUrl": "https://www.iana.org/time-zones",
"databaseLicenseUrl": "https://github.com/eggert/tz/blob/main/LICENSE",
"packageUrl": "https://github.com/python/tzdata",
"packageLicenseUrl": "https://github.com/python/tzdata/blob/master/LICENSE",
"license": "IANA tzdb is public domain or BSD licensed; Python tzdata is Apache-2.0.",
"upstreamAccess": "none; conversion uses the bundled pinned tzdata package"
},
"limitations": [
"IANA time zones represent civil-time rules for representative locations, not geographic boundary lookup from coordinates.",
"Governments can change future offset and daylight-saving rules with little notice; inspect the returned database release.",
"Leap seconds are not represented by Python datetime or this result.",
"Naive nonexistent local times are rejected, and repeated local times require an explicit earlier or later choice."
]
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/data/timezone-convert' \
-H 'content-type: application/json' \
--data '{"timestamp":"2026-11-01T01:30:00","source_timezone":"America/New_York","target_timezone":"Europe/London","ambiguous_time":"later","include_transitions":true}'