Skip to content
Fourohtwo

Text statistics for any language

landingen24h.com/api/x402/util/textstats

Text statistics for any language: words, characters with and without spaces, sentences, paragraphs, lines, average word length, reading time and top 10 words. Send {text} (up to 3500 chars). Nothing is stored.

PolygonDown
POSThttps://landingen24h.com/api/x402/util/textstats

Uptime0.0% of 3 checks in 30 days

30 days agoToday

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://landingen24h.com/api/x402/util/textstats", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Hello world. This is a short test."}),
});
console.log(await res.json());

Example input

{
  "text": "Hello world. This is a short test."
}

More from Landing en 24hProvider status