Skip to content
HALOWERK

Text Tools

cldr measure road distance display

Regional unit road distance returns the local unit, scaled distance and any specified rounding increment. Use it when an agent needs distance labels for road information.

POST https://text.halowerk.com/v1/cldr-measure-road-distance-display

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
regionstringYes
metersnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "region": {
      "type": "string",
      "maxLength": 5,
      "minLength": 1
    },
    "meters": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000000
    }
  },
  "required": [
    "region",
    "meters"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "region": "US",
  "meters": 70
}

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": {
        "unit": {
          "type": "string"
        },
        "amount": {
          "type": "number"
        },
        "increment": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "unit",
        "amount",
        "increment"
      ]
    },
    "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 →