---
title: "IANA timezone conversion"
method: POST
path: "/v1/data/timezone-convert"
tags: ["data"]
---

# IANA timezone conversion

`POST /v1/data/timezone-convert`

## Request

- Base URL: `https://apiacre.com`
- URL: `https://apiacre.com/v1/data/timezone-convert`
- Auth: none required

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.

Price: **$0.001 USDC** via x402 exact payment on Base and Solana.

## Request body

- TimezoneConvertInput
  - `timestamp` string, required: ISO 8601 timestamp. Include Z or an offset for an exact instant, or provide a naive local timestamp together with source_timezone.
  - `target_timezone` string, required: Target IANA time-zone name, for example Europe/London
  - `source_timezone` string, nullable: Required for a timestamp without an offset; optional source display zone for an offset-aware timestamp
  - `ambiguous_time` 'reject' | 'earlier' | 'later': How to resolve a repeated local wall time during a backward DST transition; nonexistent spring-forward times are always rejected
  - `include_transitions` boolean: Include previous and next offset transitions within 370 days

## Response `200`

Successful Response

- ServiceResponse
  - `request_id` string, required
  - `service` string, required
  - `version` string
  - `data` object, required
  - `meta` ServiceMeta, required
    - `duration_ms` integer, required
    - `cached` boolean
    - `sources` string[]
    - `warnings` string[]
    - `next_actions` ServiceNextAction[]
      - `service` string, required
      - `title` string, required
      - `reason` string, required
      - `method` 'POST'
      - `path` string, required
      - `price` string, required
      - `input_template` object, required
      - `use_output` string, required
      - `handoff_path` string, required
      - `checkout_path` string, required
      - `sample_path` string, nullable, required
      - `maximum_atomic_usdc` string, required
      - `handoff_payment_required` false
      - `executes_automatically` false
      - `authorization_required` boolean

## Other responses

- `402`: Payment Required. Decode PAYMENT-REQUIRED, satisfy the x402 requirement, and retry with PAYMENT-SIGNATURE.
- `422`: Validation Error

---

[API](https://skmtc.dev/apiacre/apis/api-acre.md) · [All operations](https://skmtc.dev/apiacre/apis/api-acre/llms.txt) · [OpenAPI document](https://skmtc.dev/apiacre/apis/api-acre/revisions/0ba942b920ad?raw)
