Api Endpoint

Timezone Converter

Timezone converter: convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant. Returns the local date and time, the UTC offset in ±HH:MM and seconds, the zone abbreviation, whether DST is in effect, the ISO week date, and the day of year. Handles the ambiguous and skipped local times at DST boundaries explicitly rather than guessing.

Open interactive test console

Offering

Provider
api.duoleads.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.duoleads.com/v1/time/zone
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
timezone, time-zone, timezone-converter, Timezones, Time

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39"
  }
]

Observed health

Status
Healthy
Latest latency
49 ms
Average latency
649 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "zone": {
          "type": "string",
          "description": "IANA time zone id, e.g. Europe/Amsterdam.",
          "maxLength": 64
        },
        "instant": {
          "type": "string",
          "description": "RFC 3339 timestamp or integer Unix seconds/milliseconds. Defaults to now. Mutually exclusive with local.",
          "maxLength": 64
        },
        "local": {
          "type": "string",
          "description": "Wall-clock time YYYY-MM-DDTHH:MM[:SS] in zone, converted back to an instant. Mutually exclusive with instant.",
          "maxLength": 64
        },
        "ambiguous": {
          "type": "string",
          "description": "Only with local: which instant a repeated local time maps to. Default earlier.",
          "enum": [
            "earlier",
            "later",
            "reject"
          ],
          "maxLength": 64
        }
      },
      "required": [
        "zone"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "ambiguous": {
              "description": "Only with local: which instant a repeated local time maps to. Default earlier.",
              "enum": [
                "earlier",
                "later",
                "reject"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "instant": {
              "description": "RFC 3339 timestamp or integer Unix seconds/milliseconds. Defaults to now. Mutually exclusive with local.",
              "maxLength": 64,
              "type": "string"
            },
            "local": {
              "description": "Wall-clock time YYYY-MM-DDTHH:MM[:SS] in zone, converted back to an instant. Mutually exclusive with instant.",
              "maxLength": 64,
              "type": "string"
            },
            "zone": {
              "description": "IANA time zone id, e.g. Europe/Amsterdam.",
              "maxLength": 64,
              "type": "string"
            }
          },
          "required": [
            "zone"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "abbreviation": {
                  "type": "string"
                },
                "ambiguity": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "day_of_year": {
                  "type": "integer"
                },
                "dst": {
                  "type": "boolean"
                },
                "epoch_ms": {
                  "type": "integer"
                },
                "gap": {
                  "type": "boolean"
                },
                "instant": {
                  "type": "string"
                },
                "iso_week": {
                  "properties": {
                    "week": {
                      "type": "integer"
                    },
                    "weekday": {
                      "type": "integer"
                    },
                    "year": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "year",
                    "week",
                    "weekday"
                  ],
                  "type": "object"
                },
                "local": {
                  "type": "string"
                },
                "offset": {
                  "type": "string"
                },
                "offset_seconds": {
                  "type": "integer"
                },
                "resolution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "weekday": {
                  "type": "string"
                },
                "zone": {
                  "type": "string"
                }
              },
              "required": [
                "zone",
                "instant",
                "epoch_ms",
                "local",
                "offset",
                "offset_seconds",
                "abbreviation",
                "dst",
                "weekday",
                "iso_week",
                "day_of_year",
                "ambiguity",
                "resolution"
              ],
              "type": "object"
            },
            "meta": {
              "properties": {
                "computed_at": {
                  "description": "RFC 3339 UTC with milliseconds",
                  "type": "string"
                },
                "deterministic": {
                  "type": "boolean"
                },
                "disclaimer": {
                  "type": "string"
                },
                "price_usd": {
                  "type": "string"
                },
                "request_id": {
                  "type": "string"
                },
                "sources": {
                  "items": {
                    "required": [
                      "id",
                      "version",
                      "published"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "request_id",
                "computed_at",
                "price_usd",
                "deterministic",
                "disclaimer"
              ],
              "type": "object"
            },
            "ok": {
              "const": true
            },
            "route": {
              "const": "/v1/time/zone"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "ok",
            "route",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}