{"uid":"cap_Bx5Cd-NGtbMKsdemu4Zv2","slug":"agentdiet-x402-github-audit-endpoint-f88814be","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://defi-yield.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_PoMcKmq6zAp17uTcNYkh-","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_FyTCbws0uiCjzlT0trxu2","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 or web URL via GET request, returning distilled intelligence with a compression ratio proof of return-on-investment, paid via x402 HTTP 402 USDC micropayment.","exampleAgentPrompt":"Can you run an x402 audit on https://github.com/some-org/some-repo using a GET request and show me the distilled intelligence summary and compression ratio it returns?","exampleUseCases":[{"title":"GitHub repository risk audit","prompt":"Audit the GitHub repo at https://github.com/defi-protocol/core-contracts and give me the distilled intelligence summary — I want to know the compression ratio and any risk signals it surfaces."},{"title":"DeFi URL intelligence distillation","prompt":"Distill the content at https://defi-yield.agentdiet.dev into a compressed intelligence summary using an x402 audit GET call, and tell me the ROI proof compression ratio you get back."},{"title":"On-chain resource OSINT extraction","prompt":"Run an x402 audit on https://etherscan.io/address/0xSomeTokenContract via GET and return the distilled data object and compression ratio so I can assess the on-chain footprint quickly."}],"resultDescription":"Returns a JSON object with a 'data' field containing distilled intelligence, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including a 'compression_ratio_pct' value (e.g. 91.4%) indicating how much the source content was compressed.","failureModes":["Missing or invalid 'url' query parameter returns error or empty data object","HTTP 402 payment not fulfilled results in payment-required error before processing","Unreachable or invalid target URL causes fetch failure","Unsupported HTTP method (not GET or POST) rejected by schema validation","Rate limiting or quota exceeded may return error status"],"whenToPreferThis":"Choose this endpoint when you need a cheap ($0.01 USDC), autonomous, pay-per-call distillation and audit of a GitHub repo or web URL with measurable ROI proof via compression ratio. Prefer it over general web scrapers when you specifically want compressed intelligence output with an on-chain micropayment flow and B2A compatibility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:39:56.637Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-github-audit-endpoint-f88814be"}