utilpeek: count word frequencies in a text
text_frequencyRead-onlyIdempotent
utilpeek: Count word and n-gram frequencies in a text. Returns the most frequent words or 2-3 word n-grams (n-grams never cross punctuation) with count and share, dropping stop words (en, es, fr, de, pt, it, nl, or none), and optionally character counts. Input: text, optional language, remove_stopwords, top_n, ngram, case_sensitive, min_length, include_numbers and characters. Typically under 0.3 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Tanod does not log or store the submitted text; it is processed in memory for this answer. Docs: https://tanod.dev/learn/keyword-extraction-api.html
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text (at most 200,000 characters). | |
| ngram | No | Term length in words: 1 (default), 2 or 3; n-grams never span punctuation. | |
| top_n | No | Most frequent terms to return (1-1000, default 50). | |
| language | No | Stop-word list to drop (none = keep every word). | en |
| characters | No | Also count characters (whitespace excluded). | |
| min_length | No | Shortest word counted, in characters (1-50, default 1; single words only, ngram=1). | |
| case_sensitive | No | Count "Word" and "word" apart (default false: terms are lowercased). | |
| include_numbers | No | Also count numeric tokens such as 2026 (default false). | |
| remove_stopwords | No | Drop the stop words of `language` (default true). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| ngram | No | ||
| total | No | ||
| source | No | ||
| unique | No | ||
| language | No | ||
| characters | No | ||
| stopwords_removed | No |