{"uid":"cap_udYWPRZq7L2Ko2WG-Bw4-","slug":"402scrape-web-content-extractor-17593874","name":"402scrape Web Content Extractor","description":"Fetch any public webpage and return clean, agent-ready content for RAG, LLM context, research, and summarization. Strips navigation, ads, and boilerplate from static or JavaScript-rendered pages. Supports markdown, plain text, or structured JSON output.","url":"https://402scrape.vercel.app/api/v1/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The page to fetch and clean"},"format":{"enum":["markdown","text","json"],"type":"string"},"renderJs":{"type":"boolean","description":"Render with a headless browser for JS-heavy pages"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gMdhnp7Wj-q9dchDCVrKb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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, agent-ready content stripped of navigation, ads, and boilerplate — in markdown, plain text, or JSON format, with optional JavaScript rendering.","exampleAgentPrompt":"Can you fetch the content from https://example.com/article and give me back clean markdown — it's a JavaScript-rendered page so make sure to use headless browser rendering.","exampleUseCases":[{"title":"RAG pipeline document ingestion","prompt":"Grab the content from https://docs.openai.com/api-reference and return it as clean markdown so I can load it into my RAG knowledge base."},{"title":"Research article summarization","prompt":"Fetch this news article at https://www.reuters.com/technology/ai-regulation-2025/ and extract the main text as plain text — I want to summarize it for a briefing."},{"title":"Structured data extraction from product page","prompt":"Scrape https://www.apple.com/iphone/ and return the content as structured JSON — the page is JavaScript-rendered so use headless mode."}],"resultDescription":"Returns the cleaned content of the requested webpage in the specified format (markdown, plain text, or JSON), with navigation menus, advertisements, headers, footers, and other boilerplate removed. For JavaScript-rendered pages, a headless browser is used to fully execute the page before extraction.","failureModes":["URL is unreachable or returns a non-200 HTTP status — extraction fails with an error","JavaScript rendering timeout on slow or complex pages","Paywalled or login-gated content cannot be accessed — returns only publicly visible content","Anti-scraping protections (CAPTCHAs, bot detection) may block extraction","Malformed or extremely large pages may cause parsing errors"],"whenToPreferThis":"Choose this endpoint when you need clean, agent-ready text from a specific public URL — especially for RAG ingestion, LLM context windows, or research workflows. It excels at stripping boilerplate and supports JavaScript rendering for dynamic single-page apps. Prefer it over generic HTTP fetch when you need structured or markdown output without post-processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:30:29.437Z","isFirstParty":false,"canonicalSlug":"402scrape-web-content-extractor-17593874"}