{"uid":"cap_sTT1mLVot-XUtYdmvF_Dd","slug":"primeapi-word-count-106de97b","name":"PrimeAPI Word Count","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.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_NPB5e_Aky7m5PKg5A6CMS","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 the words in this paragraph for me: 'The quick brown fox jumps over the lazy dog and then runs away into the forest'?","exampleUseCases":null,"resultDescription":"Returns a numeric word count representing the total number of words in the submitted text string.","failureModes":["Empty input string returns zero or an error","Non-string input may cause a validation error","Very large text inputs may time out or be truncated","Payment of 0.16305 USDC on Base must succeed before the call is processed; insufficient funds returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need a simple, reliable word count for a text string and want a pay-per-call approach with no API key setup. Suitable for one-off word count checks or lightweight integrations where a full NLP library is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:05:43.380Z","isFirstParty":false}