{"uid":"cap_6fNSW7VO3p4yKKukiA14E","slug":"agentdiet-x402-audit-endpoint-5125d709","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://prompt-guard-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_QlF3SCfw-4HiyfVV-W_nY","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":"Returns a distilled, agent-ready audit or documentation summary for the x402 payment protocol via compressed markdown, with token compression metrics.","exampleAgentPrompt":"Can you pull the distilled AgentDiet audit summary for the x402 protocol and show me the markdown content along with how much token compression it achieved?","exampleUseCases":[{"title":"x402 protocol reference for agent","prompt":"I'm building an agent that needs to understand x402 payments on Base — can you fetch the AgentDiet x402 audit and give me the clean markdown summary with the token savings stats?"},{"title":"Token budget check before embedding docs","prompt":"Before I embed the x402 spec into my agent's context window, can you grab the AgentDiet x402 audit and tell me the compression ratio and how many tokens it saved compared to the raw version?"},{"title":"Quick x402 compliance audit read","prompt":"Can you get me the AgentDiet distilled audit on x402 so I can review what the protocol covers, in a condensed markdown format that's easy to read?"}],"resultDescription":"A JSON response containing a 'data' object with mode ('markdown'), title, and clean distilled markdown content representing the x402 audit, plus an 'roi_proof' object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier metrics demonstrating how much the content was compressed.","failureModes":["Payment not included or failed (HTTP 402): agent must provide valid x402 Base USDC micropayment of $0.01 to proceed","Invalid or missing authentication headers result in rejection","Upstream distillation service unavailable returns 5xx","Rate limiting may apply at the Google Cloud Run layer","Content not yet indexed or audited for x402 scope may return empty or partial results"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a token-efficient, pre-distilled reference on the x402 payment protocol in markdown format, particularly when context-window space is limited and you want verified compression metrics. It is purpose-built for agent consumption (B2A) and includes ROI proof of compression, making it more suitable than fetching raw x402 documentation from a web page. Best used when the agent needs a lightweight, structured x402 reference rather than a full crawl or live web lookup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:40:47.747Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-5125d709"}