$0.001
per call · USD Coin on Base
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.
Endpoint
POST https://x402.forgemesh.io/text-statistics1
Calls / 30d
1
Unique payers / 30d
Aug 13
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("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."
}),
});
const data = await res.json();curl -X POST \
"https://x402.forgemesh.io/text-statistics" \
-H "Content-Type: application/json" \
-d '{"text":"The quick brown fox jumps over the lazy dog. It was very quick."}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"estimated_llm_tokens": 16,
"flesch_reading_ease": 97,
"sentences": 2,
"words": 13
}Payment details
0x850363a27f0ac6feb9c7a3ec4c1d295262df9432USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Forgemesh & similar services
Forgemesh · TTS Base
voice.forgemesh.io
Text-to-speech synthesis in 1 of 10 standard voices (5 male M1-M5, 5 female F1-F5) across 31 languages, up to 500 characters, returned as inline WAV audio. Use it to: give an agent a spoken reply, read an alert aloud, narrate a short UI prompt, add voice to a chatbot response, speak a confirmation message. Cheapest tier. USDC on Base via x402, no API key, no signup.
Forgemesh · Network Stats
ads.forgemesh.io
Returns network-wide totals: total x402 events, service count, and a UA classification breakdown (agent vs browser vs bot). Use it to benchmark your service's agent-traffic share against the network.
Forgemesh · Services
router.forgemesh.io
Search x402 service registry — broad q search plus health, score, category, tag, and tags filters