{"uid":"cap_lnNkxz1CyBf6-TYUTgEi5","slug":"one-engine-text-token-character-counter-top-10-70e5ea83","name":"ONE Engine Text Token Character Counter (Top 10)","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/text-token/characters/t10?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text up to 50000 characters"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SaWLS5CuEzhDul-S86XAu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts or analyzes the top 10 character-level token statistics from a given text string up to 50,000 characters.","exampleAgentPrompt":"Can you count the top 10 most common characters in this text for me: 'The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs.'?","exampleUseCases":[{"title":"NLP preprocessing character analysis","prompt":"I need to know the top 10 most frequent characters in this article excerpt before I run it through my tokenizer — here's the text: 'Natural language processing enables computers to understand human language in a meaningful way, allowing machines to read, decipher, and make sense of human languages.'"},{"title":"Detecting language script composition","prompt":"Can you analyze the character distribution of this user-submitted text and show me the top 10 characters by frequency? The text is: 'Bonjour! Comment allez-vous? Je suis très heureux de vous rencontrer aujourd'hui dans cette belle ville.'"},{"title":"Content fingerprinting for duplicate detection","prompt":"Run a top-10 character frequency analysis on this product description so I can use it as a lightweight fingerprint: 'Introducing the UltraBlend Pro 3000 — the most powerful countertop blender with 10 speed settings, a 72-oz BPA-free pitcher, and a self-cleaning mode.'"}],"resultDescription":"Returns a JSON object containing the top 10 character tokens ranked by frequency or some computed statistic derived from the input text, including character identities and their associated counts or scores.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","Empty text field causes computation error or empty result","Payment failure via x402 if USDC balance is insufficient","Malformed JSON body returns 400 error","Ambiguous or binary/non-UTF8 text may produce unexpected character stats"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call character-level frequency or token analysis of a text without setting up a heavy NLP pipeline. It is ideal for agents doing quick text fingerprinting, preprocessing checks, or character distribution audits on documents up to 50,000 characters. At $0.03 USDC per call it is cost-effective for single-document spot checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:24.834Z","isFirstParty":false,"canonicalSlug":"one-engine-text-token-character-counter-top-10-70e5ea83"}