{"uid":"cap_GgjPdmdx_KAE4nqEZf5wz","slug":"x402-toolbox-word-count-177db2f2","name":"x402-toolbox Word Count","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/word-count?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O38UfEDPJcpq_OdEWzK2W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts the number of words in a given text string or schema input","exampleAgentPrompt":"Can you count how many words are in this paragraph: 'The quick brown fox jumps over the lazy dog and then ran away into the forest'?","exampleUseCases":[{"title":"Blog post word count check","prompt":"I just wrote this blog intro and want to know the word count: 'Artificial intelligence is transforming how we work, live, and communicate with one another in ways we never imagined possible.' How many words is that?"},{"title":"SEO content length validation","prompt":"Can you check how many words are in my product description so I know if it meets the 150-word minimum: 'Our premium leather wallet is handcrafted from full-grain Italian leather, featuring six card slots, two cash compartments, and RFID blocking technology for your security.'"},{"title":"Academic writing word limit check","prompt":"I need to stay under 100 words for this abstract — can you count the words in this text: 'This study examines the effects of sleep deprivation on cognitive performance in university students, revealing significant declines in memory retention and reaction time after fewer than six hours of sleep per night.'?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, a 'paid' boolean confirming payment was processed via x402, and the computed word count for the provided input text.","failureModes":["Empty or missing schema/text input returns an error or zero count","Malformed JSON input may cause processing failure","Payment failure via x402 results in 402 response before processing","Very large text inputs may hit Cloudflare Worker size limits","Network timeout on the Workers edge if input is too large"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC), no-signup word count computation paid via x402 on Base. Ideal for AI agents that need to programmatically verify word counts without managing API keys or OAuth flows — payment via USDC is the authentication mechanism itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:24.625Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-word-count-177db2f2"}