{"uid":"cap_Ht2OT-VGcDafMGdrG7fxy","slug":"x402broker-com-web-url-context-distiller-18b5df8b","name":"Web URL Context Distiller","description":"Distill a web URL into compact agent-ready tokens (Live x402 v2, IETF MPP & MCP endpoint at https://x402broker.com/v1/context-bloat-eliminator)","url":"https://x402broker.com/v1/context-bloat-eliminator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","minLength":1,"description":"Target webpage URL to distill (or builtin://stripe-docs)"},"mode":{"enum":["markdown","structured","skeleton","budget"],"type":"string","default":"markdown","description":"Extraction mode: markdown, structured, skeleton, or budget"},"query":{"type":"string","description":"BM25 focus query when mode=budget"},"max_tokens":{"type":"integer","minimum":20,"description":"Strict token ceiling when mode=budget"}}},"responseSchema":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object","description":"Distilled Markdown, structured JSON tables/metadata, skeleton outline, or BM25 budget excerpt."},"cache":{"type":"object","properties":{"status":{"enum":["HIT","MISS"],"type":"string"},"cache_key":{"type":"string"},"latency_ms":{"type":"number"}}},"status":{"type":"string","description":"Execution status ('ok')"},"billing":{"type":"object","properties":{"agent_id":{"type":"string"},"payment_method":{"type":"string"},"fee_charged_usd":{"type":"number"}}},"roi_proof":{"type":"object","properties":{"raw_tokens":{"type":"integer"},"tokens_saved":{"type":"integer"},"roi_multiplier":{"type":"number"},"distilled_tokens":{"type":"integer"},"llm_cost_saved_usd":{"type":"number"},"compression_ratio_pct":{"type":"number"}}}}},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.001","displayCostAsset":"USD","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":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ier9NdRavSOLBy2v3OcQh","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"x402broker.com","brandSlug":"x402broker-com-mpp","brandBaseUrl":"https://x402broker.com","brandDocsUrl":null,"whatItDoes":"Fetches a webpage and compresses it into compact, agent-ready tokens using markdown, structured, skeleton, or BM25 budget extraction modes","exampleAgentPrompt":"Can you distill https://stripe.com/docs/payments/checkout into compact agent-ready markdown, keeping it under 800 tokens and focused on the query 'how to create a checkout session'?","exampleUseCases":[{"title":"Compress docs page for RAG pipeline","prompt":"Distill https://docs.anthropic.com/en/api/getting-started into structured markdown under 600 tokens — I need to feed it into my RAG pipeline without blowing my context window."},{"title":"Extract skeleton outline of a long article","prompt":"Can you pull https://en.wikipedia.org/wiki/Transformer_(deep_learning_architecture) and give me just the skeleton outline so I can see the high-level structure without all the content?"},{"title":"Budget-mode focus query on pricing page","prompt":"Fetch https://openai.com/pricing and extract only the parts relevant to 'GPT-4o token costs', keeping it to a max of 400 tokens using budget mode."}],"resultDescription":"Returns a JSON object containing the distilled content (markdown text, structured JSON tables/metadata, skeleton outline, or BM25-filtered excerpt depending on mode), a compression ROI proof showing raw vs distilled token counts, compression ratio, estimated LLM cost saved, and optional cache hit/miss status and billing info.","failureModes":["Invalid or unreachable URL returns an error status","Token ceiling too low to produce meaningful output (max_tokens below minimum of 20)","BM25 query provided without mode=budget may be ignored","Paywalled or JavaScript-heavy pages may yield partial or empty distillation","x402 payment failure results in 402 response before content is returned","Rate limiting or network timeouts on the target URL"],"whenToPreferThis":"Choose this endpoint when you need to feed webpage content into an LLM context window but want to minimize token consumption — especially useful for documentation pages, news articles, or research pages where raw HTML is bloated. Prefer over generic scrapers when you need BM25-focused budget extraction, structured JSON tables, or skeleton outlines rather than raw text. Best suited for single-URL distillation with tight token budgets in agentic pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:22:38.363Z","isFirstParty":false,"canonicalSlug":"x402broker-com-web-url-context-distiller-18b5df8b"}