Skip to content
HALOWERK

Text Tools

iana language legacy whole tag

Legacy language tag lookup checks a whole grandfathered or redundant tag and returns its registered preferred form. Use it when an agent needs whole-tag exceptions before subtag processing.

POST https://text.halowerk.com/v1/iana-language-legacy-whole-tag

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tagstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "tag": {
      "type": "string",
      "maxLength": 65,
      "minLength": 1
    }
  },
  "required": [
    "tag"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "tag": "i-klingon"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "registered": {
          "type": "boolean"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "preferred": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "registered",
        "type",
        "preferred"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →