{"uid":"cap_I2-5UQVQo0vWCZlCqDi-f","slug":"agentdiet-docs-to-markdown-converter-e8e6f38a","name":"AgentDiet Docs-to-Markdown Converter","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/docs-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_LFgyrlrYILghXy06i9bPd","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 web document URL and converts it to compressed, token-efficient Markdown, stripping bloat for AI context windows","exampleAgentPrompt":"Fetch the documentation at https://docs.example.com/api/overview and convert it to clean, compressed Markdown — I want to cut down the tokens before adding it to my context window.","exampleUseCases":[{"title":"LLM context window optimization","prompt":"Grab the README at https://github.com/someproject/docs/blob/main/README.md and convert it to condensed Markdown so I can fit it into my prompt without blowing my token budget."},{"title":"Agent pipeline doc ingestion","prompt":"I need to feed the Stripe API docs page at https://stripe.com/docs/api/charges into my agent — can you convert it to minimal Markdown and tell me the compression ratio?"},{"title":"Research assistant content prep","prompt":"Take this long HTML documentation page at https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API and distill it down to compact Markdown so my AI can summarize it without hitting token limits."}],"resultDescription":"Returns a JSON object containing the converted Markdown content in the `data` field, a `status` of 'ok', and an `roi_proof` object with a `compression_ratio_pct` value showing how much the content was compressed (e.g. 91.4% reduction).","failureModes":["Invalid or unreachable URL returns error status","Unsupported document format may return empty or malformed markdown","Network timeout if target URL is slow to respond","URL parameter missing results in schema validation failure","Paywalled or JS-rendered pages may not be fully accessible"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to ingest web documentation or HTML pages into a context window and token cost is a concern. It is especially valuable in A2A and MCP pipelines where context size is constrained, and when you need a quantified compression ratio to prove ROI. Prefer this over generic scrapers when you specifically need Markdown output optimized for LLM consumption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:59.947Z","isFirstParty":false,"canonicalSlug":"agentdiet-docs-to-markdown-converter-e8e6f38a"}