{"uid":"cap_Fs0Ur7SRDd8sAJJBfAajM","slug":"repo-health-scan-687944a3","name":"Repo Health Scan","description":"GitHub repo metadata: license, stars, maintenance state.","url":"https://k2so.wrong.systems/api/services/repo-health-scan","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","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"repo":{"type":"string","description":"Composite input parameter"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Repo Health Scan paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"score":{"type":"number"},"service":{"type":"string","description":"Service slug"},"summary":{"type":"string"},"evidence":{"type":"object"},"strengths":{"type":"array","items":{"type":"string"}},"confidence":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"riskFactors":{"type":"array","items":{"type":"string"}}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"service":"repo-health-scan"},"service":"repo-health-scan","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_or_w59-uEURoCGxKhsAYd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches GitHub repository metadata including license, star count, and maintenance state to produce a health score and risk assessment.","exampleAgentPrompt":"Can you scan the health of the GitHub repo 'facebook/react' and tell me its maintenance state, license, star count, and any risk factors I should know about before using it as a dependency?","exampleUseCases":[{"title":"Dependency due diligence before adoption","prompt":"Before I add 'lodash/lodash' as a dependency in our project, can you check its GitHub health — is it actively maintained, what license does it use, and are there any risk factors I should worry about?"},{"title":"Open source audit for security review","prompt":"We're auditing our open source dependencies. Can you run a health scan on 'expressjs/express' and give me its score, maintenance state, and any risks the team should know about?"},{"title":"Comparing repo viability for tool selection","prompt":"I'm choosing between two libraries — can you check the repo health of 'axios/axios' on GitHub and tell me how it scores, whether it's still being maintained, and what its license is?"}],"resultDescription":"Returns a JSON object with ok/paid status, a numeric health score, a plain-language summary, a list of strengths, a list of risk factors, a confidence rating, and an ISO-8601 timestamp indicating when the analysis was generated. Also includes the service slug and provider identifier.","failureModes":["Missing or invalid repo query parameter returns an error","Private or non-existent GitHub repository returns not-found error","Payment not completed results in 402 response requiring USDC payment","GitHub API rate limiting may cause transient failures","Ambiguous repo identifier (e.g. missing owner prefix) may return incorrect results"],"whenToPreferThis":"Use this endpoint when you need a quick, structured health assessment of a public GitHub repository — especially for dependency auditing, open source due diligence, or automated CI checks. Prefer this over manually scraping GitHub when you need a scored, risk-annotated summary in a single API call for $0.03 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:26:22.236Z","isFirstParty":false}