Skip to content
HALOWERK

Text Tools

html meter optimum zone

Web page meter quality classifies a reading relative to its low, high and optimum regions. Use it when an agent needs the meaning of an HTML gauge without relying on color.

POST https://text.halowerk.com/v1/html-meter-optimum-zone

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
htmlstringNo
urlstringNo
reuse_licenseSee schemaNo
indexintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "maxLength": 16000,
      "minLength": 1
    },
    "url": {
      "type": "string",
      "maxLength": 800,
      "minLength": 1
    },
    "reuse_license": {
      "enum": [
        "CC0",
        "CC-BY-4.0",
        "public-domain",
        "own-content"
      ]
    },
    "index": {
      "type": "integer",
      "minimum": 0,
      "maximum": 199
    }
  },
  "required": [
    "index"
  ],
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "html"
      ]
    },
    {
      "required": [
        "url"
      ]
    }
  ]
}

Open original schema

Published input example

{
  "html": "<meter min=\"0\" max=\"8\" low=\"2\" high=\"6\" optimum=\"8\" value=\"5\">5 of 8</meter>",
  "index": 0
}

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": {
        "region": {
          "type": "string"
        },
        "optimum_region": {
          "type": "string"
        },
        "quality": {
          "type": "string"
        }
      },
      "required": [
        "region",
        "optimum_region",
        "quality"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →