{"uid":"cap_X0DDy-fXowbCugsBtDm1M","slug":"preflight-checker-github-repo-health-63911285","name":"PreFlight Checker – GitHub Repo Health","description":"GitHub repo health check / audit / verify: stars, forks, open issues, last commit age, archived status, license.","url":"https://x402-api-catalog.onrender.com/api/repo-health","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","description":"GitHub repo in owner/repo format"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"repo":{"type":"string"},"score":{"type":"number"},"verdict":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"repo":"facebook/react","score":85,"reasons":[],"signals":{},"verdict":"healthy"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y9oKEJqFs6yxETW9XcPLO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 and returns a health score with verdict, covering stars, forks, open issues, last commit age, archived status, and license.","exampleAgentPrompt":"Can you run a health check on the openai/openai-python GitHub repo and tell me if it's actively maintained, what its score is, and whether it has a proper license?","exampleUseCases":[{"title":"Dependency due diligence before adoption","prompt":"Before I add this library to our project, can you audit the github repo tensorflow/tensorflow and tell me if it's healthy — check the commit activity, open issues, stars, and whether it's archived?"},{"title":"Open source project vetting for investment","prompt":"I'm evaluating an open source startup — can you do a repo health check on supabase/supabase and give me a verdict on how active and trustworthy it is?"},{"title":"Automated dependency monitoring in CI pipeline","prompt":"Check the health of langchain-ai/langchain on GitHub and flag it if the last commit is more than 90 days old or it's been archived."}],"resultDescription":"Returns a JSON object with the repository identifier, a numeric health score, a human-readable verdict, and underlying metrics including stars, forks, open issue count, last commit age, archived status, and license information.","failureModes":["Invalid or non-existent repo format returns an error (repo must be owner/repo)","Private repositories may not be accessible and return an error","Rate limiting from GitHub's API could cause intermittent failures","Repos with no commits or newly created repos may produce incomplete metrics","Payment failure (insufficient USDC balance) returns 402 before the check runs"],"whenToPreferThis":"Use this endpoint when you need a quick, scored health summary of a GitHub repository — especially for dependency vetting, open source due diligence, or automated checks before integrating a library. It saves you from manually inspecting multiple GitHub pages and aggregates key signals into a single score and verdict. Prefer this over raw GitHub API calls when you want an opinionated health verdict rather than raw metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:05.715Z","isFirstParty":false}