{"uid":"cap_V8kFWXySl9cMOGmL37iRc","slug":"coco-word-frequency-analyzer-26cc8afb","name":"CoCo Word Frequency Analyzer","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/word-freq?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"top":{"type":"string"},"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["total_words"],"properties":{"total_words":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"top":[["cat",1],["sat",1],["mat",1],["english",1],["example",1]],"unique":5,"total_words":11},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"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_jrUrb1nSu06UgBjxOZxM8","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":"Counts word frequencies in a given text, returning the most common words, total word count, and unique word count.","exampleAgentPrompt":"Can you analyze this paragraph and tell me the top 5 most frequent words along with the total and unique word counts? Here's the text: 'The cat sat on the mat. The cat liked the mat.'","exampleUseCases":[{"title":"Blog post vocabulary analysis","prompt":"Take this blog post draft and find the top 10 most frequently used words so I can see if I'm repeating myself too much: 'Content marketing is all about creating content that matters. Content drives traffic, and traffic drives growth...'"},{"title":"SEO keyword density check","prompt":"I want to know the top 5 words appearing most often in this product description so I can check my keyword density — here's the text: 'Our premium coffee maker brews coffee at the perfect temperature every time. Coffee lovers everywhere prefer our coffee maker.'"},{"title":"Student essay word repetition audit","prompt":"Can you check this essay excerpt for word repetition and show me the 8 most common words and total word count? The text is: 'History shows that great leaders study history carefully. History repeats itself when leaders ignore the lessons of history.'"}],"resultDescription":"Returns a JSON object with a 'top' array of [word, count] pairs ranked by frequency, a 'unique' integer for the number of distinct words, and a 'total_words' integer for the total word count in the input text.","failureModes":["Missing 'text' query parameter returns an error or empty result","Very long texts may time out or hit payload limits","Non-English or mixed-language text may produce unexpected tokenization","The 'top' parameter if omitted may default to a fixed number of results","Special characters or punctuation may affect tokenization accuracy"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cheap ($0.001 per call) word frequency computation over arbitrary text without needing a full NLP pipeline. It is ideal for quick vocabulary checks, keyword density audits, or repetition detection in short-to-medium texts where you don't need part-of-speech tagging, stemming, or sentiment analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:08.503Z","isFirstParty":false,"canonicalSlug":"coco-word-frequency-analyzer-26cc8afb"}