{"uid":"cap_EDQj3dHMfl_4PLPlz0-UG","slug":"onchainexpat-x402-github-repo-info-api-2f42a8f0","name":"OnchainExpat x402 GitHub Repo Info API","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-tools/github/repo","method":"POST","headers":{},"bodySchema":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","description":"Repository in 'owner/repo' format. Alias: 'repository'. E.g. 'coinbase/x402'"}}},"responseSchema":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"forks":{"type":"integer"},"owner":{"type":"string"},"stars":{"type":"integer"},"cached":{"type":"boolean"},"topics":{"type":"array"},"language":{"type":"string"},"description":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_YayPgbA0v_btU_ReM-lky","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 detailed information about a GitHub repository via a pay-per-request x402 protocol endpoint","exampleAgentPrompt":"Can you pull up the GitHub repo details for coinbase/cdp-sdk — things like the description, star count, main language, and license?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing GitHub repository metadata such as name, owner, description, star count, fork count, primary language, license, topics, and contributor information for the specified repository.","failureModes":["Repository not found — returns error if owner/repo name is invalid or repo is private","Payment failure — x402 payment not accepted or insufficient USDC balance","Rate limiting — too many requests in a short period","Malformed request — missing required owner or repo fields","GitHub API unavailable — upstream outage causes failure"],"whenToPreferThis":"Use this endpoint when you need on-demand GitHub repository metadata without managing GitHub API keys or rate limits, and you are operating in an x402 micropayment-enabled agent environment where pay-per-request at $0.01 USDC is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:43:09.792Z","isFirstParty":false}