Skip to content
Fourohtwo

Text statistics API

x402.forgemesh.io/text-statistics

Text statistics API: characters, words, sentences, average sentence length, Flesch reading-ease score, estimated reading time, and estimated LLM token count for any text — instant, computed locally, nothing stored. For context-budget checks, readability gates, and content QA in agent pipelines.

BaseAnswering
POSThttps://x402.forgemesh.io/text-statistics

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.forgemesh.io/text-statistics", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"The quick brown fox jumps over the lazy dog. It was very quick."}),
});
console.log(await res.json());

Example input

{
  "text": "The quick brown fox jumps over the lazy dog. It was very quick."
}