82trust / 100

Text Stats

by api.x402node.dev in Onchain & crypto

x402 APIPassing, checked 48 min ago

Text statistics, word count, character count, line counter, text analyzer, reading time estimate, paragraph counter, sentence counter, text length, wordcount API, count words in text. Get word/char/line/paragraph/sentence count and reading time estimate. Accepts payment on Base or Solana — either network works.

GET https://api.x402node.dev/text/stats

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
175 ms typical, 175 ms slowest 5%
Last check
48 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.x402node.dev/text/stats?text=string"
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%2Fapi.x402node.dev%2Ftext%2Fstats
const res = await pay("https://api.x402node.dev/text/stats?text=string");
console.log(await res.json());

Example input

{
  "text": "string"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
48 min agoPassed402175 ms$0.0022
4 h agoPassed402171 ms$0.0022
9 h agoPassed402183 ms$0.0022