{"uid":"cap_fVtSd2C9FXCvoRSvsV-SY","slug":"agentdiet-x402-audit-web-distillation-compression-endpoint-bffdaf07","name":"AgentDiet x402 Audit — Web Distillation & Compression Endpoint","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://shopify-spy.agentdiet.dev/v1/x402-audit?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"}}}},"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.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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tO77PAFGuoELZrsl2xFrs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_QB2I1UGqYnLXCSxajvOnk","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and distills a web page via HTTP GET, returning compressed/extracted content with a compression ratio proof, paid via x402 HTTP 402 micropayment in Base USDC","exampleAgentPrompt":"Can you distill and compress the content at https://example.com/some-article using the AgentDiet x402 audit endpoint and show me what the compression ratio came out to?","exampleUseCases":[{"title":"Distill competitor landing page for agent","prompt":"Fetch and distill the content from https://competitor.com/pricing so I can see a compressed, clean version of what they're saying — and tell me the compression ratio proof you get back."},{"title":"Summarize long article for downstream pipeline","prompt":"I need you to run https://techcrunch.com/2024/05/01/some-long-article through the AgentDiet distillation endpoint and give me the extracted content with the ROI compression stats."},{"title":"Audit raw HTML page for data extraction","prompt":"Pull and distill https://shopify-spy.agentdiet.dev/sample-page via a GET request and tell me what the distilled output looks like along with the compression percentage it achieved."}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing the distilled/extracted web content, and an 'roi_proof' object including 'compression_ratio_pct' indicating how much the original content was compressed (e.g. 91.4% compression).","failureModes":["Invalid or unreachable URL returns an error status","Missing required 'input' object causes schema validation failure","Non-HTTP type in 'type' field causes rejection","Payment failure via x402 results in HTTP 402 with payment required response","URL behind authentication or bot protection may return empty or partial data"],"whenToPreferThis":"Choose this endpoint when you need to fetch and distill a web page into compressed, agent-ready content and want a verifiable compression ratio proof. Ideal for AI pipelines that need lean web content without paying for a full scraping service. The $0.01 USDC per-call micropayment via x402 makes it suitable for high-frequency agent workflows where cost predictability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:41:58.491Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-web-distillation-compression-endpoint-bffdaf07"}