Skip to content
HALOWERK

Text Tools

iana language macrolanguage members

Macrolanguage lookup lists active language entries that name the supplied code as their macrolanguage. Use it when an agent needs the registered member languages of a broader code.

POST https://text.halowerk.com/v1/iana-language-macrolanguage-members

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
languagestringYes
limitintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    }
  },
  "required": [
    "language"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "language": "zh",
  "limit": 2
}

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": {
        "total": {
          "type": "integer"
        },
        "members": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "total",
        "members"
      ]
    },
    "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 →