Catalog/dev-github-contributors

Developer

GitHub contributors & bus-factor API

Ranks a repo's top human contributors by commit count (bots excluded), computes each one's percentage SHARE of all commits, and derives the BUS FACTOR — how few people hold 50%+ of the work — with a key-person risk rating (high/medium/low). Answers 'who maintains owner/repo', 'how concentrated is contribution', 'what is the bus factor / key-person risk of this dependency'.

Price$0.01per request
MethodPOST
Route/v1/dev/github-contributors
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache43200s public
devgithubcontributorsbus-factormaintainersriskopen-sourcesupply-chain
API URLhttps://x402.hexl.dev/v1/dev/github-contributors
Integration docs
Example request
{
  "repo": "expressjs/express",
  "topN": 5
}
Example response
{
  "repo": "expressjs/express",
  "contributorCount": 99,
  "botCount": 1,
  "totalContributions": 5727,
  "busFactor": 1,
  "busFactorRisk": "high",
  "topContributors": [
    {
      "login": "tj",
      "contributions": 3881,
      "url": "https://github.com/tj",
      "isBot": false,
      "share": 67.8
    },
    {
      "login": "dougwilson",
      "contributions": 1232,
      "url": "https://github.com/dougwilson",
      "isBot": false,
      "share": 21.5
    },
    {
      "login": "jonathanong",
      "contributions": 84,
      "url": "https://github.com/jonathanong",
      "isBot": false,
      "share": 1.5
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "repo"
  ],
  "properties": {
    "repo": {
      "type": "string",
      "description": "'owner/name' or github.com URL."
    },
    "topN": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "How many top contributors to return."
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}