# GitHub Contributors Scraper – Repo Contributor Lists (`devil_port369-owner/github-contributors-scraper`) Actor

Scrape public GitHub repository contributors without a token. Username, contributions count, profile URL, and avatar in linear JSON rows. Streams results page by page into the dataset.

- **URL**: https://apify.com/devil\_port369-owner/github-contributors-scraper.md
- **Developed by:** [DataFusionX](https://apify.com/devil_port369-owner) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does GitHub Contributors Scraper do?

**GitHub Contributors Scraper extracts the full contributor list for any public GitHub repository — including usernames, commit contribution counts, and profile links — from a repo URL or `owner/repo` string.** It's built for open-source maintainers, engineering managers, and researchers who need to analyze who is really driving a codebase forward. Unlike scrolling through GitHub's paginated contributors tab, this Actor returns clean, structured data for one or many repositories in a single run, with no API token or rate-limit juggling required.

### Why scrape GitHub contributors? (Business Use Cases)

- **Open-Source Health Analysis** — Assess how concentrated or distributed a project's contributions are, a key signal for dependency risk assessment before adopting a library.
- **Engineering Talent Sourcing** — Identify top contributors to influential repositories as strong recruiting leads for specialized roles (e.g. compilers, kernels, CLIs).
- **Competitive Intelligence** — Track which engineers are actively shipping code on a competitor's or partner's open-source projects.
- **Academic Research on OSS Collaboration** — Study contribution patterns, bus-factor risk, and maintainer turnover across large codebases like the Linux kernel.

### Key Features

- Accepts repository URLs or `owner/repo` shorthand, mixed in the same run
- Configurable `maxResults` cap per repository, or unlimited (`0`) for full contributor lists
- Returns contribution counts alongside contributor profile metadata
- Structured JSON output ready for CSV, Excel, or BI tool import
- Efficient compute-unit usage even on large repositories with thousands of contributors
- Flags site-admin (GitHub staff) contributors via `site_admin`

### Input Parameters

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `repositories` | Array of strings | Yes | — | List of repository URLs or `owner/repo` strings to scrape contributors from |
| `maxResults` | Integer | No | `0` | Maximum number of contributors to return per repository; `0` means no limit |

Valid input sample:

```json
{
  "repositories": [
    "https://github.com/cli/cli",
    "torvalds/linux"
  ],
  "maxResults": 0
}
```

### Output Data Structure

Each output item represents one contributor to one repository, including the repo they contributed to, their GitHub identity, and their total contribution count.

```json
[
  {
    "repo_full_name": "cli/cli",
    "repo_owner": "cli",
    "repo_name": "cli",
    "username": "mislav",
    "id": 887,
    "type": "User",
    "contributions": 2061,
    "html_url": "https://github.com/mislav",
    "site_admin": false,
    "scraped_at": "2026-09-15T05:13:20.716580+00:00"
  }
]
```

### How to use GitHub Contributors Scraper

1. Configure `repositories` (and optionally `maxResults`) in the input.
2. Click "Start" or trigger a run via the Apify API, Python, or JavaScript SDK.
3. Preview the contributor dataset in the Apify Console.
4. Export to JSON, CSV, or Excel, or forward it through Zapier, Webhooks, or Google Drive.

### Integrations & Export Options

Results export natively to JSON, CSV, Excel, and XML, and connect to no-code automation tools like n8n, Zapier, and Make. The Actor also supports direct database pipeline integrations (Postgres, BigQuery, Airtable) and webhook-triggered syncs for continuous contributor monitoring.

### Custom Scrapers & Enterprise Automation Solutions

> Need a customized scraping solution, tailored workflow automation, or enterprise data extraction pipeline? Get custom development, maintenance, and setup tailored to your exact infrastructure requirements:
> 📬 **[Submit Your Custom Automation Requirements](https://mk1995.github.io/contact/)**

### Frequently Asked Questions (FAQ)

**1. Is scraping GitHub contributor data legal and compliant?**
Contributor data (username, contribution counts) is publicly displayed on GitHub and generally fine to collect, but always check GitHub's Terms of Service and relevant data protection regulations before commercial use.

**2. How much does it cost to scrape GitHub contributors using this Actor?**
Cost scales with the number of repositories and contributors fetched, billed via Apify compute units — typically inexpensive even for repositories with thousands of contributors.

**3. Do I need proxies or coding skills to run this scraper?**
No. The Actor runs from a simple JSON input in the Apify Console — no proxy configuration or coding required.

**4. How does this compare to the official GitHub API?**
The GitHub REST API's contributors endpoint is paginated and rate-limited per token. This Actor automates pagination and batching across multiple repositories in one run, returning a single consolidated dataset.

# Actor input Schema

## `repositories` (type: `array`):

Repo URLs or owner/name (e.g. https://github.com/cli/cli, torvalds/linux).

## `maxResults` (type: `integer`):

Maximum contributors per repository. 0 = all pages.

## Actor input object example

```json
{
  "repositories": [
    "https://github.com/cli/cli",
    "torvalds/linux"
  ],
  "maxResults": 0
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "repositories": [
        "https://github.com/cli/cli",
        "torvalds/linux"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("devil_port369-owner/github-contributors-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "repositories": [
        "https://github.com/cli/cli",
        "torvalds/linux",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("devil_port369-owner/github-contributors-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "repositories": [
    "https://github.com/cli/cli",
    "torvalds/linux"
  ]
}' |
apify call devil_port369-owner/github-contributors-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devil_port369-owner/github-contributors-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hzA8jdv7qdK6nkVG9/builds/EIA2dLXQqgcNtPDEA/openapi.json
