Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/util/text-stats

Count words, characters (with/without spaces), sentences, paragraphs, lines and unique words in a text; estimate LLM tokens; reading and speaking time; Flesch reading ease + Flesch-Kincaid grade (English); top keywords without stop words. Unicode-aware. Use to check length limits (tweets, meta descriptions, essays), budget context windows, or judge how easy a text is to read.

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/util/text-stats

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://agents.204-168-199-108.sslip.io/v1/util/text-stats?text=The+quick+brown+fox+jumps+over+the+lazy+dog.+It+was+not+amused%21+Was+the+dog+lazy%3F%0A%0AYes%2C+the+dog+was+lazy.&top=3");
console.log(await res.json());

Example input

{
  "text": "The quick brown fox jumps over the lazy dog. It was not amused! Was the dog lazy?\n\nYes, the dog was lazy.",
  "top": "3"
}