77trust / 100

Readability De

by text.halowerk.com in Search & web

x402 APIPassing, checked 3 h ago

German readability scores: Flesch reading ease after Amstad and all four Wiener Sachtextformel variants, with sentence, word and syllable counts. Splits the text into sentences (LanguageTool SRX rules for German, LGPL-2.1, abbreviations and ordinals handled), counts words, letters and syllables and computes Flesch-Amstad (FRE = 180 - ASL - 58.5 x ASW; Amstad 1978) and the four Wiener Sachtextformeln of Bamberger/Vanecek (1984) with their inputs MS, SL, IW and ES.

POST
https://text.halowerk.com/v1/readability-de
Price
$0.003
per call in USDC
Uptime
96.2%
last 30 days
Response time
48 ms
143 ms slowest 5%
Last check
Passed
3 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/readability-de

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/readability-de
content-type: application/json

{
  "text": "Alle meine Entchen schwimmen auf dem See, Köpfchen unters Wasser, Schwänzchen in die Höh."
}

Parameters

ParameterTypeRequiredDescription
include_wordsbooleanNo Default: false.
textstringYes

Example response

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

Example response, 61 lines
{
  "limitations": [
    "Readability formulas measure word and sentence length only, not content, structure or reader knowledge.",
    "Automatic syllable counting deviates for some loanwords and -ie/-ien endings.",
    "Numbers, symbols and URLs are not counted as words."
  ],
  "result": {
    "averages": {
      "letters_per_word": 5.2143,
      "syllables_per_word": 1.5714,
      "words_per_sentence": 14
    },
    "counts": {
      "letters": 73,
      "numbers_not_counted": 0,
      "sentences": 1,
      "syllables": 22,
      "words": 14,
      "words_1_syllable": 6,
      "words_3plus_syllables": 0,
      "words_over_6_letters": 4
    },
    "flesch_amstad": {
      "band": "fairly easy",
      "formula": "FRE = 180 - ASL - 58.5 * ASW",
      "score": 74.07,
      "score_clamped": 74.07,
      "source": "Amstad, T. (1978): Wie verständlich sind unsere Zeitungen? Dissertation, Universität Zürich"
    },
    "language": "de",
    "longest_sentences": [
      {
        "text": "Alle meine Entchen schwimmen auf dem See, Köpfchen unters Wasser, Schwänzchen in die Höh.",
        "words": 14
      }
    ],
    "syllable_method": "Syllables as in slow speech (official German orthography rules, section 107): hyphenation points from the Liang/TeX patterns de-1996 (Deutschsprachige Trennmustermannschaft, MIT licence, via npm package hyphen 1.14.1), plus vowel-nucleus counting inside each segment (diphthongs ai/au/äu/ei/eu/ey/ay, ie, aa/ee/oo, ou, oi as one nucleus; -een plurals as two) so that single-vowel syllables that are never separated in print (A-bend, I-de-en) are counted. Vowel-free acronyms are spelled out (BGB = 3). Numbers are not counted as words.",
    "wiener_sachtextformel": {
      "formulas": {
        "wstf1": "0.1935*MS + 0.1672*SL + 0.1297*IW - 0.0327*ES - 0.875",
        "wstf2": "0.2007*MS + 0.1682*SL + 0.1373*IW - 2.779",
        "wstf3": "0.2963*MS + 0.1905*SL - 1.1144",
        "wstf4": "0.2744*MS + 0.2656*SL - 1.693"
      },
      "inputs": {
        "ES": 42.86,
        "IW": 28.57,
        "MS": 0,
        "SL": 14
      },
      "interpretation": "School grade 4 (very easy) to 15 (very difficult); above 12 read as difficulty levels rather than grades.",
      "source": "Bamberger, R./Vanecek, E. (1984): Lesen - Verstehen - Lernen - Schreiben. Wien: Jugend und Volk",
      "wstf1": 3.77,
      "wstf2": 3.5,
      "wstf3": 1.55,
      "wstf4": 2.03
    }
  },
  "service": "readability-de",
  "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/readability-de' \
  -H 'content-type: application/json' \
  --data-raw '{"text":"Alle meine Entchen schwimmen auf dem See, K\u00f6pfchen unters Wasser, Schw\u00e4nzchen in die H\u00f6h."}'

# 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/readability-de' \
  -H 'content-type: application/json' \
  --data-raw '{"text":"Alle meine Entchen schwimmen auf dem See, K\u00f6pfchen unters Wasser, Schw\u00e4nzchen in die H\u00f6h."}' \
  | 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%2Freadability-de&method=POST
const res = await pay("https://text.halowerk.com/v1/readability-de", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "text": "Alle meine Entchen schwimmen auf dem See, K\u00f6pfchen unters Wasser, Schw\u00e4nzchen in die H\u00f6h."
  }),
});
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/readability-de",
        json={
            "text": "Alle meine Entchen schwimmen auf dem See, K\u00f6pfchen unters Wasser, Schw\u00e4nzchen in die H\u00f6h.",
        },
    )
    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
3 h agoPassed402120 ms$0.003
14 h agoPassed40280 ms$0.003
24 h agoPassed40245 ms$0.003
33 h agoPassed402149 ms$0.003
44 h agoPassed402141 ms$0.003
Show 10 older checks
2 days agoPassed40246 ms$0.003
4 days agoTimed out---
6 days agoPassed40241 ms$0.003
6 days agoPassed402128 ms$0.003
7 days agoPassed402125 ms$0.003
7 days agoPassed40241 ms$0.003
7 days agoPassed402120 ms$0.003
8 days agoPassed40240 ms$0.003
8 days agoPassed402120 ms$0.003
8 days agoPassed40241 ms$0.003