81trust / 100
Text Readability
by text-readability in Search & web
x402 APIPassing, checked 4 h ago
Flesch Reading Ease and Flesch-Kincaid Grade Level scores for English text (standard public formulas, heuristic syllable counting).
POST https://x402.agentindex.world/text/readability
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 45 ms typical, 45 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.agentindex.world/text/readability" \
-H "content-type: application/json" \
-d '{"text":"The cat sat on the mat. It was a sunny day."}'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%2Fx402.agentindex.world%2Ftext%2Freadability
const res = await pay("https://x402.agentindex.world/text/readability", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"The cat sat on the mat. It was a sunny day."}),
});
console.log(await res.json());Example input
{
"text": "The cat sat on the mat. It was a sunny day."
}Example output
{
"flesch_kincaid_grade": -0.57,
"flesch_reading_ease": 108.96,
"sentences": 2,
"syllables": 12,
"words": 11
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 45 ms | $0.001 |