{"uid":"cap_h5HmH4XzJHid5rKJZvNsU","slug":"syntexa-agentshelf-word-1-gram-counter-2f5a846a","name":"Syntexa AgentShelf Word 1-gram Counter","description":"Call when an agent needs counts of word 1-grams. No network and no LLM. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/ngram-word-1 first.","url":"https://agentshelf.syntexa.ch/v1/ngram-word-1?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["ab ab"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HW98Bzqyrc4rzsyvs0kea","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts word unigram (1-gram) frequencies in a given text string, returning exact word occurrence counts without network calls or LLM processing.","exampleAgentPrompt":"Can you count how many times each word appears in this text: 'To be or not to be that is the question whether tis nobler in the mind to suffer'?","exampleUseCases":[{"title":"Word frequency analysis for SEO","prompt":"Here's the body copy from our landing page — can you count the frequency of every word so I can see which terms we're overusing or underusing?"},{"title":"NLP preprocessing for keyword extraction","prompt":"I need a word frequency count for this customer review dataset entry: 'The product was great but the delivery was slow and the packaging was damaged' — give me the unigram counts so I can feed them into my classifier."},{"title":"Vocabulary profiling for readability audit","prompt":"Take this paragraph from our documentation and count how many times each individual word appears — I want to see if we're repeating certain terms too heavily."}],"resultDescription":"Returns a map or dictionary of each unique word found in the input text to its integer occurrence count (1-gram frequency table), computed locally without any network requests or LLM involvement.","failureModes":["Text exceeds 100,000 character limit — request rejected","Empty or missing text field — validation error","Payment of exactly $0.009 USDC not provided — HTTP 402 returned","Malformed request body — JSON parse error"],"whenToPreferThis":"Choose this endpoint when you need exact, deterministic word-level unigram frequency counts from a text without relying on an LLM or external network call. It is ideal for NLP preprocessing pipelines, SEO keyword audits, readability analysis, or any workflow that needs a reproducible word frequency table at low cost. Prefer the free sandbox POST /v1/sandbox/ngram-word-1 first for testing; use this paid endpoint when sandbox access is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:14.711Z","isFirstParty":false,"canonicalSlug":"syntexa-agentshelf-word-1-gram-counter-2f5a846a"}