{"uid":"cap_qtIVdXM1bGP063RcKdFIp","slug":"api-strale-io-97f430f4","name":"GitHub Repository Analyzer","description":"Analyze a public GitHub repository. Returns tech stack, documentation quality, activity level, bus factor, maintenance health score. Uses GitHub API + AI analysis.","url":"https://api.strale.io/x402/github-repo-analyze?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"GitHub repo URL (e.g. https://github.com/owner/repo)"}}},"responseSchema":{"stars":{"type":"integer"},"tech_stack":{"type":"array"},"activity_level":{"type":"string"},"top_contributors":{"type":"array"},"maintenance_health_score":{"type":"integer"}},"example":{"request":{"url":"https://github.com/torvalds/linux"},"response":{"url":"https://github.com/torvalds/linux","repo":"torvalds/linux","_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0xd9795076c6b237c66ca9aa29b6f51de578e6b99ffc3524822cc30fa8446f3d6a"},"capability":"github-repo-analyze","latency_ms":4674,"provenance":{"source":"github-api","fetched_at":"2026-06-13T04:25:48.779Z"}},"forks":62686,"stars":236251,"license":"NOASSERTION","purpose":"The Linux kernel source tree, providing the core operating system kernel for Linux systems worldwide.","summary":"The Linux kernel is an exceptionally well-maintained, mission-critical project with very active development and distributed stewardship across numerous subsystems. Despite lacking in-repository documentation, the project maintains excellent health through established processes and a vast ecosystem of domain-specific maintainers. The low issue count and continuous integration of fixes across pinctrl, DRM, PCI, SPI, and other subsystems demonstrate robust operational management.","concerns":["No README documentation in repository","Documentation quality appears poor or minimal in repo itself","Contributor count shows as 0 (likely data collection issue)","Complex codebase requires external documentation for understanding","Future-dated commits (2026) suggest data inconsistency"],"languages":{"C":1404576876,"M4":3329,"XS":1239,"Awk":80045,"C++":186985,"Lex":68763,"RPC":962,"sed":2543,"Perl":1138579,"Roff":103378,"Rust":4788670,"SWIG":6319,"SmPL":172553,"Yacc":127361,"Jinja":32115,"Shell":5933601,"MATLAB":2482,"Python":4265933,"Clojure":2727,"Gherkin":10458,"Assembly":9720070,"Makefile":2905013,"UnrealScript":16878,"Linker Script":10017},"strengths":["Extremely active development with continuous merges and updates","Massive contributor base with distributed maintenance across subsystems","Well-established governance model with clear maintainer roles","Diverse language support including modern Rust integration","Low open issue count (3) relative to project scale","Consistent commit frequency across multiple kernel subsystems"],"tech_stack":["C","Assembly","Rust","Shell","Python","Makefile"],"open_issues":3,"activity_level":"very-active","dependency_count":null,"primary_language":"C","top_contributors":[],"bus_factor_estimate":8,"documentation_quality":"poor","maintenance_health_score":92}},"exampleRequest":{"url":"https://github.com/torvalds/linux"},"tags":["x402"],"displayCostAmount":"0.054001","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.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XFA8-aBuw10fH23G5tXOQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a public GitHub repository and returns tech stack, documentation quality, activity level, bus factor, and maintenance health score using GitHub API and AI.","exampleAgentPrompt":"Can you analyze the GitHub repo at https://github.com/vercel/next.js and tell me its tech stack, how well-documented it is, how active development is, the bus factor, and its overall maintenance health?","exampleUseCases":null,"resultDescription":"Returns a structured report including the detected tech stack, documentation quality rating, repository activity level, bus factor (number of key contributors), and an overall maintenance health score — all derived from GitHub data and AI analysis.","failureModes":["Private or non-existent repository URL returns an error or empty result","Rate limiting from GitHub API causing analysis failure","Malformed or non-GitHub URL provided in query parameter","Very new repositories with insufficient data may return low-confidence scores","Repository with no README or activity returns degraded metrics"],"whenToPreferThis":"Use this endpoint when you need a quick, structured AI-powered audit of any public GitHub repository — especially useful for evaluating open source dependencies, vetting third-party libraries, or performing due diligence on a project before adopting it. Prefer this over manual GitHub browsing when you need quantified scores for documentation quality, bus factor, or maintenance health.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-05-29T22:28:41.121Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:50:25.535Z","isFirstParty":false,"canonicalSlug":"api-strale-io-97f430f4"}