{"uid":"cap_dz0Jcr-z-JVazDqGxC4Ed","slug":"x402-broker-github-endpoint-agentdiet-dev-bd4f9a7e","name":"X402-Broker GitHub Endpoint (agentdiet.dev)","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/github?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":{"repo":{"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"}]},"paymentMethods":[{"uid":"pm_T-1GPc7xz5i_JIiiMGdBE","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":"Fetches GitHub repository data via an x402-gated MCP broker gateway, returning compressed structured results settled in USDC on Base.","exampleAgentPrompt":"Pull the repository data for 'openai/openai-python' from GitHub through the agentdiet MCP broker — use a GET request and give me the structured results.","exampleUseCases":[{"title":"Agent fetches GitHub repo metadata","prompt":"Look up the GitHub repo 'vercel/next.js' through the agentdiet broker and return whatever structured data comes back about it."},{"title":"Automated repo discovery for agent tooling","prompt":"I need to check the details of the GitHub repository 'langchain-ai/langchain' — can you pull that through the MCP gateway and show me the compressed output?"},{"title":"x402-gated GitHub data for AI pipeline","prompt":"Use the agentdiet x402 broker to fetch GitHub data for the repo 'microsoft/autogen' via a GET request and return the result with the compression proof."}],"resultDescription":"A JSON object with a 'data' field containing the fetched GitHub repository information, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including a compression_ratio_pct metric (e.g. 91.4%) indicating how efficiently data was returned.","failureModes":["Missing or invalid 'repo' query parameter results in empty or error response","Payment not settled — x402 402 response if USDC payment on Base fails","Invalid HTTP method (not GET or POST) rejected by schema validation","GitHub API rate limiting or downstream unavailability causing upstream error","Malformed input object missing required 'type' or 'method' fields"],"whenToPreferThis":"Choose this endpoint when you need to access GitHub repository data through an AI-agent-native, x402-gated broker that settles micropayments in USDC on Base — particularly useful in autonomous agent pipelines that require deterministic, pay-per-call access to GitHub data without managing OAuth credentials, or when operating within an MCP/A2A infrastructure that natively supports x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:14.409Z","isFirstParty":false,"canonicalSlug":"x402-broker-github-endpoint-agentdiet-dev-bd4f9a7e"}