{"uid":"cap_kTmXbiRBf9pgkazE2SG9K","slug":"content-stats-bbb54953","name":"content-stats","description":"Content statistics for a page: words, characters, sentences, paragraphs, headings, links, images, code blocks, average sentence and paragraph length, lexical diversity and the longest paragraph. Quantify a page before you read it. $0.01 per page.","url":"https://intel.rallylive.ca/page/summary-stats","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_4BMP5vC4TeKpg0ws1o_Fx","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 detailed text statistics for a web page including word count, sentence count, paragraphs, headings, links, images, code blocks, lexical diversity, and longest paragraph.","exampleAgentPrompt":"Before I dive into reading it, can you give me the content stats for https://example.com/article — how many words, sentences, paragraphs, headings, links, and images it has, plus the lexical diversity and longest paragraph?","exampleUseCases":[{"title":"Pre-read article assessment","prompt":"Before I read this blog post at https://techblog.example.com/ai-trends, can you tell me how long it is — words, sentences, paragraphs — and how diverse the vocabulary is? I want to know if it's worth my time."},{"title":"Content audit for SEO team","prompt":"Run content stats on https://mycompany.com/about-us and tell me the word count, number of headings, links, and images, plus the average sentence length so we can see if it meets our content guidelines."},{"title":"Comparing article density before scraping","prompt":"I need to decide which of these two pages has more substantive content before I process them — can you get me the word count, paragraph count, and lexical diversity for https://news.example.com/story-1?"}],"resultDescription":"A structured breakdown of the page's text content including total words, characters, sentences, paragraphs, headings, links, images, code blocks, average sentence length, average paragraph length, lexical diversity score, and the text of the longest paragraph.","failureModes":["Page URL is unreachable or returns a non-200 status — endpoint may return an error or empty stats","Dynamic JavaScript-rendered content may not be fully captured if the page requires client-side rendering","Very large pages may time out or return partial statistics","Missing or malformed URL input causes a validation error","Pages with paywalls or bot-blocking may return minimal or no content stats"],"whenToPreferThis":"Use this endpoint when you need to quantify or audit a web page's textual content before reading or processing it — especially useful for deciding whether to invest time reading a page, comparing content density across URLs, or checking readability and structure metrics. Prefer this over full-page scrapers when you only need statistics, not the raw content itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:02:50.070Z","isFirstParty":false}