# GitHub Trending Scraper - Daily, Weekly, Monthly Repos (`fetchcraft/github-trending-scraper`) Actor

Scrape the GitHub Trending page by daily, weekly, or monthly window. Filter by programming language and spoken language. Returns repo name, description, stars, language, and trend rank. Free preview mode (5 results). Useful for developer-tool sales and OSS research.

- **URL**: https://apify.com/fetchcraft/github-trending-scraper.md
- **Developed by:** [Emily Ward](https://apify.com/fetchcraft) (community)
- **Categories:** Developer tools, Other, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00 / 1,000 trending repo returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Trending Scraper

**Pulls today's, this week's, or this month's trending GitHub repositories with full structured data. Filter by language. Pair with the AI Sales Personalizer for personalized outreach to maintainers.**

### What you get back per repository

| Field | Description |
| --- | --- |
| `name` | Repository name |
| `owner` | Owner (user or org) |
| `description` | One-line repo description |
| `language` | Primary programming language |
| `stars` | Total stars (lifetime) |
| `stars_period` | New stars in the selected window (today / this week / this month) |
| `forks` | Total forks |
| `repo_url` | Direct repo URL on GitHub |
| `owner_url` | Owner profile URL (good for outreach research) |

### Pricing

- **Preview mode**: $0 (5 results, no charges, use to verify)
- **Standard**: $0.01 per repository returned

A daily run with no language filter returns ~25 repos = $0.25.
A weekly run returns ~25 repos = $0.25.
Combined monthly cost for daily monitoring: ~$7.50.

### Common use cases

**Developer Relations teams** at devtools companies use GitHub Trending to identify maintainers of popular OSS projects, then send personalized outreach offering free Pro tier access, integration partnerships, or feature requests.

**Recruiters at AI/devtools companies** use trending repos as a signal of active maintainers worth headhunting, particularly in trending languages like Rust, Go, and Python.

**Investors and scouts** monitor trending repos as a leading indicator of which OSS projects might commercialize next (Hashicorp, Docker, Vercel, Vercel's Next.js, and Anthropic's MCP all surfaced via GitHub trending years before they became mainstream).

**Partnership teams at platforms** like Vercel, Supabase, and Cloudflare watch trending repos to identify integration candidates.

### How to use it

1. Click **Try for free** with `preview_mode` ticked.
2. Pick the time window: daily (today's hot repos), weekly, or monthly.
3. (Optional) Filter by `language`: javascript, typescript, python, rust, go, etc.
4. Hit Start.

### The pipeline: combine with AI Sales Personalizer

This actor returns repo URLs. Run them through **AI Sales Personalizer** with a developer-tools seller pitch and get back 25 personalized cold openers per day, ready for outreach.

Cost: $0.25 (this scraper) + $3.75 (25 personalizations at $0.15) = $4/day for a fresh, personalized devrel pipeline. Or $120/month for a daily refresh.

Compare to a devrel SDR ($8,000+/month) or a Clay/Smartlead subscription ($149+/month).

### Sister actors

- **AI Sales Personalizer**: turns repo URLs into personalized cold openers
- **Show HN Lead Scraper**: complementary launch-discovery feed
- **ProductHunt Daily Launches Scraper**: complementary launch-discovery feed

Pairing all three gives ~250 fresh B2B targets per week for under $8.

### What this actor does NOT do

- It does not extract email addresses (use Clearbit or Apollo for that)
- It does not crawl the repo's source code or issues
- It does not access private repositories

### Tips

1. **Run daily for the freshest signal.** GitHub trending changes daily based on star velocity.
2. **Filter by language for sharper targeting.** A devtools company selling to TypeScript developers wants `language: typescript`.
3. **Combine daily + weekly + monthly windows** for full coverage. Daily catches breakout repos. Monthly catches stable popular projects.

### FAQ

**Q: Is this allowed by GitHub?**
GitHub's trending page is public and indexable. We respect User-Agent norms and do not rate-spam the endpoint.

**Q: Why not the GitHub API?**
The official GitHub API does not expose "trending" as an endpoint. The trending page is generated by GitHub's internal algorithm and only available via the website.

**Q: How often does the data refresh?**
GitHub recomputes trending every few hours. Running this actor once daily is sufficient for most use cases.

### Tags

`github` `github-trending` `leads` `lead-generation` `devrel` `developer-relations` `recruiting` `tech-recruiting` `b2b` `oss-discovery`

---

Built by Emily Ward, Sydney. Pairs natively with the AI Sales Personalizer.


### Integrations

This actor works out of the box with every Apify-supported integration:

- **API**: call via Apify API or any official SDK (Python, JavaScript, PHP, .NET). Returns a clean dataset URL.
- **Schedule**: set a daily, weekly, or custom cron cadence in Apify Console. Combine with `notification` for fresh feeds.
- **Webhooks**: wire `ACTOR.RUN.SUCCEEDED` to Slack, Discord, Zapier, Make, n8n, Pipedream, or any HTTPS endpoint.
- **MCP**: this actor is discoverable through Apify's hosted MCP server at `mcp.apify.com` for Claude, Cursor, Cline, Windsurf, and other MCP clients.
- **n8n / Make / Zapier**: native HTTP-Request integration. Trigger the actor on schedule, pipe results to Google Sheets, Airtable, your CRM, or any database.

### Try it free

Every Apify user gets **$5/month in free platform credits** (around 250 events at this actor's per-event price). Run preview mode first to confirm output shape before scaling.

New to Apify? [Sign up here](https://apify.com/sign-up?fpr=fetchcraft) to get free credits on signup.

### What's New

- 2026-06-03: Metadata, categories, and SEO refreshed. Latest version live on Apify Store.

### Last Updated

2026-06-03

# Actor input Schema

## `since` (type: `string`):

Trending window. Daily = today's hot repos. Weekly = this week. Monthly = this month.
## `language` (type: `string`):

Limit to repos in a specific language. Leave blank for all languages. Examples: javascript, typescript, python, rust, go.
## `spoken_language` (type: `string`):

Limit by spoken language code. Example: en, ja, zh. Leave blank for all.
## `preview_mode` (type: `boolean`):

If true, returns 5 results max and does not charge. Use to verify the actor works.

## Actor input object example

```json
{
  "since": "daily",
  "language": "",
  "spoken_language": "",
  "preview_mode": false
}
````

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fetchcraft/github-trending-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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call fetchcraft/github-trending-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fetchcraft/github-trending-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "GitHub Trending Scraper - Daily, Weekly, Monthly Repos",
        "description": "Scrape the GitHub Trending page by daily, weekly, or monthly window. Filter by programming language and spoken language. Returns repo name, description, stars, language, and trend rank. Free preview mode (5 results). Useful for developer-tool sales and OSS research.",
        "version": "0.1",
        "x-build-id": "reVsY8lHkOdXonAs8"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/fetchcraft~github-trending-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-fetchcraft-github-trending-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/fetchcraft~github-trending-scraper/runs": {
            "post": {
                "operationId": "runs-sync-fetchcraft-github-trending-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/fetchcraft~github-trending-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-fetchcraft-github-trending-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "since": {
                        "title": "Time period",
                        "enum": [
                            "daily",
                            "weekly",
                            "monthly"
                        ],
                        "type": "string",
                        "description": "Trending window. Daily = today's hot repos. Weekly = this week. Monthly = this month.",
                        "default": "daily"
                    },
                    "language": {
                        "title": "Programming language filter",
                        "type": "string",
                        "description": "Limit to repos in a specific language. Leave blank for all languages. Examples: javascript, typescript, python, rust, go.",
                        "default": ""
                    },
                    "spoken_language": {
                        "title": "Spoken language filter (rare)",
                        "type": "string",
                        "description": "Limit by spoken language code. Example: en, ja, zh. Leave blank for all.",
                        "default": ""
                    },
                    "preview_mode": {
                        "title": "Preview mode (free, 5 results max)",
                        "type": "boolean",
                        "description": "If true, returns 5 results max and does not charge. Use to verify the actor works.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
