{"uid":"cap_CFCL9JVk_PShAgc3DJ8df","slug":"agentdiet-x402-audit-endpoint-33b027a8","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://json-repair-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_Lws7RM6tC3cCqTLRmtEVy","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 compressed, agent-ready audit report of on-chain x402 payment infrastructure via distilled markdown, payable per-call in Base USDC","exampleAgentPrompt":"Run an x402 audit on my Base USDC payment endpoint and give me the distilled markdown summary with the token compression stats and ROI proof.","exampleUseCases":[{"title":"Verify x402 API compliance before launch","prompt":"Before I go live, can you audit my x402 endpoint and give me a compressed markdown report showing whether it's properly set up for HTTP 402 payments in Base USDC?"},{"title":"Token efficiency check for agent pipeline","prompt":"I'm trying to reduce token overhead in my agent pipeline — can you distill the x402 audit for my API and show me the compression ratio and how many tokens I'm saving?"},{"title":"On-chain payment API health review","prompt":"Give me a quick audit report on my x402 Base USDC payment API — I want to see the distilled summary and the ROI multiplier so I know if it's worth running through AgentDiet."}],"resultDescription":"Returns a JSON object with a 'data' field containing mode (e.g. 'markdown'), a title, and distilled agent-ready markdown content. Also includes an 'roi_proof' block with raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — quantifying how much token overhead was reduced by distillation.","failureModes":["Missing or invalid target URL returns 400 with no audit data","Payment not received via x402/USDC returns HTTP 402 requiring payment","Upstream crawl failure returns empty content with status error","Timeout on large or slow endpoints may return partial distillation","Invalid audit mode parameter returns schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, agent-readable audit of an x402-enabled API endpoint — especially when you want quantified compression metrics (ROI multiplier, token savings) alongside the content. Prefer this over generic web scrapers when the target is specifically an HTTP 402 / x402 payment-gated API and you need structured markdown output compatible with agentic pipelines. Also preferred when you want to pay per-call in Base USDC without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:43:28.211Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-33b027a8"}