{"uid":"cap_JReMa1I2QQhSlM-ID89xP","slug":"pennyrail-word-frequency-term-frequency-analyzer-56f253b6","name":"PennyRail Word Frequency / Term Frequency Analyzer","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.word-frequency--term-frequency","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":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_HbV2Fh4fXheaaf_dIl9pq","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":"Computes word frequency (term frequency) counts for all tokens in a given text input","exampleAgentPrompt":"Can you count how often each word appears in this paragraph? 'The quick brown fox jumps over the lazy dog. The dog barked at the fox.'","exampleUseCases":[{"title":"SEO keyword density audit","prompt":"Here's the body copy from my landing page — can you tell me how frequently each word appears so I can see if my target keyword 'conversion' is showing up enough? [paste text]"},{"title":"Academic plagiarism pre-screening","prompt":"I have this student essay and I want to see the term frequency breakdown for every word in it — can you run word frequency analysis on it for me?"},{"title":"TF-IDF preprocessing for search index","prompt":"Before I build my TF-IDF scores, I need raw word counts for this document: 'Artificial intelligence is transforming the way we build software. Software built with AI learns from data.' Can you give me the frequency of every term?"}],"resultDescription":"A JSON object mapping each unique word (token) found in the input text to its occurrence count or frequency score, enabling downstream NLP tasks such as TF-IDF computation, keyword analysis, or vocabulary profiling.","failureModes":["Empty or missing 'input' field returns a validation error","Extremely long texts may time out or be truncated","Non-UTF-8 encoded text may cause parsing errors","Punctuation handling and tokenization behavior may differ from expectations (e.g. hyphenated words)","Rate limiting or payment failure returns 402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use word frequency computation without setting up your own NLP pipeline. It is ideal for one-off document analysis, preprocessing steps for TF-IDF, or when you want a serverless micro-service approach at $0.001 per call. Prefer alternatives if you need advanced NLP (stemming, lemmatization, stop-word removal) or batch processing of many documents simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:11:23.405Z","isFirstParty":false}