{"uid":"cap_q04-yFazWL5F7osM_-mHa","slug":"agentdiet-x402-audit-endpoint-2a6a914b","name":"AgentDiet x402 Audit 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-72343955726.us-central1.run.app/v1/x402-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"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":"registry","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"}]},"paymentMethods":[{"uid":"pm_IDndlKESgcHhfaej8ZVoA","protocol":"x402","methodType":"crypto","chain":"base","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":"Runs an x402 payment audit and returns distilled, agent-ready markdown content with token compression metrics via a micropayment-gated GET request","exampleAgentPrompt":"Hit the AgentDiet x402 audit endpoint and give me the distilled markdown output along with how many tokens were saved and the compression ratio — I want to see the ROI proof numbers.","exampleUseCases":[{"title":"Token budget audit for agent pipeline","prompt":"I'm building an agent pipeline and need to know how much token compression AgentDiet actually delivers — call the x402 audit endpoint and show me the raw tokens, distilled tokens, compression ratio, and ROI multiplier from the response."},{"title":"Fetch clean docs for LLM consumption","prompt":"Pull down the distilled markdown documentation from the AgentDiet audit endpoint — I need it in clean agent-ready format without all the HTML noise, and tell me the title it returned."},{"title":"Validate x402 micropayment flow end-to-end","prompt":"Test the AgentDiet x402-audit endpoint for me — pay the $0.01 USDC micropayment, confirm it returns status ok, and show me the distilled content and compression stats so I know the payment flow is working correctly."}],"resultDescription":"Returns a JSON object with status 'ok', a data object containing mode ('markdown'), a title, and clean distilled markdown content, plus an roi_proof block showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — giving both the content payload and quantitative compression metrics.","failureModes":["Payment not included or insufficient USDC triggers HTTP 402 with payment-required response","Invalid or missing x402 payment header causes authentication failure","Upstream content source unavailable returns error status","Rate limiting on the Cloud Run instance may cause timeouts under load","Malformed request parameters may return empty or null content fields"],"whenToPreferThis":"Choose this endpoint when you need token-efficient, agent-ready markdown content delivered via a sub-cent x402 micropayment and want quantitative proof of compression ROI. Ideal for agents operating under tight context-window budgets that need to verify how much token savings distillation provides before committing to larger-scale usage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:39:36.343Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-2a6a914b"}