{"uid":"cap_hIgOkkkPadhn6JIQ9ZOwE","slug":"tanod-utilpeek-word-frequency-n-gram-counter-28514c65","name":"Tanod utilpeek Word Frequency & N-gram Counter","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/text/frequency?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":200000,"minLength":1,"description":"The text (at most 200,000 characters)."},"ngram":{"type":"integer","default":1,"maximum":3,"minimum":1,"description":"Term length in words: 1 (default), 2 or 3; n-grams never span punctuation."},"top_n":{"type":"integer","default":50,"maximum":1000,"minimum":1,"description":"Most frequent terms to return (1-1000, default 50)."},"language":{"enum":["de","en","es","fr","it","nl","pt","none"],"type":"string","default":"en","description":"Stop-word list to drop (none = keep every word)."},"characters":{"type":"boolean","default":false,"description":"Also count characters (whitespace excluded)."},"min_length":{"type":"integer","default":1,"maximum":50,"minimum":1,"description":"Shortest word counted, in characters (1-50, default 1; single words only, ngram=1)."},"case_sensitive":{"type":"boolean","default":false,"description":"Count \"Word\" and \"word\" apart (default false: terms are lowercased)."},"include_numbers":{"type":"boolean","default":false,"description":"Also count numeric tokens such as 2026 (default false)."},"remove_stopwords":{"type":"boolean","default":true,"description":"Drop the stop words of `language` (default true)."}}},"responseSchema":{"type":"json","example":{"top":[{"term":"cat","count":2,"share":0.333333},{"term":"sat","count":2,"share":0.333333},{"term":"dog","count":1,"share":0.166667}],"ngram":1,"total":6,"source":{"library":"own implementation (standard library)","license":"n/a"},"unique":4,"language":"en","stopwords_removed":true}},"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_BTeUNRd4O8fKA0KUfB4BE","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 or n-gram frequencies in a block of text, returning ranked lists of top tokens with occurrence counts.","exampleAgentPrompt":"What are the top 20 most frequent bigrams in the following article text, ignoring stop words (English list), and make it case-insensitive? [paste text here]","exampleUseCases":[{"title":"SEO keyword density audit","prompt":"Analyze the word frequency of this blog post — give me the top 30 single words with stop words removed, English language, case-insensitive, and ignore numbers. I want to see which keywords dominate the copy."},{"title":"Competitive document phrase analysis","prompt":"Count the top 25 most common two-word phrases (bigrams) in this product review dataset text, using English stop words, minimum word length of 3 characters, case-insensitive."},{"title":"Survey response theme extraction","prompt":"I have a block of open-ended survey responses — find the 50 most frequent words and also the top 50 bigrams, remove stop words using the English list, exclude numbers, and tell me character counts too."}],"resultDescription":"Returns a ranked list of up to `top_n` word tokens or n-grams (unigrams, bigrams, or trigrams) each paired with their occurrence count, computed from the submitted text after optional stop-word removal, case normalization, and length filtering. If `characters` is true, also includes per-character frequency counts (excluding whitespace).","failureModes":["Text exceeds 200,000 character limit — request rejected","Invalid ngram value outside 1-3 range — validation error","Unsupported language enum value — validation error","Empty or missing text field — validation error","top_n out of range (must be 1-1000) — validation error","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need fast, configurable word or n-gram frequency counts from raw text — especially when stop-word removal, case normalization, minimum token length, and multilingual support (de/en/es/fr/it/nl/pt) are needed out of the box. Prefer it over building custom tokenizers when the text fits within 200,000 characters and you want ranked frequency lists as a ready-to-use output rather than full NLP pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:45:01.011Z","isFirstParty":false,"canonicalSlug":"tanod-utilpeek-word-frequency-n-gram-counter-28514c65"}