{"uid":"cap_Z86f2EbxKhUVafIF8layT","slug":"agentdiet-github-audit-endpoint-cae34263","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://github-audit.agentdiet.dev/v1/x402-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AKfJ4kdy50BoZ5m6RWCGP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_3j7R9lDPrwAeXXRbWYAPh","protocol":"mpp","methodType":"crypto","chain":"tempo","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 URL via GET request, distilling repository intelligence and returning compressed structured data with ROI proof.","exampleAgentPrompt":"Can you run a GitHub audit on https://github.com/someorg/somerepo and give me a distilled intelligence report on it — I want to know about any risk signals or quality indicators?","exampleUseCases":[{"title":"Due diligence on open-source dependency","prompt":"Before we add this library to our project, can you audit https://github.com/acmecorp/fastjson and tell me about its activity, contributors, and any risk signals?"},{"title":"Evaluating a vendor's GitHub presence","prompt":"I'm vetting a software vendor — can you pull an intelligence summary on their GitHub repo at https://github.com/vendorco/core-sdk so I can see how active and trustworthy their codebase looks?"},{"title":"Security screening of a fork before merging","prompt":"We're about to merge a community fork — can you run a GitHub audit on https://github.com/contributor123/my-fork and flag anything unusual or concerning in the repo?"}],"resultDescription":"Returns a JSON object with a 'data' field containing audit findings, a 'status' field ('ok' on success), and an 'roi_proof' object including a compression_ratio_pct metric (e.g. 91.4%) indicating how aggressively the raw repository data was distilled.","failureModes":["Invalid or inaccessible GitHub URL returns an error status","Missing required 'input' object causes schema validation failure","Private repositories without credentials return access-denied errors","Rate limiting or payment failure (HTTP 402) if USDC payment not attached","Malformed query parameters result in a 400-level response"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.01 USDC) automated audit of a GitHub repository that returns structured, compressed intelligence rather than raw data. Particularly useful for agent workflows doing due diligence, vendor screening, or open-source dependency evaluation where distillation (91%+ compression) is valuable over raw scraping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:37:15.814Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-endpoint-cae34263"}