{"uid":"cap_uXDcrVQW7pUcsGHRpAo2c","slug":"foundry-word-count-text-statistics-42191c35","name":"Foundry Word Count & Text Statistics","description":"Word count and text statistics: words, characters, sentences, paragraphs, reading time, top words. Input: any text.","url":"https://minty-sprout.onrender.com/v1/word-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Any text up to 8,000 characters"}}},"responseSchema":{"type":"json","example":{"words":9,"sentences":1,"top_words":[{"word":"quick","count":1},{"word":"brown","count":1},{"word":"fox","count":1}],"characters":44,"paragraphs":1,"avg_word_length":3.89,"reading_time_sec":3,"speaking_time_sec":4,"characters_no_spaces":36}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HvhntLJ_fLDvPlJ1xLtIR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes any text and returns word count, character count, sentence and paragraph counts, reading/speaking time, average word length, and top words.","exampleAgentPrompt":"Can you analyze this paragraph and tell me the word count, reading time, and top words: 'The quick brown fox jumps over the lazy dog near the river bank every single morning'?","exampleUseCases":[{"title":"Blog post readability check","prompt":"I just finished a blog intro — can you count the words, estimate how long it'll take to read, and show me which words I'm overusing? Here it is: 'Content marketing has become essential for modern businesses. Every day, thousands of companies publish blog posts hoping to attract readers. But most content fails because it lacks focus, clarity, and genuine value for the audience.'"},{"title":"Essay word count verification","prompt":"My professor requires essays between 250 and 300 words. Can you count the words and sentences in this draft so I can check if I'm in range? 'Artificial intelligence is transforming education in profound ways. Students now have access to personalized tutoring systems that adapt to their individual learning pace. Teachers can automate grading and focus more time on mentorship. However, these advances also raise important questions about academic integrity and the future role of educators in the classroom.'"},{"title":"Speech timing estimate","prompt":"I'm giving a 2-minute presentation and need to know if my script is the right length — can you tell me the speaking time and word count for it? 'Good morning everyone. Today I want to talk about why renewable energy is not just an environmental issue but an economic opportunity. Over the past decade solar costs have dropped by ninety percent. Countries that invest now will lead the industries of tomorrow.'"}],"resultDescription":"Returns a JSON object with: total word count, character count (with and without spaces), sentence count, paragraph count, estimated reading time in seconds, estimated speaking time in seconds, average word length, and a ranked list of the most frequently occurring words with their counts.","failureModes":["Input text exceeds 8,000 character limit — request rejected","Empty or missing input field — may return zeros or an error","Non-English text may produce inaccurate sentence/paragraph segmentation","Very short text (1-2 words) may yield trivial or misleading statistics","Payment failure or insufficient USDC balance — 402 response"],"whenToPreferThis":"Use this endpoint when you need quick, structured text statistics — word count, reading time, and word frequency — without spinning up an NLP pipeline. Ideal for content editors, writing assistants, CMS tools, or any workflow that needs to validate document length or estimate audience reading time. At $0.001 per call it is cost-effective for high-volume document processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:41.816Z","isFirstParty":false,"canonicalSlug":"foundry-word-count-text-statistics-42191c35"}