{"uid":"cap_Iwybx_w8WVTNqccM2SzyY","slug":"agent402-tools-word-frequency-analyzer-f652d091","name":"agent402.tools Word Frequency Analyzer","description":"Top N words and bigrams from text. Lowercase, strip punctuation, filter common English stop words. Returns sorted word and bigram frequency lists.","url":"https://agent402.tools/api/word-frequency","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"top":{"type":"number","description":"Number of top results (default 10)"},"text":{"type":"string","description":"Text to analyze"}}},"responseSchema":{"type":"json","example":{"words":[{"word":"fox","count":2},{"word":"dog","count":2}],"bigrams":[{"count":1,"bigram":"quick brown"}],"totalWords":16,"uniqueWords":9}},"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_PsD6o1jQIFwY6QO0ACRqn","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 text and returns top N words and bigrams ranked by frequency, with stop word filtering and lowercase normalization","exampleAgentPrompt":"What are the top 15 most frequent words and bigrams in this paragraph? 'Machine learning models require large datasets for training. Large datasets help machine learning improve accuracy. Training datasets must be diverse and large enough to generalize well.'","exampleUseCases":null,"resultDescription":"Returns two sorted frequency lists: one for individual words and one for bigrams (two-word pairs), both filtered for common English stop words, lowercased, and stripped of punctuation, ranked from most to least frequent up to the requested top N limit.","failureModes":["Empty text field returns empty frequency lists or validation error","Very short text may yield sparse or trivial results","Top N value of 0 or negative may cause an error or return empty list","Non-English text may not have stop words filtered correctly since filter targets English stop words","Extremely long text may cause timeout or payload size rejection"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight word and bigram frequency extraction from raw text with built-in English stop word filtering and punctuation normalization, without needing a full NLP pipeline or sentiment analysis. Ideal for content analysis, SEO keyword extraction, or summarizing dominant themes in a passage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:03.984Z","isFirstParty":false}