77trust / 100

Easy Language Check

by text.halowerk.com in Search & web

x402 APIPassing, checked 2 h ago

Check a German text against the rules of the Netzwerk Leichte Sprache (2022 edition): sentence length, passive, negation, subjunctive, numbers, abbreviations, special characters and more.

POST
https://text.halowerk.com/v1/easy-language-check
Price
$0.003
per call in USDC
Uptime
96.3%
last 30 days
Response time
43 ms
183 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

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/easy-language-check

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

From the listing.

POST https://text.halowerk.com/v1/easy-language-check
content-type: application/json

{
  "text": "Der Antrag wird von der Behörde genehmigt, weil die Unterlagen vollständig sind.\nDas ist z. B. nicht unwichtig."
}

Parameters

ParameterTypeRequiredDescription
allowed_abbreviationsarray of stringNo
long_word_lettersintegerNo Default: 12.
max_sentence_wordsintegerNo Default: 12.
reference_yearintegerNo
textstringYes

Example response

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

Example response, 172 lines
{
  "limitations": [
    "Heuristic checks; they point to passages a trained translator and reviewers should look at, they do not certify Leichte Sprache.",
    "Only reviewers from the target group can confirm that a text is easy to understand (rule P1)."
  ],
  "result": {
    "findings": [
      {
        "excerpt": "Der Antrag wird von der Behörde genehmigt, weil die Unterlage…",
        "match": "wird von der Behörde genehmigt",
        "offset": 11,
        "participle": "genehmigt",
        "rule": "W8",
        "rule_text": "Use active voice.",
        "severity": "hint"
      },
      {
        "alternatives": [
          "erlauben",
          "tun lassen"
        ],
        "categories": [
          "administrative"
        ],
        "excerpt": "…ird von der Behörde genehmigt, weil die Unterlage…",
        "labels": [
          "Amtsdeutsch"
        ],
        "match": "genehmigt",
        "offset": 32,
        "rule": "W1",
        "rule_text": "Use simple words.",
        "severity": "hint",
        "source": "OpenThesaurus"
      },
      {
        "excerpt": "…er Behörde genehmigt, weil die Unterlagen vollständig sind. Das i…",
        "match": ", weil die Unterlagen vol",
        "offset": 41,
        "rule": "S4",
        "rule_text": "Split long sentences; avoid subordinate clauses.",
        "severity": "hint"
      },
      {
        "excerpt": "…ändig sind. Das ist z. B. nicht unwichtig.",
        "match": "z. B.",
        "offset": 89,
        "rule": "W6",
        "rule_text": "Avoid abbreviations.",
        "severity": "hint"
      },
      {
        "excerpt": "…sind. Das ist z. B. nicht unwichtig.",
        "kind": "double negation",
        "match": "nicht unwichtig",
        "offset": 95,
        "rule": "W11",
        "rule_text": "Prefer positive wording; avoid negation.",
        "severity": "warning"
      },
      {
        "excerpt": null,
        "match": null,
        "note": "No direct address (Sie/du) found.",
        "offset": null,
        "rule": "T1",
        "rule_text": "Address readers personally.",
        "severity": "info"
      }
    ],
    "rulebook": {
      "edition": "Neuauflage 2022",
      "publisher": "Netzwerk Leichte Sprache e.V.",
      "title": "Die Regeln für Leichte Sprache",
      "url": "https://www.netzwerk-leichte-sprache.de/fileadmin/content/documents/regeln/Regelwerk_NLS_Neuauflage-2022.pdf"
    },
    "rules_checked": [
      "W1",
      "W3",
      "W5",
      "W6",
      "W7",
      "W8",
      "W9",
      "W10",
      "W11",
      "W12",
      "Z1",
      "Z2",
      "Z3",
      "Z4",
      "Z5",
      "Z9",
      "S1",
      "S4",
      "T1",
      "T2"
    ],
    "rules_not_checked": [
      {
        "reason": "Requires semantic judgement (precise vs. vague wording).",
        "rule": "W2"
      },
      {
        "reason": "Requires knowing which words refer to the same thing.",
        "rule": "W4"
      },
      {
        "reason": "The rulebook leaves time formats to the reviewers.",
        "rule": "Z6"
      },
      {
        "reason": "The rulebook leaves time expressions to the reviewers.",
        "rule": "Z7"
      },
      {
        "reason": "Telephone numbers are deliberately not processed.",
        "rule": "Z8"
      },
      {
        "reason": "Word order needs a syntactic parser.",
        "rule": "S2"
      },
      {
        "reason": "Permission rule, nothing to check.",
        "rule": "S3"
      },
      {
        "reason": "Editorial permission rule, nothing to check.",
        "rule": "T4"
      },
      {
        "reason": "Layout, fonts and images are not visible in plain text.",
        "rule": "G1-G4, G6-G17"
      },
      {
        "reason": "Review by people with learning difficulties cannot be automated.",
        "rule": "P1"
      }
    ],
    "summary": {
      "by_rule": {
        "S4": 1,
        "T1": 1,
        "W1": 1,
        "W11": 1,
        "W6": 1,
        "W8": 1
      },
      "findings": 6,
      "findings_per_100_words": 33.33,
      "sentences": 2,
      "words": 18
    },
    "thresholds": {
      "long_word_letters": {
        "basis": "service default; the rulebook (W5) gives no number",
        "value": 12
      },
      "max_sentence_words": {
        "basis": "service default; the rulebook (S1) gives no number",
        "value": 12
      },
      "old_year": {
        "basis": "more than 100 years before the reference year (rulebook example: 1867 -> \"more than 100 years ago\")",
        "before": 1926
      }
    }
  },
  "service": "easy-language-check",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

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/easy-language-check' \
  -H 'content-type: application/json' \
  --data-raw '{"text":"Der Antrag wird von der Beh\u00f6rde genehmigt, weil die Unterlagen vollst\u00e4ndig sind.\nDas ist z. B. nicht unwichtig."}'

# 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/easy-language-check' \
  -H 'content-type: application/json' \
  --data-raw '{"text":"Der Antrag wird von der Beh\u00f6rde genehmigt, weil die Unterlagen vollst\u00e4ndig sind.\nDas ist z. B. nicht unwichtig."}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftext.halowerk.com%2Fv1%2Feasy-language-check&method=POST
const res = await pay("https://text.halowerk.com/v1/easy-language-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "text": "Der Antrag wird von der Beh\u00f6rde genehmigt, weil die Unterlagen vollst\u00e4ndig sind.\nDas ist z. B. nicht unwichtig."
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://text.halowerk.com/v1/easy-language-check",
        json={
            "text": "Der Antrag wird von der Beh\u00f6rde genehmigt, weil die Unterlagen vollst\u00e4ndig sind.\nDas ist z. B. nicht unwichtig.",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40239 ms$0.003
12 h agoPassed40243 ms$0.003
22 h agoPassed40240 ms$0.003
32 h agoPassed40242 ms$0.003
43 h agoPassed40242 ms$0.003
Show 10 older checks
2 days agoPassed40251 ms$0.003
4 days agoTimed out---
6 days agoPassed402120 ms$0.003
6 days agoPassed402128 ms$0.003
6 days agoPassed40240 ms$0.003
7 days agoPassed40241 ms$0.003
7 days agoPassed402131 ms$0.003
8 days agoPassed40247 ms$0.003
8 days agoPassed402156 ms$0.003
8 days agoPassed402210 ms$0.003