{"uid":"cap_XRVtFtbjgMMaplDZGOnMG","slug":"kosoyy-tools-text-stats-micro-api-0b46f6e7","name":"kosoyy tools — Text Stats Micro-API","description":"Deterministic utility tools, paid per call in USDC (Solana or Base). Unpaid requests return a 402 offer.","url":"https://alert-woodpecker-2022.kosoyyagent.deno.net/api/text-stats?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"text to analyze"}}},"responseSchema":{"type":"object","properties":{"ok":{"type":"boolean"},"route":{"type":"string"},"result":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_yiwqQJi_72Uy5ebO2fpg7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes deterministic text statistics (e.g. word count, character count, sentence count) for a given string, billed per call at $0.001 USDC via x402.","exampleAgentPrompt":"Can you count the words, characters, and sentences in this paragraph: 'The quick brown fox jumps over the lazy dog. It did so with great enthusiasm and speed.'","exampleUseCases":[{"title":"Word count for draft content","prompt":"How many words and sentences are in this article draft: 'Artificial intelligence is transforming the world. Every industry is feeling the impact, from healthcare to finance. The pace of change is unprecedented.'"},{"title":"Character limit validation for social post","prompt":"Tell me the character count of this tweet draft so I know if it fits in 280 characters: 'Just launched our new product — faster, cheaper, and more reliable than anything else on the market. Try it today!'"},{"title":"Text metrics for readability review","prompt":"Analyze this paragraph and give me its word count, sentence count, and character count: 'Learning to write clearly is one of the most valuable skills a professional can develop. Short sentences help. Active voice helps more.'"}],"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'route' string identifying the endpoint, and a 'result' object containing computed text statistics such as word count, character count, and sentence count for the submitted text.","failureModes":["402 Payment Required — unpaid requests return a 402 offer requiring USDC payment via x402 protocol","400 Bad Request — missing or empty 'data' field in request body","500 Internal Server Error — unexpected server-side failure","Empty string input may return zeroed statistics or an error"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap, deterministic text statistics (word/character/sentence counts) billed at fractions of a cent via x402 USDC micropayments, without requiring a subscription or API key — ideal for agents that process variable volumes of text and want pay-per-call pricing on Solana or Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:36:03.851Z","isFirstParty":false,"canonicalSlug":"kosoyy-tools-text-stats-micro-api-0b46f6e7"}