{"uid":"cap_qM6vbcJdlUqqaFyuiNjB-","slug":"agentdiet-url-to-markdown-converter-784fad8d","name":"AgentDiet URL-to-Markdown Converter","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/url-to-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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"},"mode":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_niI-QbogmQkjJaZPYtKDB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and converts its web content to clean Markdown text, achieving ~91% compression ratio","exampleAgentPrompt":"Can you fetch the content at https://en.wikipedia.org/wiki/Artificial_intelligence and convert it to clean Markdown so I can read it?","exampleUseCases":[{"title":"Article ingestion for RAG pipeline","prompt":"Grab the content from https://www.bbc.com/news/technology-12345678 and convert it to Markdown so I can feed it into my knowledge base."},{"title":"Research page summarization","prompt":"Fetch https://arxiv.org/abs/2301.07041 and give me the content as clean Markdown text — I want to read the abstract and key sections without all the HTML noise."},{"title":"Documentation extraction for agent context","prompt":"Convert the docs at https://docs.stripe.com/payments/quickstart to Markdown so my agent can reference the integration steps easily."}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing the Markdown-converted content of the fetched URL, and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), indicating how much the content was compressed relative to the original HTML.","failureModes":["URL is unreachable or returns non-200 HTTP status — data may be empty or error returned","URL points to non-HTML content (PDF, binary) — conversion quality may degrade","Rate limiting or bot protection on target site — fetch may fail silently","Malformed URL in query params — schema validation error","Paywalled or login-gated content — only publicly accessible portion returned"],"whenToPreferThis":"Choose this endpoint when you need to fetch a public web URL and obtain its content as clean, LLM-friendly Markdown rather than raw HTML. It is ideal for feeding web content into AI pipelines, RAG systems, or agent context windows. Prefer this over generic scraping tools when you want a compression ratio metric and structured JSON response with Markdown output, paid per-call via USDC microtransaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:35.332Z","isFirstParty":false,"canonicalSlug":"agentdiet-url-to-markdown-converter-784fad8d"}