{"uid":"cap_XTyykSQDqVBXvqW3Qid4O","slug":"agentdiet-x402-github-audit-a98d5d89","name":"AgentDiet x402 GitHub Audit","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://token-intel.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_G2w9L-uPK9PpQTzkiNPg5","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_0yS5cVJvvwQo3ahcEPH14","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":"Performs an autonomous audit of a GitHub repository URL via the x402 paid API, returning distilled intelligence and a compression ratio as ROI proof.","exampleAgentPrompt":"Can you run an x402 audit on https://github.com/someorg/somerepo and give me distilled intelligence about what that project actually does and any risks I should know about?","exampleUseCases":[{"title":"Due diligence on open-source dependency","prompt":"Before I add this library to our project, can you audit https://github.com/acmecorp/fastjson and tell me if there's anything suspicious or risky about the repo?"},{"title":"Vetting a new contractor's GitHub portfolio","prompt":"I need to evaluate a freelancer — can you run an audit on https://github.com/contractor-jane/portfolio and give me a distilled read on their code quality and activity?"},{"title":"Competitive intelligence on a rival's open-source tool","prompt":"Can you pull distilled intelligence from https://github.com/rivalcorp/their-tool so I can understand what it does and how it compares to ours?"}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing the audit results, and an roi_proof object showing the compression_ratio_pct (e.g. 91.4%), which quantifies how much raw content was distilled.","failureModes":["Invalid or missing URL query parameter returns an error or empty data object","Non-GitHub or unreachable URLs may return incomplete or null data","Payment failure (HTTP 402) if USDC balance is insufficient for the $0.01 per-call fee","Rate limiting or service unavailability returning non-200 responses","Private or access-restricted repositories may return no meaningful audit data"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-call autonomous audit of a GitHub repository with built-in ROI compression metrics, especially in agent workflows that already support HTTP 402 / x402 USDC micropayments. It is well-suited for lightweight due diligence, OSINT, or risk checks on GitHub URLs without needing to set up a full code-scanning pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:37:47.152Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-github-audit-a98d5d89"}