ToolAssay

Format numbers, currencies, percentages, dates, units, lists and relative times

Format numbers, currencies, percentages, dates, units, lists and relative times for up to 20 locales with CLDR data, and return each locale’s separators, currency placement, first weekday and hour cycle.

Answeringour last check, 2026-11-27
7 of 7checks answered this week
1182 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://text.halowerk.com/v1/locale-format

CategoryEverything else
Provider hosttext.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.002 1170 ms
2026-11-26 valid payment request 402$0.002 1173 ms
2026-11-25 valid payment request 402$0.002 1338 ms
2026-11-24 valid payment request 402$0.002 1202 ms
2026-11-23 valid payment request 402$0.002 1182 ms
2026-11-22 valid payment request 402$0.002 1177 ms
2026-11-21 valid payment request 402$0.002 1183 ms

Example input (from the provider)

{
  "body": {
    "currency": {
      "amount": 1234.5,
      "code": "EUR"
    },
    "date": "2026-10-31T12:00:00Z",
    "locales": [
      "de-DE",
      "en-US",
      "fr-FR"
    ],
    "number": 1234567.891,
    "time_zone": "Europe/Berlin"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "currency": {
              "additionalProperties": false,
              "properties": {
                "amount": {
                  "type": "number"
                },
                "code": {
                  "pattern": "^[A-Z]{3}$",
                  "type": "string"
                }
              },
              "required": [
                "amount",
                "code"
              ],
              "type": "object"
            },
            "date": {
              "maxLength": 40,
              "type": "string"
            },
            "date_style": {
              "default": "medium",
              "enum": [
                "full",
                "long",
                "medium",
                "short"
              ],
              "type": "string"
            },
            "list": {
              "items": {
                "maxLength": 200,
                "type": "string"
              },
              "maxItems": 50,
              "type": "array"
            },
            "locales": {
              "items": {
                "maxLength": 35,
                "type": "string"
              },
              "maxItems": 20,
              "minItems": 1,
              "type": "array"
            },
            "number": {
              "type": "number"
            },
            "percent": {
              "type": "number"
            },
            "relative": {
              "additionalProperties": false,
              "properties": {
                "unit": {
                  "enum": [
                    "second",
                    "minute",
                    "hour",
                    "day",
                    "week",
                    "month",
                    "quarter",
                    "year"
                  ],
                  "type": "string"
                },
                "value": {
                  "type": "number"
                }
              },
              "required": [
                "value",
                "unit"
              ],
              "type": "object"
            },
            "time_zone": {
              "default": "UTC",
              "maxLength": 60,
              "type": "string"
            },
            "unit": {
              "additionalProperties": false,
              "properties": {
                "unit": {
                  "maxLength": 40,
                  "type": "string"
                },
                "value": {
                  "type": "number"
                }
              },
              "required": [
                "value",
                "unit"
              ],
              "type": "object"
            }
          },
          "required": [
            "locales"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON