{"uid":"cap_fb0A23u4bbiWsTSaf9Q8Y","slug":"agentdiet-dom-stripper-a4553559","name":"AgentDiet DOM Stripper","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/dom-stripper?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_KjHxmj3zE3Ik_ZWecTlwz","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 strips its HTML down to clean, compressed DOM content, returning structured data with high compression ratio.","exampleAgentPrompt":"Can you strip the HTML from https://example.com/article and give me the clean readable content from that page?","exampleUseCases":[{"title":"Clean article text for summarization","prompt":"Grab the content from https://techcrunch.com/2024/01/15/some-article and strip out all the HTML so I just get the readable article text."},{"title":"Extract product info from e-commerce page","prompt":"Fetch https://shop.example.com/product/123 and strip the DOM down to just the essential content — I want to see what information is actually on that product page without all the HTML noise."},{"title":"Preprocess webpage for AI pipeline","prompt":"I need the clean DOM content from https://docs.openai.com/api-reference — strip the HTML and give me the compressed readable text so I can feed it into my analysis workflow."}],"resultDescription":"A JSON object containing a 'data' field with the stripped DOM content, a 'status' field indicating success, and a '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":["Invalid or unreachable URL returns an error status","URL behind authentication or bot protection may return empty or blocked content","Very large pages may time out or return partial content","Malformed input schema (missing 'type' or 'method') returns a validation error","Non-HTTP URLs or unsupported schemes may be rejected"],"whenToPreferThis":"Choose this endpoint when you need to extract clean, readable content from a webpage and want a high compression ratio that removes boilerplate HTML — especially useful for feeding web content into LLMs or agent pipelines where token efficiency matters. Prefer this over raw HTTP fetching when you need structured output with metadata like compression ratio.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:52.019Z","isFirstParty":false,"canonicalSlug":"agentdiet-dom-stripper-a4553559"}