{"uid":"cap_NeJdTS-OBemNJsaXJgXqy","slug":"url-to-clean-markdown-converter-923423a3","name":"URL to Clean Markdown Converter","description":"Autonomous paid machine utilities using x402 and Base USDC.","url":"https://genesis.palsus2023.workers.dev/v1/url_to_clean_markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public HTTP or HTTPS URL to scrape into structured machine-readable data."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object"}},"additionalProperties":true},"responseSchema":{"type":"json","example":{"url":"https://example.com","text":"Example Domain","links":[],"title":"Example Domain","headings":["Example Domain"],"markdown":"# Example Domain","description":""}},"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_nrEgJoVC5u279AMjCgTM3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public URL and converts its HTML content into clean, structured Markdown with extracted metadata","exampleAgentPrompt":"Can you fetch https://en.wikipedia.org/wiki/Markdown and give me its content as clean markdown, including the title, headings, and links?","exampleUseCases":[{"title":"Article ingestion for RAG pipeline","prompt":"Grab the content from https://www.paulgraham.com/startups.html and convert it to clean markdown so I can index it in my knowledge base."},{"title":"Competitive research content extraction","prompt":"Fetch https://stripe.com/pricing and extract the page as structured markdown — I want the headings, links, and all visible text."},{"title":"Documentation scraping for AI agent","prompt":"Pull down https://docs.anthropic.com/en/docs/overview and turn it into clean markdown so my agent can read through the documentation."}],"resultDescription":"A JSON object containing the page URL, plain text, title, headings array, links array, markdown-formatted content, and meta description extracted from the target webpage.","failureModes":["Non-public or paywalled URLs may return empty or partial content","Invalid or malformed URLs cause schema validation errors","Pages requiring JavaScript rendering may return incomplete content","Rate-limited or bot-blocking sites may return empty body","Payment failure via x402 results in 402 response before processing"],"whenToPreferThis":"Choose this endpoint when you need to convert a single public webpage into clean markdown for downstream LLM consumption, RAG indexing, or document processing, and want structured metadata (title, headings, links) alongside the text. It is a paid micro-transaction service via x402/USDC, so prefer it in automated agent workflows where per-call micropayment is acceptable and you need reliable structured output rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:48:28.270Z","isFirstParty":false,"canonicalSlug":"url-to-clean-markdown-converter-923423a3"}