{"uid":"cap_ypRTE3HmFhLX7XVaglHhd","slug":"agentdiet-github-audit-via-x402-84b5fb83","name":"AgentDiet GitHub Audit via x402","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://github-audit-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_4uKAeow1X4kpxtBtjb2If","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":"Performs a GitHub repository audit and returns distilled, agent-ready markdown intelligence via HTTP 402 micropayment (x402/Base USDC)","exampleAgentPrompt":"Can you audit the GitHub repo at github.com/openai/openai-python and give me a clean distilled summary of its code quality, activity, and any red flags — I want the markdown version optimized for token efficiency.","exampleUseCases":[{"title":"Vetting an open-source dependency","prompt":"Before we add it to our project, can you audit the GitHub repo for the 'fastapi' library and give me a distilled markdown report on its maintenance health, recent activity, and any security concerns?"},{"title":"Due diligence on a vendor's codebase","prompt":"We're evaluating a startup and they shared their GitHub repo at github.com/acme-corp/core-api — can you audit it and give me a compressed, agent-ready summary of code quality and contributor activity?"},{"title":"Competitive repo intelligence","prompt":"Audit the GitHub repo for LangChain and distill the key signals — stars, commit frequency, open issues, and any notable risks — into a tight markdown summary I can pass to my planning agent."}],"resultDescription":"Returns a JSON object with a distilled markdown document (title + content), status indicator, and an ROI proof block showing raw vs. distilled token counts, compression ratio percentage, and ROI multiplier — designed for token-efficient agent consumption.","failureModes":["Payment not received or insufficient USDC balance — HTTP 402 returned without data","Invalid or inaccessible GitHub repository URL — error in response body","Repository is private and credentials not provided — access denied error","Rate limiting or quota exhaustion on upstream GitHub API — service temporarily unavailable","Malformed request parameters — 400-level error with validation message"],"whenToPreferThis":"Choose this endpoint when you need a highly compressed, agent-optimized GitHub repository audit returned as clean markdown, especially when token budget is a concern. It is ideal for agentic workflows that need to ingest repo intelligence without burning large context windows, and supports native x402 micropayment so no API key setup is required — just pay per call in Base USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:39:47.882Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-via-x402-84b5fb83"}