80trust / 100
Text Stats
by Tanod utilpeek in Search & web
x402 APIPassing, checked 3 h ago
utilpeek (Tanod) text statistics: counts, reading time and English readability scores of a text.
POST https://tanod.dev/v1/text/stats
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 272 ms typical, 852 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/text/stats' \
-H 'content-type: application/json' \
--data-raw '{"text":"The quick brown fox jumps over the lazy dog. It was not amused! Readability formulas estimate how hard text is to read."}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Ftext%2Fstats
const res = await pay("https://tanod.dev/v1/text/stats", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"text\":\"The quick brown fox jumps over the lazy dog. It was not amused! Readability formulas estimate how hard text is to read.\"}",
});
console.log(await res.json());Example input
{
"text": "The quick brown fox jumps over the lazy dog. It was not amused! Readability formulas estimate how hard text is to read."
}Example output
{
"counts": {
"avg_sentence_words": 7.33,
"avg_word_length": 4.32,
"characters": 119,
"characters_no_spaces": 98,
"letters": 95,
"paragraphs": 1,
"sentences": 3,
"unique_words": 21,
"words": 22
},
"lang": "en",
"note": "Grade-level scores are US school grades and are estimates (heuristic syllable counts). Dale-Chall is not offered (no word list with clear redistribution terms). SMOG is normed on 30+ sentences; with fewer it is a rough estimate.",
"readability": {
"automated_readability_index": 2.58,
"coleman_liau_index": 5.55,
"dale_chall": null,
"flesch_kincaid_grade": 4.97,
"flesch_reading_ease": 72.49,
"flesch_reading_ease_label": "fairly easy",
"gunning_fog": 8.39,
"smog_index": 8.84
},
"reading_time_seconds": 6,
"source": {
"library": "own implementation (standard library)",
"license": "n/a"
},
"speaking_time_seconds": 8,
"syllables": {
"per_word": 1.5,
"polysyllabic_words": 3,
"total": 33
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 270 ms | $0.001 |
| 7 h ago | Passed | 402 | 465 ms | $0.001 |
| 11 h ago | Passed | 402 | 272 ms | $0.001 |
| 14 h ago | Passed | 402 | 252 ms | $0.001 |
| 18 h ago | Passed | 402 | 1.0 s | $0.001 |
| 22 h ago | Passed | 402 | 253 ms | $0.001 |
| 25 h ago | Passed | 402 | 852 ms | $0.001 |
| 29 h ago | Passed | 402 | 275 ms | $0.001 |
| 33 h ago | Passed | 402 | 271 ms | $0.001 |
| 36 h ago | Passed | 402 | 271 ms | $0.001 |
| 40 h ago | Passed | 402 | 284 ms | $0.001 |
| 44 h ago | Passed | 402 | 806 ms | $0.001 |
| 2 days ago | Passed | 402 | 263 ms | $0.001 |
| 2 days ago | Passed | 402 | 271 ms | $0.001 |
| 2 days ago | Passed | 402 | 302 ms | $0.001 |