U

Up · Text Stats Invoke

by Up

POSTBase Sepolia

$0.001

per call · USDC on Base Sepolia

Deterministic UTF-8 text statistics: word, character, and byte counts. No input retention or paid upstream.

Endpoint

POST https://lucid-text-stats-production.up.railway.app/entrypoints/text-stats/invoke

1

Calls / 30d

1

Unique payers / 30d

Aug 13

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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://lucid-text-stats-production.up.railway.app/entrypoints/text-stats/invoke", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "text": ""
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://lucid-text-stats-production.up.railway.app/entrypoints/text-stats/invoke" \
  -H "Content-Type: application/json" \
  -d '{"input":{"text":""}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x0797746532ddbbf4524aefb960005b5ad4f0f8e7
AssetUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7e
NetworksBase Sepolia
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Up & similar services