{"uid":"cap_X0mKJXYxNIZLhIQDsKFM8","slug":"text-statistics-keyword-extractor-5a50adac","name":"Text Statistics & Keyword Extractor","description":"Small pay-per-call tools for AI agents. x402, USDC on Base.","url":"https://tools.orchardshop.xyz/t/text-stats?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"string","description":"POST / with plain text as the body"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["text"],"type":"string"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"chars":{"type":"integer"},"words":{"type":"integer"},"sentences":{"type":"integer"},"top_keywords":{"type":"array","items":{"type":"object","properties":{"word":{"type":"string"},"count":{"type":"integer"}}}},"reading_minutes":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"chars":55,"words":10,"sentences":2,"top_keywords":[{"word":"agents","count":1},{"word":"builds","count":1},{"word":"call","count":1},{"word":"cent","count":1},{"word":"orchard","count":1}],"reading_minutes":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KO1hfdFAA_JMad7tUnh5h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes plain text to return word count, sentence count, character count, estimated reading time, and top 10 keywords with stopwords removed.","exampleAgentPrompt":"Can you analyze this article text and tell me the word count, sentence count, character count, estimated reading time, and the top keywords? Here's the text: 'Artificial intelligence is transforming industries worldwide. Companies are investing heavily in machine learning research and development to gain competitive advantage...'","exampleUseCases":[{"title":"SEO keyword check on article draft","prompt":"I just wrote a blog post draft — can you analyze it and tell me the top keywords, word count, and how long it'll take to read? Here's the text: 'Content marketing has become a cornerstone of modern digital strategy. Brands that invest in quality articles see higher engagement and organic traffic over time...'"},{"title":"Reading time estimate for newsletter","prompt":"I need to know the estimated reading time, word count, and top 10 keywords for this newsletter I'm about to send out — here's the full text of the issue."},{"title":"Quick content audit for a landing page","prompt":"Can you run text stats on this landing page copy and pull out the top keywords so I can see if we're hitting the right topics? Also curious how many sentences and characters it is."}],"resultDescription":"Returns a JSON object containing: word count (integer), sentence count (integer), character count (integer), estimated reading time in minutes (float or integer), and an array of the top 10 keywords after stopword removal.","failureModes":["Empty body returns zero counts or an error response","Extremely large text may time out or hit size limits","Non-plain-text bodies (e.g. HTML, JSON) may produce inflated or meaningless keyword results","Network or payment failure returns a 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need quick, structured text metrics — word count, sentence count, character count, reading time, and keyword extraction — from raw plain text without setting up an NLP library or ML pipeline. Ideal for lightweight content auditing, SEO keyword scanning, and readability checks. Prefer this over heavier NLP APIs when you don't need sentiment analysis, entity recognition, or summarization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:31:13.570Z","isFirstParty":false,"canonicalSlug":"text-statistics-keyword-extractor-5a50adac"}