{
  "x402Version": 2,
  "id": 5214,
  "slug": "5214",
  "resource": "https://x402.agentutility.ai/timezone-convert",
  "description": "Converts a datetime from one IANA timezone to another with correct DST handling. ISO-8601 input: bare wall-time strings are interpreted in the from_tz, fully-qualified offsets are honored. DST is handled correctly (uses V8's built-in tzdata via Intl.DateTimeFormat). Returns both formatted strings, both UTC offsets, and the difference in hours. Use it for DST-aware time arithmetic, wall-clock to UTC conversion, or converting across cities.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "datetime": "2026-05-08T12:00:00",
            "from_tz": "America/Los_Angeles",
            "to_tz": "Asia/Tokyo"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "from": {
              "datetime": "2026-05-08T12:00:00-07:00",
              "tz": "America/Los_Angeles",
              "utc_offset_minutes": -420
            },
            "source": "Intl.DateTimeFormat (built-in, IANA tzdata)",
            "to": {
              "datetime": "2026-05-09T04:00:00+09:00",
              "tz": "Asia/Tokyo",
              "utc_offset_minutes": 540
            },
            "utc_iso": "2026-05-08T19:00:00.000Z",
            "utc_offset_diff_hours": 16
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "datetime": {
                    "description": "ISO-8601 datetime. With offset (e.g. '2026-05-08T12:00:00-07:00') it's used as-is; without offset (e.g. '2026-05-08T12:00:00') it's interpreted in from_tz.",
                    "type": "string"
                  },
                  "from_tz": {
                    "description": "IANA timezone for the input wall-time (e.g. 'America/Los_Angeles').",
                    "type": "string"
                  },
                  "to_tz": {
                    "description": "IANA timezone for the output (e.g. 'Asia/Tokyo').",
                    "type": "string"
                  }
                },
                "required": [
                  "datetime",
                  "from_tz",
                  "to_tz"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "from": {
                    "properties": {
                      "datetime": {
                        "type": "string"
                      },
                      "tz": {
                        "type": "string"
                      },
                      "utc_offset_minutes": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "source": {
                    "type": "string"
                  },
                  "to": {
                    "properties": {
                      "datetime": {
                        "type": "string"
                      },
                      "tz": {
                        "type": "string"
                      },
                      "utc_offset_minutes": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "utc_iso": {
                    "type": "string"
                  },
                  "utc_offset_diff_hours": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_awpbwsy3"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-09-16T16:37:22.745Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T16:37:22.561Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}