{"uid":"cap_-sEFeHjgF6RRAWVndG2uj","slug":"delx-commerce-character-frequency-counter-8c3038da","name":"Delx Commerce — Character Frequency Counter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/char-freq?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"top":[{"char":"b","count":3},{"char":"a","count":2},{"char":"c","count":1}],"count":6,"schema":"delx/util-char-freq/v1","unique":3}},"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_Qqdhr_8QB4iA7T5pByXpx","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":"Counts the frequency of each character in a given text string and returns the top characters by count along with totals.","exampleAgentPrompt":"Count how many times each character appears in the string 'abracadabra' and show me the top characters sorted by frequency.","exampleUseCases":[{"title":"Frequency analysis of a password","prompt":"Analyze this string for me — how many times does each character appear in 'P@ssw0rd!!2024'? Show me the most frequent ones first."},{"title":"Letter distribution in a sentence","prompt":"What are the most common characters in 'the quick brown fox jumps over the lazy dog'? Give me a ranked breakdown by frequency."},{"title":"Unique character count for validation","prompt":"Tell me how many unique characters and total characters are in 'Mississippi' and which ones show up most often."}],"resultDescription":"Returns a JSON object with a ranked list of the top characters and their counts (e.g. [{char: 'b', count: 3}]), the total character count across the input, the number of unique characters, and a schema identifier string.","failureModes":["Empty or missing 'text' field returns an error or empty result","Extremely long strings may be truncated or rejected","Non-UTF8 or binary input may cause unexpected character counts","Payment failure via x402 protocol results in 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, pay-per-call character frequency computation with no signup required. Ideal for agents that occasionally need character distribution stats without embedding a full NLP library. Prefer this over writing custom code when you want verifiable, deterministic output in a standardized schema at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:48.054Z","isFirstParty":false,"canonicalSlug":"delx-commerce-character-frequency-counter-8c3038da"}