Skip to content
HALOWERK

Text Tools

iana language private range membership

Language registry ranges check whether a language, script or region code falls inside an explicitly registered private-use interval. Use it when an agent needs a boundary check before exchanging locale codes.

POST https://text.halowerk.com/v1/iana-language-private-range-membership

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
typeSee schemaYes
subtagstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "type": {
      "enum": [
        "language",
        "region",
        "script"
      ]
    },
    "subtag": {
      "type": "string",
      "maxLength": 12,
      "minLength": 1
    }
  },
  "required": [
    "type",
    "subtag"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "type": "language",
  "subtag": "qaa"
}

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": {
        "in_range": {
          "type": "boolean"
        },
        "interval": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "in_range",
        "interval"
      ]
    },
    "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 →