{"uid":"cap_ZspDnsgOcLNX_JmkuqDvZ","slug":"agentdiet-llms-documentation-generator-web-distillation-b6bfe61c","name":"AgentDiet LLMs Documentation Generator & Web Distillation","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://onchain-risk-72343955726.us-central1.run.app/v1/llms-generator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["url"],"properties":{"url":{"type":"string","minLength":1,"description":"Website URL to crawl and generate a ready-to-consume /llms.txt manifest for"}},"additionalProperties":false},"output":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object"},"status":{"type":"string"},"roi_proof":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"mode":"markdown","title":"Example Documentation","content":"# Example Documentation\nClean agent-ready markdown..."},"status":"ok","roi_proof":{"raw_tokens":14200,"tokens_saved":13520,"roi_multiplier":67.6,"distilled_tokens":680,"compression_ratio_pct":95.2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-doxTtjLFpkNzMHhz1z2k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and distills web content (e.g. LLM documentation pages) into compressed, agent-ready markdown with token-efficiency metrics, paid via x402 Base USDC","exampleAgentPrompt":"Can you distill the documentation at https://docs.example.com/api into clean agent-ready markdown and tell me how many tokens I'm saving compared to the raw page?","exampleUseCases":[{"title":"Compress LLM provider docs for agent context","prompt":"Fetch and distill the OpenAI API reference page into compact markdown so I can drop it into my agent's context window without blowing my token budget — show me the compression ratio too."},{"title":"Summarize blockchain protocol documentation","prompt":"Take the Uniswap V3 docs at https://docs.uniswap.org and distill them down to clean agent-ready markdown — I want to see how many tokens this saves versus loading the raw page."},{"title":"Efficient on-chain tool documentation ingestion","prompt":"I need a token-efficient summary of the Aave protocol documentation page — can you run it through AgentDiet and give me the distilled markdown version along with the ROI multiplier?"}],"resultDescription":"Returns a JSON object with a 'data' field containing mode, title, and distilled markdown content, plus an 'roi_proof' object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — giving agents a clean compressed document and proof of token savings.","failureModes":["Target URL is unreachable or returns non-200 — content field may be empty or error message returned","Payment not included or insufficient USDC via x402 — HTTP 402 response blocking access","Source page is heavily JavaScript-rendered and cannot be statically fetched — incomplete distillation","Rate limiting on the upstream source page causes partial or failed fetch","Malformed or missing mode parameter resulting in unexpected output format"],"whenToPreferThis":"Choose this endpoint when your agent needs to ingest web-hosted documentation or structured content pages and token budget is a concern. It is especially valuable when loading LLM provider docs, protocol references, or API guides into a context window, as the ~95% compression ratio dramatically reduces costs. Prefer this over raw web scraping when you need clean markdown output with verifiable token savings metrics rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T06:37:56.905Z","isFirstParty":false,"canonicalSlug":"agentdiet-llms-documentation-generator-web-distillation-b6bfe61c"}