{"uid":"cap_zhtmRqZBRItmWTLj0gBCj","slug":"web-page-to-markdown-226e2f1b","name":"Web Page to Markdown","description":"Web page to markdown: read any public URL as clean, LLM-ready Markdown. Strips nav, ads and cookie banners; returns main-content Markdown plus title, author, date and word count. Charged only on success.","url":"https://ryumoon-x402-tools.ryumoon.workers.dev/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) page URL"},"mode":{"enum":["article","full"],"type":"string","description":"article = main content (default), full = whole cleaned page"},"links":{"type":"boolean","description":"Keep hyperlinks (default true)"},"images":{"type":"boolean","description":"Keep images (default false)"},"collectLinks":{"type":"boolean","description":"Also return a list of all links"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vtuo6Oj0BllRo2mbOlJCv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches any public URL and returns clean, LLM-ready Markdown with stripped navigation, ads, and cookie banners, plus metadata like title, author, date, and word count.","exampleAgentPrompt":"Can you fetch the article at https://example.com/blog/ai-trends and give me the main content as clean markdown, keeping the hyperlinks but skipping images?","exampleUseCases":[{"title":"Research article summarization","prompt":"Pull the full article at https://www.technologyreview.com/2024/01/10/ai-breakthroughs and convert it to markdown so I can summarize the key points — article mode, keep links."},{"title":"LLM context injection from docs","prompt":"Grab the content from https://docs.anthropic.com/claude/overview and return it as clean markdown so I can feed it into my prompt as context — strip everything except the main content."},{"title":"News story fact extraction","prompt":"Fetch https://apnews.com/article/some-news-story and get me the author, publication date, and the full article text as markdown — I want to verify the claims in it."}],"resultDescription":"Returns a Markdown-formatted string of the page's main content (or full cleaned page in 'full' mode), along with metadata fields including the page title, author name, publication date, and word count. Optionally includes a list of all hyperlinks found on the page. Navigation, ads, cookie banners, and boilerplate are stripped out.","failureModes":["URL is behind a paywall or login wall — returns error or empty content","URL is not publicly accessible (private network, 404, 403) — returns HTTP error","Page is JavaScript-rendered SPA with no server-side HTML — may return incomplete or empty content","Invalid or malformed URL input — returns validation error","Timeout on slow-loading pages — returns timeout error"],"whenToPreferThis":"Choose this endpoint when you need to ingest a public web page as clean, LLM-ready Markdown, especially when you want boilerplate (ads, nav, banners) stripped automatically and structured metadata (title, author, date, word count) returned alongside the content. Ideal for research pipelines, RAG ingestion, and agent workflows that need to process live web content. Prefer over raw HTML fetchers when downstream consumers are language models that benefit from clean Markdown input.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T06:32:35.013Z","isFirstParty":false,"canonicalSlug":"web-page-to-markdown-226e2f1b"}