{"uid":"cap_p2jCd85NEpbPuiIrWgbpg","slug":"well-008-text-stats-331ab5ee","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.rainmaker-wells.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_FewjLCj-H6E64vAotH6xD","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":"Fetch a public HTTPS URL returning text and compute 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, byte size, and SHA-256 hash of that file?","exampleUseCases":[{"title":"Verify downloaded file integrity","prompt":"I need to confirm the SHA-256 hash and byte size of this public text file at https://example.com/release-notes.txt — can you grab those stats for me?"},{"title":"Word count for a remote document","prompt":"How many words and lines are in the document at https://www.ietf.org/rfc/rfc2616.txt?"},{"title":"Monitor content fingerprint changes","prompt":"Can you compute the SHA-256 and character count for https://api.example.com/data/latest.csv so I can track whether the content has changed since last time?"}],"resultDescription":"A JSON object containing the original URL, the final URL after any redirects, content type, byte length, character count, line count, word count, SHA-256 hash of the content, and any warnings (e.g. about encoding or redirects). Nothing is stored server-side.","failureModes":["Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error","Responses larger than 1 MB are rejected","Requests timing out after ~10 seconds return a timeout error","Image, audio, video, or octet-stream content types are rejected","More than 5 redirects results in an error","Payment not provided or invalid x402 payment results in a 402 response"],"whenToPreferThis":"Choose this endpoint when you need fast, stateless computation of basic text statistics (word, line, char, byte counts) and a SHA-256 fingerprint for any publicly accessible HTTPS text URL without storing data. Ideal for integrity checking, change detection, or document sizing tasks where the source is a public HTTPS endpoint returning plain text or HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:24.114Z","isFirstParty":false,"canonicalSlug":"well-008-text-stats-331ab5ee"}