Skip to content
HALOWERK

Textwerk

unit parse

Reads numbers in German format (comma decimal, dot or space thousands, Swiss apostrophe; decimal=point for English), unicode fractions and simple fractions, ranges (10-20 kg, 10 bis 20 kg), tolerances (5 ± 0,1 mm) and dimension chains with x or ×. About 100 unit spellings in 16 quantity kinds are converted with exact factors: SI Brochure 9th ed. incl. Table 8 (ha, l, t, min, h, d, nautical mile), international inch/foot/pound (1959), PS = 735.49875 W, bar = 100 kPa (Directive 80/181/EEC),.

POST https://text.halowerk.com/v1/unit-parse

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
decimalstringNocomma: German format 1.234,5 (default); point: English format 1,234.5.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 5000
    },
    "decimal": {
      "type": "string",
      "enum": [
        "comma",
        "point"
      ],
      "default": "comma",
      "description": "comma: German format 1.234,5 (default); point: English format 1,234.5."
    }
  }
}

Open original schema

Published input example

{
  "text": "Der Tisch misst 120 x 80 cm, die Platte ist 2,5 cm dick."
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →