72trust / 100

Unicode Report

by text.halowerk.com in Developer tools

x402 APIPassing, checked 7 h ago

Unicode report for a text or raw bytes: normalization forms, invisible and special characters with names and positions, NFKC changes, scripts, categories and UTF-8 validity. Checks NFC/NFD/NFKC/NFKD status, lists zero-width characters, bidi controls, format characters, variation selectors, special spaces, controls, private use, noncharacters, unassigned code points and U+FFFD with Unicode names (UnicodeData.txt 17.0.0), line and column.

POST
https://text.halowerk.com/v1/unicode-report
Price
$0.003
per call in USDC
Uptime
96.2%
last 30 days
Response time
42 ms
137 ms slowest 5%
Last check
Passed
7 h ago, next any minute now

Run a free test callHow to call it

This listing's own text contains instructions aimed at AI agents (see the security scan below). We withhold that text from agents and never recommend this service.

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://text.halowerk.com/v1/unicode-report

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

The listing's own example input is withheld: it contains instructions aimed at AI agents. Built from the input schema. Replace the values with your own.

POST https://text.halowerk.com/v1/unicode-report
content-type: application/json

{
  "bytes_base64": "example",
  "max_items": 200,
  "normalize_to": "NFC",
  "text": "example"
}

Parameters

ParameterTypeRequiredDescription
bytes_base64stringNoAlternative: raw bytes (base64) to validate as UTF-8 and analyse.
max_itemsintegerNoMaximum listed special characters. Default: 200.
normalize_tostringNoReturn the text in this normalization form. One of: NFC, NFD, NFKC, NFKD.
textstringNoText to analyse.

Example response

The provider's example. We can't check it without paying.

Example response, 102 lines
{
  "result": {
    "counts": {
      "general_category": {
        "Cf": 1,
        "Ll": 8,
        "Lu": 1,
        "Nd": 2,
        "Pe": 1,
        "Po": 1,
        "Ps": 1,
        "Sc": 1,
        "Zs": 3
      },
      "scripts": {
        "Latin": 9
      },
      "special_by_kind": {
        "special_space": 2,
        "zero_width": 1
      }
    },
    "length": {
      "code_points": 19,
      "grapheme_clusters": 19,
      "utf16_code_units": 19,
      "utf8_bytes": 28
    },
    "newlines": {
      "cr": 0,
      "crlf": 0,
      "lf": 0,
      "line_separator": 0,
      "nel": 0,
      "paragraph_separator": 0
    },
    "nfkc_changes": [
      {
        "char": " ",
        "code_point": "U+00A0",
        "name": "NO-BREAK SPACE",
        "nfkc": " ",
        "offset": 6
      },
      {
        "char": " ",
        "code_point": "U+202F",
        "name": "NARROW NO-BREAK SPACE",
        "nfkc": " ",
        "offset": 9
      },
      {
        "char": "fi",
        "code_point": "U+FB01",
        "name": "LATIN SMALL LIGATURE FI",
        "nfkc": "fi",
        "offset": 14
      }
    ],
    "normalization": {
      "is_nfc": true,
      "is_nfd": true,
      "is_nfkc": false,
      "is_nfkd": false
    },
    "special_characters": [
      {
        "category": "Zs",
        "code_point": "U+00A0",
        "column": 7,
        "kind": "special_space",
        "line": 1,
        "name": "NO-BREAK SPACE",
        "offset": 6
      },
      {
        "category": "Zs",
        "code_point": "U+202F",
        "column": 10,
        "kind": "special_space",
        "line": 1,
        "name": "NARROW NO-BREAK SPACE",
        "offset": 9
      },
      {
        "category": "Cf",
        "code_point": "U+200B",
        "column": 12,
        "kind": "zero_width",
        "line": 1,
        "name": "ZERO WIDTH SPACE",
        "offset": 11
      }
    ],
    "stacked_combining_marks": [],
    "unicode_version": "17.0",
    "unpaired_surrogates": [],
    "well_formed": true
  },
  "service": "unicode-report",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://text.halowerk.com/v1/unicode-report' \
  -H 'content-type: application/json' \
  --data-raw '{"bytes_base64":"example","max_items":200,"normalize_to":"NFC","text":"example"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://text.halowerk.com/v1/unicode-report' \
  -H 'content-type: application/json' \
  --data-raw '{"bytes_base64":"example","max_items":200,"normalize_to":"NFC","text":"example"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode

We don't show code that pays this service: its listing contains instructions aimed at AI agents.

Security scan

1 finding

  • Invisible Unicode characters in example_input
    {"text":"Preis: 10 €[U+200B] (final)"}

Recent checks

WhenResultHTTPTimePrice
7 h agoPassed40240 ms$0.003
17 h agoPassed402155 ms$0.003
28 h agoPassed402126 ms$0.003
37 h agoPassed40241 ms$0.003
2 days agoPassed40244 ms$0.003
Show 10 older checks
3 days agoPassed40238 ms$0.003
5 days agoTimed out---
6 days agoPassed40239 ms$0.003
6 days agoPassed40242 ms$0.003
7 days agoPassed40240 ms$0.003
7 days agoPassed40239 ms$0.003
7 days agoPassed40243 ms$0.003
8 days agoPassed40245 ms$0.003
8 days agoPassed40240 ms$0.003
8 days agoPassed402128 ms$0.003