{"uid":"cap_BeaychYLCHVnXp1BkOYxv","slug":"webpage-to-text-scraper-e9f8fb2f","name":"Webpage to Text Scraper","description":"Fetch any public webpage and get just its readable text (no HTML, scripts or styles) plus title and meta description, ready for an LLM context window. Optional max_chars cap. Returns 404 if the page is missing, 502 if blocked or unusable, 504 on timeout -- failed calls are not charged. No JavaScript rendering. $0.025/call.","url":"https://www.x402financialdata.com/scrape?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL of the page to scrape, e.g. https://example.com"},"max_chars":{"type":"integer","description":"Max characters of text to return (1,000-200,000), default 50,000."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_lCkjV3na-9tSnmpOcJ8DM","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 any public webpage and returns clean readable text (no HTML/scripts/styles), plus title and meta description, ready for LLM ingestion","exampleAgentPrompt":"Grab the readable text from https://www.bbc.com/news/technology-68234567 and give me the article content — keep it under 10,000 characters.","exampleUseCases":[{"title":"Research article summarization","prompt":"Fetch the text from this article — https://www.wired.com/story/ai-regulation-2024 — and summarize the key points for me. Cap it at 20,000 characters."},{"title":"Competitor pricing page extraction","prompt":"Pull the readable text from https://www.competitor.com/pricing so I can see what plans and prices they're currently listing on their site."},{"title":"Documentation ingestion for LLM","prompt":"Scrape the content of https://docs.python.org/3/library/asyncio.html and return the full readable text so I can feed it into my AI assistant for a code question."}],"resultDescription":"Returns the clean readable text body of the requested webpage (stripped of HTML tags, scripts, and styles), along with the page title and meta description. Text can be capped via max_chars (1,000–200,000, default 50,000). Failed calls (404 page missing, 502 blocked/unusable, 504 timeout) are not charged.","failureModes":["404 returned if the target page does not exist or URL is invalid","502 returned if the page blocks scrapers or returns unusable content","504 returned if the target page times out during fetch","No JavaScript rendering — pages requiring JS execution will return incomplete or empty content","max_chars must be between 1,000 and 200,000 or request may be rejected"],"whenToPreferThis":"Choose this endpoint when you need clean, LLM-ready plain text from a public webpage quickly and cheaply ($0.025/call) without needing JavaScript rendering. Ideal for static pages, news articles, documentation, and blog posts. If the target page relies heavily on client-side JS to render its content, a headless-browser-based scraper would be more appropriate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-11T15:43:49.668Z","isFirstParty":false,"canonicalSlug":"webpage-to-text-scraper-e9f8fb2f"}