{"uid":"cap_xge5Eq2CAIloex0cTeJsn","slug":"character-1-gram-frequency-counter-305f3216","name":"Character 1-gram Frequency Counter","description":"Call when an agent needs counts of char 1-grams. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/ngram-char-1 first.","url":"https://agentshelf.syntexa.ch/v1/ngram-char-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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oJdnuboq9orbmGdIK7dfM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts the frequency of every individual character (1-gram) in a given text string, returning exact character-level occurrence counts.","exampleAgentPrompt":"Count the character-level 1-gram frequencies in this text: 'The quick brown fox jumps over the lazy dog' — I need to know how many times each individual character appears.","exampleUseCases":[{"title":"Letter frequency analysis for cipher breaking","prompt":"I'm trying to crack a substitution cipher. Can you count how many times each character appears in this ciphertext: 'Wkh txlfn eurzq ira mxpsv ryhu wkh odcb grj'? I need the exact frequency of every character."},{"title":"Character distribution for language detection heuristic","prompt":"I have this paragraph of text and I need to analyze the per-character frequencies to build a simple language fingerprint — can you give me the 1-gram character counts for: 'Bonjour le monde, comment allez-vous aujourd'hui?'"},{"title":"Entropy estimation for password strength","prompt":"I want to estimate the character diversity of this password candidate by seeing its character 1-gram counts. Please count each character in: 'P@ssw0rd!2024SecureKey'"}],"resultDescription":"Returns a map or object where each key is a single character found in the input text, and the value is the integer count of how many times that character appears. Covers all character types including letters, digits, punctuation, and whitespace.","failureModes":["Empty string input (minLength:1 violated) — returns validation error","Input text exceeding 100,000 characters (maxLength violated) — returns validation error","Malformed JSON body — returns 400 bad request","Payment not included or insufficient — returns HTTP 402 Payment Required (use sandbox endpoint for free testing)"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic character-level 1-gram frequency counts without relying on an LLM or external network call. Prefer the free sandbox endpoint (/v1/sandbox/ngram-char-1) for testing or cost-sensitive flows. Choose this paid endpoint when operating in production and the sandbox 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:50:09.240Z","isFirstParty":false,"canonicalSlug":"character-1-gram-frequency-counter-305f3216"}