{"uid":"cap_278IthFowaRdvMkEKpTrK","slug":"url-word-count-reading-time-cbb3ca76","name":"URL Word Count & Reading Time","description":"Fetch a page, strip boilerplate, and return word count, character count, and reading time.","url":"https://api.24klabs.ai/api/v1/url-word-count","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"}}},"responseSchema":{"type":"json","example":{"words":28}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a5BGpsO_IuUzgyDxbnBLP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL, strips boilerplate content, and returns word count, character count, and estimated reading time.","exampleAgentPrompt":"How long would it take to read this article and how many words does it have? Here's the URL: https://example.com/blog/my-article","exampleUseCases":[{"title":"Blog post length audit","prompt":"Can you tell me the word count and estimated reading time for this blog post at https://myblog.com/posts/seo-guide-2024? I want to know if it's long enough for SEO."},{"title":"Competitor content length research","prompt":"Fetch this competitor's landing page at https://competitor.com/features and give me the word count, character count, and how long it takes to read — I'm benchmarking our own content."},{"title":"Newsletter curation reading time","prompt":"I'm putting together a reading list and need to know roughly how long each piece takes to read. Start with this one: https://news.ycombinator.com/item?id=12345678"}],"resultDescription":"Returns the word count (integer number of words), character count (total characters), and estimated reading time (typically in minutes) after fetching the URL and stripping boilerplate like navigation, ads, and footer content.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty metrics","Page is JavaScript-rendered and content is not in static HTML — word count may be inaccurate or zero","URL points to a PDF or binary file rather than an HTML page — may fail or return unexpected results","Paywalled or login-gated content — only publicly visible text is counted","Very large pages may time out or return partial counts"],"whenToPreferThis":"Choose this endpoint when you need quick, lightweight text-length metrics from a URL without needing full content extraction or NLP analysis. Ideal for content auditing, reading-time estimation, or benchmarking page length at low cost ($0.002/call). Prefer this over a full scraper when you only need counts, not the raw text itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:00:49.564Z","isFirstParty":false}