# GitHub Repo, Maintainer & Company Signal Extractor (`w3crawler/github-repo-intelligence`) Actor

Extract public GitHub repository, maintainer, and commercialization signals from organizations, repository lists, topics, and search queries.

- **URL**: https://apify.com/w3crawler/github-repo-intelligence.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 repository intelligences

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## GitHub Repo, Maintainer & Company Signal Extractor

Collect bounded public GitHub repository intelligence from repository URLs, `owner/name` values, or repository search queries. The Actor reads GitHub's public REST responses and uses a public repository-page fallback only when the API returns a not-found response. It normalizes repository metadata, releases, README details, languages, topics, public owner/contributor profiles, and transparent rule-based signals.

### Public source behavior

Public GitHub repository pages expose the repository name, owner, description, language, stars, forks, issues, topics, README, releases, and public maintainer/contributor links. The Actor preserves those public fields with API/page attribution and bounded detail requests. It does not log in, access private repositories, bypass CAPTCHA or rate limits, follow external sites for enrichment, or claim that a commercialization signal proves revenue, employment, incorporation, or legal company status.

### Input

```json
{
  "repositories": "apify/crawlee",
  "maxResults": 1,
  "includeReadme": true,
  "includeLanguages": true,
  "includeTopics": true,
  "includeReleases": true,
  "maxReleases": 3,
  "includeMaintainer": true,
  "includeContributors": false,
  "includeCommercializationSignals": true
}
```

Use `repositories` for exact public targets, or `searchQuery`/`searchQueries` for bounded discovery. `maxResults`, `maxPages`, and `perPage` cap discovery; concurrency, delay, timeout, retries, and enrichment toggles control request cost. An optional read-only GitHub token may increase public API limits; it is never written to dataset rows or logs.

### Dataset output

Normal rows contain public repository identity and stats, links, timestamps, optional README/language/topic/release enrichment, public maintainer and contributors, and explainable signal evidence. Internal record IDs/types, status/data flags, and source-website markers are not emitted in normal rows. Operational run duration, request controls, and counts are stored separately in the `run-summary` key-value record.

```json
{
  "repositoryId": 123456789,
  "fullName": "apify/crawlee",
  "name": "crawlee",
  "sourceUrl": "https://api.github.com/repos/apify/crawlee",
  "url": "https://github.com/apify/crawlee",
  "stars": 1234,
  "forks": 120,
  "language": "TypeScript",
  "maintainer": {
    "login": "apify",
    "type": "Organization",
    "profileUrl": "https://github.com/apify"
  },
  "companySignals": {
    "score": 35,
    "labels": ["organization-owner", "developer-product"]
  },
  "scrapedAt": "2026-09-08T00:00:00.000Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Local run and validation

```bash
npm ci
npm test
npm run lint
apify validate-schema
apify run --purge --input-file test/inputs/live-smoke.json
npm run validate-datasets
```

Keep runs bounded and respectful of GitHub's public API limits and terms. If GitHub returns an access-control, login, or rate-limit boundary, the Actor skips the unavailable enrichment or target rather than bypassing it.

# Actor input Schema

## `searchQuery` (type: `string`):

Single search query sent to GitHub repository search (for example: javascript, web scraping, playwright).

## `searchQueries` (type: `string`):

Optional newline-separated list of GitHub repository search queries.

## `repositories` (type: `string`):

Optional newline-separated repository URLs or owner/repo values to enrich, e.g. `https://github.com/example-org/example-repository`.

## `githubToken` (type: `string`):

Optional token to increase rate limits. Keep read-only, no `repo` scopes required for public data.

## `searchSort` (type: `string`):

GitHub API sort mode for search results.

## `searchOrder` (type: `string`):

Sort order for search results.

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

Hard cap across all queries and direct repository entries.

## `maxPages` (type: `integer`):

Pagination cap for each search query.

## `perPage` (type: `integer`):

GitHub search page size (bounded by endpoint limits).

## `maxConcurrency` (type: `integer`):

Upper bound of concurrent repository detail requests.

## `requestDelayMs` (type: `integer`):

Delay between GitHub API calls to reduce throttling risk.

## `requestTimeoutMs` (type: `integer`):

Maximum time to wait for each public GitHub response.

## `maxRetries` (type: `integer`):

Number of attempts for a public GitHub request, including the first attempt.

## `includeReleases` (type: `boolean`):

Fetch the latest public releases from the repository releases endpoint.

## `maxReleases` (type: `integer`):

Maximum number of recent public release records attached to each repository.

## `includeReadme` (type: `boolean`):

Download and include README metadata for repositories where available.

## `includeLanguages` (type: `boolean`):

Enrich repository records with top language byte allocations.

## `includeTopics` (type: `boolean`):

Enrich repository records with detected topics.

## `includeMaintainer` (type: `boolean`):

Fetch the public owner or organization profile for each repository.

## `includeContributors` (type: `boolean`):

Fetch a bounded list of public contributor accounts for maintainer context.

## `maxContributors` (type: `integer`):

Maximum public contributor records attached to each repository.

## `includeCommercializationSignals` (type: `boolean`):

Derive transparent rule-based commercialization indicators from public repository and maintainer fields.

## Actor input object example

```json
{
  "searchQuery": "web scraping",
  "searchQueries": "",
  "repositories": "",
  "searchSort": "stars",
  "searchOrder": "desc",
  "maxResults": 10,
  "maxPages": 2,
  "perPage": 30,
  "maxConcurrency": 3,
  "requestDelayMs": 350,
  "requestTimeoutMs": 20000,
  "maxRetries": 3,
  "includeReleases": true,
  "maxReleases": 5,
  "includeReadme": true,
  "includeLanguages": true,
  "includeTopics": true,
  "includeMaintainer": true,
  "includeContributors": true,
  "maxContributors": 5,
  "includeCommercializationSignals": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

JSON run summary stored under the run-summary key.

# 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 = {
    "searchQuery": "web scraping",
    "searchQueries": "",
    "repositories": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/github-repo-intelligence").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 = {
    "searchQuery": "web scraping",
    "searchQueries": "",
    "repositories": "",
}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/github-repo-intelligence").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 '{
  "searchQuery": "web scraping",
  "searchQueries": "",
  "repositories": ""
}' |
apify call w3crawler/github-repo-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/github-repo-intelligence"
        }
    }
}
```

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/9SV8HEUoccU4ITWaw/builds/IEBUJTAfZFJVP53sz/openapi.json
