{"uid":"cap_yKy7V7A0KrrPiUrVMwVk_","slug":"agentdiet-x402-audit-endpoint-748cdc86","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://agentdiet-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_EJeSDJSC1kU2ledmYgsGY","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 markdown audit report of the AgentDiet platform's x402 capabilities and configuration, with token compression metrics","exampleAgentPrompt":"Run an x402 audit on the AgentDiet hub and give me a distilled markdown report showing what capabilities are available, how many tokens were saved, and the compression ratio achieved.","exampleUseCases":[{"title":"Audit agent API capabilities before integration","prompt":"Before I integrate AgentDiet into my agent pipeline, can you run the x402 audit endpoint and give me a token-compressed markdown summary of all supported capabilities and their on-chain payment config?"},{"title":"Verify token compression efficiency of distillation","prompt":"I want to know how efficient AgentDiet's distillation actually is — run the x402 audit and tell me the raw token count, distilled token count, compression ratio, and ROI multiplier from the response."},{"title":"Check B2A hub readiness for autonomous agent deployment","prompt":"I'm deploying an autonomous agent that needs to use a B2A intelligence hub with x402 micropayments — can you audit the AgentDiet x402 endpoint and confirm it returns a clean agent-ready markdown report with platform status?"}],"resultDescription":"Returns a JSON object with a 'data' field containing a distilled markdown document (title + content), a status indicator, and an 'roi_proof' object with raw_tokens, distilled_tokens, compression_ratio_pct, tokens_saved, and roi_multiplier — allowing agents to verify both content and efficiency of distillation.","failureModes":["Missing or invalid x402 payment token returns HTTP 402 Payment Required","Service unavailable on Cloud Run cold start returns 503","Malformed request returns 400 with no audit data","Distillation failure may return status != 'ok' with empty content field","Network timeout if Cloud Run instance is scaling"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, agent-readable audit of the AgentDiet B2A platform's x402 configuration and capabilities, particularly when you want to verify compression ROI before committing to heavier API calls. Prefer this over generic documentation fetching when you need structured markdown output with provable token savings metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:43:42.062Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-748cdc86"}