{"uid":"cap_IXygrEDHi1hWrGKx1cupl","slug":"web-page-to-markdown-4eccdb09","name":"Web Page to Markdown","description":"Fetch a public web page and return its main content as clean Markdown (menus, ads and boilerplate removed) plus title, byline, publish date and word count. Falls back to headless Chromium for JavaScript-only pages; render=true forces it. PDFs are returned as text.","url":"https://164.160.90.241.sslip.io/api/web-read-markdown?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL"},"render":{"type":"boolean","description":"true to force headless-browser rendering"}}}},"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":"registry","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_WAFHWZ_RZonKF2-ousZcA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public web page and returns its main content as clean Markdown, stripping menus, ads, and boilerplate, plus metadata like title, byline, publish date, and word count.","exampleAgentPrompt":"Can you fetch https://www.bbc.com/news/technology-68123456 and give me the main article text as clean markdown, without any menus or ads?","exampleUseCases":[{"title":"Research article extraction for summarization","prompt":"Pull the main content from https://www.nytimes.com/2024/01/15/technology/ai-regulation.html as clean markdown so I can summarize it — strip out all the navigation and ads."},{"title":"JavaScript-heavy page reading","prompt":"Fetch https://example-spa-site.com/report and force headless browser rendering since it's a JavaScript app, then give me the text as markdown."},{"title":"PDF to text extraction","prompt":"Convert the PDF at https://www.sec.gov/files/ipo-report-2024.pdf into readable text so I can search through it."}],"resultDescription":"Returns a structured response containing the page's main body as clean Markdown text (ads, nav, and boilerplate removed), along with the page title, author/byline, publish date, and total word count. For PDF URLs, returns the extracted text. If the page requires JavaScript, headless Chromium is used automatically or can be forced with render=true.","failureModes":["URL is not publicly accessible or behind a login wall — returns error or empty content","JavaScript-heavy page may return incomplete content if render=true is not set","PDF parsing may lose formatting or miss scanned/image-based PDFs","Rate limiting or network timeouts for slow-loading pages","Paywalled or bot-blocked pages may return truncated or gated content","Invalid or malformed URL returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need clean, readable article or document text from a public URL without scraping boilerplate, ads, or navigation. It is ideal for research pipelines, summarization workflows, or content ingestion where you want Markdown output with metadata (title, author, date, word count). It has a headless-browser fallback for JavaScript-rendered pages and handles PDFs natively, making it more robust than simple HTTP fetch utilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:41:42.858Z","isFirstParty":false,"canonicalSlug":"web-page-to-markdown-4eccdb09"}