{"uid":"cap_CuA1t6s3Pc0qSA67ZYFT7","slug":"apexapi-word-count-505c02f8","name":"ApexAPI Word Count","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://apex-api-gamma.vercel.app/api/tools/text/word-count","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.16305","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.16305/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.16305","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.16305","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XFlhHnz8cPQk_trVxMWGe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.16305","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","exampleAgentPrompt":"Can you count how many words are in this paragraph for me: 'The quick brown fox jumps over the lazy dog and then ran away into the forest'?","exampleUseCases":null,"resultDescription":"Returns a count of the number of words in the submitted text, likely including the total word count and possibly additional text statistics such as character count or word frequency breakdown.","failureModes":["Empty input string returns zero or error response","Extremely long text inputs may be truncated or rejected","Non-text or binary input may cause a parsing error","Payment failure (402) if USDC balance is insufficient","Network timeout for very large text payloads"],"whenToPreferThis":"Use this endpoint when you need a quick, paid-per-call word count computation without managing API keys. Suitable for agents that need to verify document length, enforce word limits, or compute text metrics programmatically within a USDC-based micropayment workflow on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:59:36.212Z","isFirstParty":false}