{"uid":"cap_I-TCnX-z7ezzOXFtn8mbG","slug":"well-008-text-stats-b4431d68","name":"well-008-text-stats","description":"Fetch a public https URL that returns text and compute byte/char/line/word counts plus SHA-256 ($0.005 USDC via x402). https only — http, file, data, localhost, and private IPs are rejected. Caps: 1 MB body, ~10s timeout, max 5 redirects. Rejects image/audio/video/octet-stream. Returns JSON { url, final_url, content_type, byte_length, char_count, line_count, word_count, sha256, warnings }. Provided as is, with no warranty or guarantee of accuracy or fitness. Nothing is stored.","url":"https://well-008-text-stats.mmelnyk2000.workers.dev/api/text-stats?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"https URL that returns text to analyze. http/file/data/localhost/private IPs rejected."}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EhwAN49W9ZBOwoWgrrFI7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public HTTPS URL returning text and computes byte count, character count, line count, word count, and SHA-256 hash of the content","exampleAgentPrompt":"Can you fetch https://raw.githubusercontent.com/torvalds/linux/master/README and tell me the word count, line count, and SHA-256 hash of the content?","exampleUseCases":[{"title":"Verify remote config file integrity","prompt":"Grab https://example.com/config.yaml and give me its SHA-256 hash, byte size, and line count so I can confirm it hasn't been tampered with."},{"title":"Word count for online article","prompt":"How many words and characters are in the article at https://www.gutenberg.org/files/84/84-0.txt? Also give me the line count."},{"title":"Monitor text document fingerprint","prompt":"Fetch https://docs.example.com/changelog.txt and return its SHA-256 hash and byte length so I can compare it against the version I checked last week."}],"resultDescription":"Returns a JSON object containing the original URL, final URL after redirects, content type, byte length, character count, line count, word count, SHA-256 hash of the content, and any warnings (e.g. redirect notices or encoding caveats). Nothing is stored server-side.","failureModes":["Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error","Response body exceeds 1 MB cap — endpoint returns an error","Remote server takes longer than ~10 seconds to respond — timeout error","More than 5 redirects followed — redirect limit error","Content-type is image, audio, video, or octet-stream — rejected as non-text","Remote URL returns a non-200 status — upstream error reported in response"],"whenToPreferThis":"Choose this endpoint when you need quick, stateless text statistics (word count, line count, byte length, SHA-256) for a publicly accessible HTTPS URL without storing the content. Ideal for integrity checks, document fingerprinting, and lightweight text metrics on documents up to 1 MB. Not suitable for HTML-rendered page content extraction, large files, private/internal URLs, or binary files.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:33.868Z","isFirstParty":false,"canonicalSlug":"well-008-text-stats-b4431d68"}