{"uid":"cap_FHxBRn1xFORt_bSw2Pus_","slug":"x402-tools-web-page-to-markdown-converter-cfcd4a0f","name":"x402 Tools – Web Page to Markdown Converter","description":"Use when an agent needs to read web pages: returns each page's main content as clean markdown (Readability + Turndown) with title, byline and word count. $0.002 per URL; pass up to 10 comma-separated URLs in 'urls' for one batched call. Not charged if every URL fails.","url":"https://x402-tools-production-2755.up.railway.app/tools/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","properties":{"url":{"type":"string","description":"One public http(s) URL"},"urls":{"type":"string","description":"Batch: up to 10 comma-separated public http(s) URLs, billed per URL. Response is {count, succeeded, results[]}, with 'error' on any URL that failed"}}}},"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_83VdQADZvw5uC8P-TFTQy","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 one or more public web pages and returns each page's main content as clean Markdown, with title, byline, and word count, using Readability and Turndown processing.","exampleAgentPrompt":"Can you fetch the content of https://example.com/article and give me the full article as clean markdown so I can summarize it?","exampleUseCases":[{"title":"Summarize a news article","prompt":"Grab the article at https://www.bbc.com/news/technology-12345678 and convert it to clean markdown so I can read a summary of the main points."},{"title":"Batch-read multiple research pages","prompt":"I have five URLs from different research blogs — https://blog.a.com/post1, https://blog.b.com/post2, https://blog.c.com/post3, https://blog.d.com/post4, https://blog.e.com/post5 — can you fetch all of them at once and return the main content of each as markdown?"},{"title":"Extract article text for AI processing","prompt":"Pull the readable text from https://techcrunch.com/2024/01/some-article and return it as markdown, including the title and author, so I can feed it into my AI pipeline."}],"resultDescription":"For a single URL: an object with the page title, byline, word count, and full main content rendered as clean Markdown (boilerplate and navigation stripped via Readability + Turndown). For batched requests (up to 10 URLs): an object with a count, succeeded count, and a results array where each entry contains the above fields or an 'error' field if that URL failed. Charges apply per successfully fetched URL.","failureModes":["URL is not publicly accessible or requires authentication — returns error for that URL","URL points to non-HTML content (PDF, binary) — may fail or return garbled markdown","All URLs in a batch fail — call is not billed","Network timeout or unreachable host — error returned per URL","Malformed or non-http(s) URL provided — validation error","More than 10 URLs passed in a single batch — likely rejected or truncated"],"whenToPreferThis":"Choose this endpoint when you need to read and process the main textual content of one or more web pages in a clean, LLM-friendly format (Markdown), especially when you want to strip away navigation, ads, and boilerplate. Ideal for article summarization, research ingestion, or feeding web content into AI pipelines. Prefer this over raw HTML fetchers when you need readable prose, not raw markup. Supports batching up to 10 URLs in one call, making it efficient for multi-page research tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:44:18.174Z","isFirstParty":false,"canonicalSlug":"x402-tools-web-page-to-markdown-converter-cfcd4a0f"}