{"uid":"cap_mirQPwHiz26vAJfs3Ejrv","slug":"delx-commerce-word-count-api-03346bce","name":"Delx Commerce Word Count API","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/word-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_dQKiZmAHTvNFLIvxJjW37","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 number of words in a given text body, returning the result as a pay-per-use JSON response via x402 micropayment on Base or Solana.","exampleAgentPrompt":"Count the words in this paragraph for me: 'The quick brown fox jumps over the lazy dog. It was a bright cold day in April and the clocks were striking thirteen.'","exampleUseCases":[{"title":"Article length verification before publish","prompt":"Before I submit this article to the editor, can you count the words in it? Here's the text: 'Artificial intelligence is rapidly transforming the way we work, live, and interact with technology. From autonomous agents to generative models, the pace of innovation is staggering.'"},{"title":"Contract word limit compliance check","prompt":"I need to make sure this legal clause doesn't exceed 50 words — can you count the words in it? The clause reads: 'The licensee agrees to use the software solely for internal business purposes and shall not sublicense, resell, or distribute the software to any third party without prior written consent from the licensor.'"},{"title":"Content audit word count for SEO tool","prompt":"For this SEO audit I'm running, count the words in the following meta description: 'Discover the best hiking trails in the Pacific Northwest, from beginner-friendly paths to challenging summit routes. Plan your perfect outdoor adventure today.'"}],"resultDescription":"A JSON object containing the computed word count for the submitted text body. The response is returned after a $0.001 USDC micropayment is processed via x402 protocol on Base or Solana, with verifiable delivery confirmed on-chain.","failureModes":["Empty or missing body field causes validation error","Non-text or malformed JSON body may return a parsing error","Payment failure or insufficient USDC balance results in 402 Payment Required response","Unsupported bodyType enum value (not json/form-data/text) causes schema validation failure","Network latency or blockchain confirmation delays may cause timeout"],"whenToPreferThis":"Prefer this endpoint when you need a pay-per-use, no-signup word count computation, especially in agent workflows that use x402 micropayments on Base or Solana. It is ideal for agents that must avoid subscription overhead for infrequent or burst word-count tasks, or when verifiable on-chain payment receipts are required for auditing. Choose this over free or bundled alternatives when operating in a trustless, per-result billing environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:44:32.284Z","isFirstParty":false,"canonicalSlug":"delx-commerce-word-count-api-03346bce"}