83trust / 100

Text Stats

by NetIntel in AI models & inference

x402 APIPassing, checked 3 h ago

Instant text statistics — characters (with/without spaces), words, unique words, sentences, paragraphs, average word/sentence length, longest word, reading and speaking time. Deterministic, no LLM, no API key. For agents sizing content before summarizing, chunking, embedding, or posting. Pass text as ?text= (GET) or a JSON body (POST).

GET https://netintel.dev/text/stats

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
181 ms typical, 181 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://netintel.dev/text/stats?text=NetIntel+is+a+pay-per-call+API+for+AI+agents.+It+offers+over+one+hundred+endpoints."
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%2Fnetintel.dev%2Ftext%2Fstats
const res = await pay("https://netintel.dev/text/stats?text=NetIntel+is+a+pay-per-call+API+for+AI+agents.+It+offers+over+one+hundred+endpoints.");
console.log(await res.json());

Example input

{
  "text": "NetIntel is a pay-per-call API for AI agents. It offers over one hundred endpoints."
}

Example output

{
  "avg_sentence_length": 7,
  "avg_word_length": 5,
  "characters": 83,
  "characters_no_spaces": 70,
  "findings": [],
  "longest_word": "pay-per-call",
  "paragraphs": 1,
  "reading_time_seconds": 5,
  "sentences": 2,
  "speaking_time_seconds": 7,
  "unique_words": 14,
  "words": 14
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402181 ms$0.001
8 h agoPassed402315 ms$0.001