{"uid":"cap_7Eyh17y0IL6OcHgXRqab0","slug":"agentdiet-x402-audit-endpoint-26b67ae8","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://serp-extract-72343955726.us-central1.run.app/v1/x402-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["url"],"properties":{"url":{"type":"string","minLength":1,"description":"Target A2A, MCP, or x402 service URL to audit for protocol compliance"}},"additionalProperties":false},"output":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object"},"status":{"type":"string"},"roi_proof":{"type":"object"}}}}},"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_v0BbgGr9jhBbCsDAs0bfo","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 an audited, agent-ready summary of this API hub's capabilities and payment proof via the x402 micropayment protocol","exampleAgentPrompt":"Pull the AgentDiet x402 audit so I can see a distilled, token-efficient breakdown of what the 15-app B2A hub offers, including compression stats and ROI proof.","exampleUseCases":[{"title":"Discover AgentDiet hub capabilities","prompt":"Give me a clean, compressed summary of everything the AgentDiet 15-app B2A hub supports — I want to know which tools are available and how much token bandwidth I'll save by using it."},{"title":"Validate x402 payment and audit trail","prompt":"Run the AgentDiet x402 audit and confirm the payment went through — I need the ROI proof showing how many tokens were distilled versus raw."},{"title":"Agent onboarding to B2A suite","prompt":"My agent needs a quick orientation on what AgentDiet can do — fetch the audit endpoint so it can read the agent-ready markdown overview of all 15 apps in the hub."}],"resultDescription":"Returns a JSON object with status 'ok', a data block containing mode ('markdown'), title, and clean agent-ready markdown content summarizing the hub, plus an roi_proof block with raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier metrics.","failureModes":["Missing or invalid x402 USDC payment header returns HTTP 402 Payment Required","Insufficient USDC balance causes payment failure and no content returned","Service unavailability on Google Cloud Run returns 503","Rate limiting may return 429 if called too frequently","Malformed request headers may return 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, agent-ready audit of the AgentDiet B2A hub itself — particularly when you want to verify x402 payment processing, retrieve ROI/compression proof, or onboard an AI agent to the full suite of 15 available tools without consuming excessive context tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:31:43.559Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-26b67ae8"}