{"uid":"cap_NFi-re1xL2JFQtIAy_enj","slug":"foundry-github-repository-metadata-lookup-30eca87e","name":"Foundry: GitHub Repository Metadata Lookup","description":"Pay-per-call data for agents: check x402 sellers before paying them, and read Base contracts' proxy, owner and privileged powers straight from the chain.","url":"https://minty-sprout.onrender.com/v1/github-repo?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"'owner/repo' or a GitHub URL"}}},"responseSchema":{"type":"json","example":{"url":"https://github.com/coinbase/x402","repo":"coinbase/x402","forks":296,"stars":177,"created":"2026-04-02T16:51:03Z","license":"Apache-2.0","archived":false,"language":"TypeScript","last_push":"2026-10-27T22:27:13Z","description":"A payments protocol for the internet. Built on HTTP.","open_issues":246}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_We_fwMbP5_qRYgf2Q6nCr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches public metadata for a GitHub repository including stars, forks, license, language, description, and activity stats.","exampleAgentPrompt":"Can you pull up the GitHub repo stats for coinbase/x402 — I want to see the star count, forks, license, language, and whether it's still actively maintained?","exampleUseCases":[{"title":"Vetting an open-source dependency","prompt":"Before I add this library to my project, can you check the GitHub repo 'expressjs/express' and tell me how many stars and forks it has, what license it uses, and when it was last pushed to?"},{"title":"Checking if a project is abandoned","prompt":"Is the GitHub repo at https://github.com/tj/commander.js still active? I want to know the last push date, open issues, and whether it's been archived."},{"title":"Comparing repo popularity for tech selection","prompt":"Can you look up the GitHub stats for 'vercel/next.js' — specifically stars, forks, open issues, and the programming language — so I can compare it with another framework?"}],"resultDescription":"Returns a JSON object containing the repository's full name, star count, fork count, license identifier, primary programming language, description, creation date, last push timestamp, open issue count, and whether the repository is archived.","failureModes":["Invalid or non-existent repository slug returns an error","Private repositories cannot be accessed","Malformed GitHub URL may not parse correctly","Rate limits or connectivity issues may cause timeouts","Repos with no license field return null for license"],"whenToPreferThis":"Use this endpoint when you need quick, structured public metadata about a GitHub repository — especially star/fork counts, license, language, and activity signals — without needing full code access or GitHub API authentication. Ideal for due diligence on dependencies, evaluating project health, or populating enrichment pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.894Z","isFirstParty":false,"canonicalSlug":"foundry-github-repository-metadata-lookup-30eca87e"}