# Github Insight Scraper (`saswave/github-insight-scraper`) Actor

$0.8 / 1000 results. Extracts real-time repository velocity, contributor statistics, pull request movement, issue tracking, commit volume, contributors and code frequency  metrics across target GitHub repositories.

- **URL**: https://apify.com/saswave/github-insight-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** Automation, AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### GitHub Repository Insight Scraper

Extracts real-time repository velocity, contributor statistics, pull request movement, issue tracking, and commit volume metrics across target GitHub repositories.

By harvesting raw pulse data over custom time intervals, this tool gives engineering leads, product managers, and open-source analysts deep visibility into repository activity without rate-limit constraints.

### FEATURES

Flexible Pulse Windows: Analyze repository velocity over daily, halfweekly, weekly, or monthly time ranges.

Modular Insight Extraction: Target specific reporting features using modular configurations:

overview: High-level tracking of merged PRs, new issues, releases, and discussions.

summary: Line-level code churn metrics (additions, deletions, filesChanged, and total master commits).

top\_commits: Ranking individual contributor commit volume (commits, author handles, and gravatar avatars).

contributors: Weekly breakdown of commits, additions, and deletions per individual contributor.

commit\_activity: Daily commit counts mapped across a 7-day weekly breakdown (days array starting from Sunday).

code\_frequency: Historical weekly volume of code lines added (additions) and removed (deletions).

PR & Issue Activity Auditing: Monitor active pull requests (mergedPulls, newPulls) and issue resolutions (closedIssues, newIssues) along with author engagement counts.

Release & Discussion Tracking: Map structural tagged releases (releases) alongside active community discussions (discussions).

Multi-Repository Batch Auditing: Query multiple public GitHub repositories in a single run.

### USE CASES

Engineering Velocity & Contribution Tracking: Audit developer productivity and team bandwidth across open-source or internal repositories by monitoring commit distributions and active author metrics.

Competitor Open-Source Benchmarking: Compare contribution speeds, code churn (additions vs. deletions), and release frequencies across competing open-source projects (e.g., framework or AI model repositories).

Automated Weekly Executive Summaries: Generate weekly project health summaries to track newly opened bugs, merged pull requests, and tagging timelines.

Contributor Community Sourcing: Identify key contributors (authorsWithCommits, numAuthorsMergedPulls) driving core features within targeted open-source ecosystems.

### INPUT

**period**: "daily", "halfweekly", "weekly" or "monthly"

**feature**: "overview", "summary", "top\_commits", "contributors", "commit\_activity" or "code\_frequency"

**repositories**: list of targeted repositories

ex : \["https://github.com/anthropics/claude-code", "https://github.com/deepseek-ai/DeepSeek-V3"]

### OUTPUTS

Top Commits

```json
{
  "name": "Félix Malfait",
  "login": "FelixMalfait",
  "gravatar": "https://avatars.githubusercontent.com/u/6399865?s=60&v=4",
  "commits": 73,
  "hovercard_url": "/users/FelixMalfait/hovercard"
}
```

Summary

```json
{
  "authorsWithCommits": 35,
  "filesChanged": 3619,
  "additions": 88797,
  "deletions": 69740,
  "masterCommits": 225,
  "totalCommits": 648,
  "defaultBranch": "main",
  "comparePathUrl": "/twentyhq/twenty/compare/763d31a859d420efffe9fa6788a80f25803c180f...main"
}
```

Overview

```json
{
  "period": "weekly",
  "rangeLabel": "July 26, 2026 – August 2, 2026",
  "totalPullRequests": 270,
  "totalIssues": 44,
  "mergedPulls": [
      {
          "title": "i18n - docs translations",
          "createdAt": "2026-08-01T16:48:45Z",
          "mergedAt": "2026-08-01T16:48:56Z",
          "number": 23670,
          "path": "/twentyhq/twenty/pull/23670"
      }
  ],
  "numAuthorsMergedPulls": 23,
  "newPulls": [
      {
          "title": "Twenty-front: Record Calendar multi drag functionality",
          "createdAt": "2026-07-26T12:54:16Z",
          "mergedAt": null,
          "number": 23316,
          "path": "/twentyhq/twenty/pull/23316"
      }
  ],
  "numAuthorsNewPulls": 24,
  "closedIssues": [
      {
          "title": "Misleading error message for invalid nav menu item config",
          "createdAt": "2026-07-29T09:34:14Z",
          "closedAt": "2026-07-31T16:36:10Z",
          "number": 23484,
          "path": "/twentyhq/twenty/issues/23484"
      }
  ],
  "numAuthorsClosedIssues": 8,
  "newIssues": [
      {
          "title": "Kanban board on mobile: scrolling and dragging conflict, making navigation nearly impossible",
          "createdAt": "2026-08-02T06:53:41Z",
          "closedAt": null,
          "number": 23675,
          "path": "/twentyhq/twenty/issues/23675"
      }
  ],
  "numAuthorsNewIssues": 10,
  "discussions": [
      {
          "title": "User invite role select is only interactive after navigating to roles tab",
          "createdAt": "2026-07-26T14:27:16Z",
          "number": 23302,
          "path": "https://github.com/twentyhq/twenty/issues/23302",
          "commentCount": 0
      }
  ],
  "numAuthorsDiscussions": 12,
  "releases": [
      {
          "title": "twenty/v2.25.0",
          "createdAt": "2026-07-29T08:19:59Z",
          "number": "twenty/v2.25.0",
          "path": "/twentyhq/twenty/releases/tag/twenty%2Fv2.25.0"
      }
  ],
  "numAuthorsReleases": 2
}
```

Contributors

```json
{
  "author": {
    "id": 263973075,
    "login": "jportner-ant",
    "avatar": "https://avatars.githubusercontent.com/u/263973075?s=60&v=4",
    "path": "/jportner-ant",
    "hovercard_url": "/users/jportner-ant/hovercard"
  },
  "total": 1,
  "weeks": [
    {
      "week": 1739664000,
      "week_date": "16-02-2025",
      "additions": 0,
      "commits": 0,
      "deletions": 0
    },
    {
      "week": 1740268800,
      "week_date": "23-02-2025",
      "additions": 0,
      "commits": 0,
      "deletions": 0
    }
  ]
}
```

Commit Activity

```json
{
  "days": [
    0,
    6,
    0,
    0,
    3,
    3,
    3
  ],
  "total": 15,
  "week": 1754784000,
  "week_date": "10-08-2025"
}
```

Code Frequency

```json
{
  "timestamp": 1739664000,
  "date": "16-02-2025",
  "additions": 315,
  "deletions": 0
}
```

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `feature` (type: `string`):

Get insight data from github repos

## `period` (type: `string`):

Period range to get data from

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

Used to monitor github repositories

## Actor input object example

```json
{
  "feature": "summary",
  "period": "halfweekly",
  "repositories": [
    "https://github.com/anthropics/claude-code",
    "https://github.com/deepseek-ai/DeepSeek-V3"
  ]
}
```

# 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/anthropics/claude-code",
        "https://github.com/deepseek-ai/DeepSeek-V3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/github-insight-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/anthropics/claude-code",
        "https://github.com/deepseek-ai/DeepSeek-V3",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("saswave/github-insight-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/anthropics/claude-code",
    "https://github.com/deepseek-ai/DeepSeek-V3"
  ]
}' |
apify call saswave/github-insight-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/github-insight-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/vS6OQMllfc7KH4GHr/builds/m879ftl4Ie9aipfkv/openapi.json
