{"uid":"cap_sTXNYWnPSTZLBhME_bME5","slug":"swift-bot-labs-toolbox-text-stats-48793520","name":"Swift Bot Labs Toolbox – Text Stats","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/text/stats?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"top":{"type":"integer","default":10,"maximum":100,"minimum":0},"text":{"type":"string","maxLength":1048576}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"text-stats","result":{"words":11,"sentences":2,"characters":55,"topKeywords":[{"word":"quick","count":1}],"fleschReadingEase":94.3,"readingTimeSeconds":3}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mJk17HrCjJhrFi-ZVwQLa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a text string and returns word count, sentence count, character count, top keywords, Flesch Reading Ease score, and estimated reading time.","exampleAgentPrompt":"Can you analyze this paragraph for me — count the words, sentences, and characters, give me the Flesch Reading Ease score, estimate how long it'll take to read, and pull out the top 5 keywords: 'The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs.'","exampleUseCases":[{"title":"Blog post readability check","prompt":"Check the readability of this blog intro — tell me the word count, Flesch Reading Ease score, reading time, and the top 10 keywords: 'Artificial intelligence is transforming how businesses operate. From automating routine tasks to generating creative content, AI tools are becoming indispensable for modern teams.'"},{"title":"Content complexity audit","prompt":"I'm writing a legal disclaimer and want to make sure it's not too dense — can you run text stats on it and tell me the Flesch Reading Ease score, sentence count, and top 5 keywords? Here's the text: 'By accessing this service, you agree to be bound by these terms, which may be updated at any time without prior notice.'"},{"title":"Student essay word count check","prompt":"Can you quickly count the words, characters, and sentences in this essay excerpt and estimate the reading time — also show me the top 3 most used words: 'The French Revolution fundamentally altered European politics. It dismantled the old aristocratic order and promoted democratic ideals across the continent.'"}],"resultDescription":"Returns a JSON object with ok:true, the tool name, and a result object containing: words (integer), sentences (integer), characters (integer), topKeywords (array of {word, count} objects up to the requested top-N), fleschReadingEase (float, 0–100 scale), and readingTimeSeconds (integer).","failureModes":["Text exceeds 1,048,576 character limit — returns validation error","top parameter exceeds 100 — returns validation error","Empty or missing text field — may return zero counts or error","Payment failure via x402 — 402 response if USDC payment is not completed"],"whenToPreferThis":"Use this endpoint when you need fast, deterministic text statistics — word/sentence/character counts, readability scoring (Flesch), reading time, and keyword frequency — without needing an LLM or NLP cloud service. Ideal for lightweight content auditing, SEO keyword checks, or readability gates in automated workflows. Pay-per-call with no account setup makes it suitable for low-volume or one-off agent tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:35.782Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-text-stats-48793520"}