← Back to directory

Count word and n-gram frequencies in a text (Tanod)

https://tanod.dev/v1/text/frequency

Overview

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. Body: `{"text": "The cat sat. The cat ran. A dog sat.", "top_n": 3}`. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day (every utilpeek route shares one pool); add header X-Tanod-Free: 1 to an unpaid HTTP call to use it. Typically under 0.3 s. Tanod does not log or store the s

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network Base
Category ai/text
Provider tanod
Source bazaar
Indexed 2026-10-07 22:29:17

Health

Status healthy
Latency (p50) 335ms
Uptime (30d) 82.3%
Reliability Score 86.2/100
Last Checked 2026-12-05 11:37:17
Last Healthy 2026-12-05 11:37:17
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "text": "The cat sat. The cat ran. A dog sat.", "top_n": 3 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "language": "en", "ngram": 1, "source": { "library": "own implementation (sta…", "license": "n/a" }, "stopwords_removed": true, "top": [ { "count": 2, "term": "cat" } ], "total": 6, "unique": 4 }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 11:37:17 healthy 402 294ms
2026-12-05 10:31:54 healthy 402 236ms
2026-12-05 09:30:35 healthy 402 233ms
2026-12-05 08:35:24 healthy 402 288ms
2026-12-05 07:31:56 healthy 402 521ms
2026-12-05 06:28:24 healthy 402 335ms
2026-12-05 05:29:36 healthy 402 243ms
2026-12-05 03:41:34 healthy 402 230ms
2026-12-05 02:29:27 healthy 402 234ms
2026-12-05 01:29:17 timeout — — timeout
2026-12-05 00:54:20 healthy 402 660ms
2026-12-04 15:49:01 healthy 402 2420ms
2026-12-04 04:16:20 healthy 402 763ms
2026-12-03 19:01:02 timeout — — timeout
2026-12-03 08:55:49 healthy 402 681ms
2026-12-02 21:07:14 healthy 402 7756ms
2026-12-02 12:02:11 error — — fetch failed