{"uid":"cap_vWhKS8PQJ50rbYd6PV0CA","slug":"word-count-text-statistics-a9b99fde","name":"Word Count & Text Statistics","description":"Word, character, sentence, paragraph and unique-word counts for text, plus average word length and the longest word. $0.01 per call.","url":"https://intel.rallylive.ca/data/word-count","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YktMMOWJB-jUI4ULqY-s8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns word, character, sentence, paragraph, and unique-word counts for input text, plus average word length and the longest word.","exampleAgentPrompt":"Can you count the words, sentences, paragraphs, and unique words in this text and also tell me the longest word and average word length? Here's the text: 'The quick brown fox jumps over the lazy dog. It was a bright and sunny day.'","exampleUseCases":[{"title":"Essay length check before submission","prompt":"I need to know the exact word count, sentence count, and paragraph count of my essay draft before submitting — here it is: 'Technology has transformed education dramatically over the past two decades. Students now access resources globally. Teachers adapt their methods continuously. The future remains uncertain but promising.'"},{"title":"SEO content audit for blog post","prompt":"Can you analyze this blog excerpt and tell me the word count, character count, unique word count, and average word length so I can check if it hits my SEO targets? Text: 'Search engine optimization requires consistent effort and strategic keyword placement across all published content.'"},{"title":"Vocabulary richness analysis for writing sample","prompt":"I want to see how many unique words versus total words appear in this paragraph, and what the longest word is, to gauge vocabulary diversity: 'The extraordinarily complex amalgamation of philosophical perspectives challenges conventional understanding and provokes introspective contemplation among scholars.'"}],"resultDescription":"A structured object containing: total word count, total character count (likely with and/or without spaces), sentence count, paragraph count, unique word count, average word length, and the longest word found in the input text.","failureModes":["Empty or missing input text returns an error or zero counts","Extremely long texts may time out or hit payload size limits","Non-textual or binary input may return unexpected results","Input with no recognizable sentence boundaries may return a sentence count of 0 or 1"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive set of text statistics in a single call — word, character, sentence, paragraph, and unique-word counts plus lexical metrics — rather than calling separate tools for each metric. Ideal for lightweight content auditing, SEO checks, writing tool pipelines, or any agent workflow that needs to validate or report on text length and complexity without spinning up a heavy NLP model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:08:50.895Z","isFirstParty":false}