{"uid":"cap_E36aMBYjbPNhFGK8-l5Jo","slug":"agentdiet-github-audit-endpoint-43781799","name":"AgentDiet 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://shopify-spy-72343955726.us-central1.run.app/v1/github-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_S4wvydDGqPjIRFSjdLCGc","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":"Audits a GitHub repository and returns a distilled, agent-ready markdown summary of its code quality, security posture, and structure","exampleAgentPrompt":"Can you audit the GitHub repo at github.com/langchain-ai/langchain and give me a distilled markdown summary of its code quality, security posture, and how well it's maintained?","exampleUseCases":[{"title":"Pre-integration library vetting","prompt":"Before I add this npm package to my project, can you audit its GitHub repo at github.com/axios/axios and tell me if there are any security red flags or signs it's poorly maintained?"},{"title":"Due diligence on open source project","prompt":"I'm considering investing in a startup whose core product is on GitHub at github.com/supabase/supabase — can you audit that repo and give me a distilled report on code quality and project health?"},{"title":"Competitive technical benchmarking","prompt":"Can you audit github.com/vercel/next.js and give me a structured markdown summary of its architecture, recent activity, and any obvious security or quality concerns?"}],"resultDescription":"Returns a JSON object with a 'data' field containing a markdown-formatted audit report (mode, title, content), plus ROI proof metrics showing raw token count, distilled token count, compression ratio, and ROI multiplier — indicating how efficiently the content was distilled for agent consumption.","failureModes":["Invalid or private GitHub repository URL returns an error","Repository not found or inaccessible returns a 404-style error in the response","Payment not included triggers HTTP 402 requiring x402 Base USDC payment","Rate limiting or GitHub API throttling may cause delayed or failed responses","Malformed request parameters return a validation error"],"whenToPreferThis":"Choose this endpoint when you need a compressed, agent-ready markdown audit of a GitHub repository with token efficiency metrics — especially when you want to analyze code quality, security posture, or project health without burning large token budgets. Prefer it over raw GitHub API calls when you need distilled, structured output optimized for downstream agent reasoning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:44:10.830Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-endpoint-43781799"}