{"uid":"cap_etkU10OkwyVWcixLpPNYP","slug":"agentdiet-x402-github-audit-endpoint-822ed7dc","name":"AgentDiet x402 GitHub 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://email-verify-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_gJ7Q5zrtblHgD1Wxc5qLR","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":"Fetches and distills GitHub repository audit data into compressed, agent-ready markdown via HTTP 402 micropayment","exampleAgentPrompt":"Can you run an x402 audit on the GitHub repo at github.com/myorg/myrepo and give me a distilled markdown summary — I want to see the token savings too.","exampleUseCases":[{"title":"Open source dependency risk review","prompt":"Audit the GitHub repo github.com/someorg/popular-lib and give me a compressed markdown summary of its code quality and any obvious risks — I want to see how many tokens you saved too."},{"title":"Pre-hire contractor code assessment","prompt":"Pull an audit summary for the GitHub repo at github.com/contractor-user/submission-project and distill it into a clean markdown report I can review quickly."},{"title":"Automated CI pipeline repo health check","prompt":"Run an x402 audit on github.com/mycompany/backend-service and return the distilled markdown plus the compression ratio so I can log it in our pipeline."}],"resultDescription":"Returns a JSON object with a 'data' field containing distilled markdown (mode, title, content), a status field ('ok'), and an 'roi_proof' object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — giving the agent both the audit content and quantified token efficiency gains.","failureModes":["HTTP 402 payment required if x402 micropayment not provided or invalid USDC authorization","Invalid or inaccessible GitHub repository URL returns an error or empty content","Rate limiting or cold-start latency on Google Cloud Run may cause timeouts","Malformed request parameters result in non-200 status","Private repositories without proper credentials will fail to fetch"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, agent-ready GitHub repository audit delivered as compressed markdown with quantified ROI metrics, and you are operating in an x402/USDC micropayment environment. Prefer this over raw GitHub API calls when token budget is constrained or when you need distilled, LLM-consumable output rather than raw JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:43:14.961Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-github-audit-endpoint-822ed7dc"}