GitHub Trending Scraper
Pricing
from $0.10 / 1,000 dataset items
GitHub Trending Scraper
Scrapes GitHub trending repositories by language and time period. Extracts repo name, author, description, language, stars, forks, and daily star growth.
Pricing
from $0.10 / 1,000 dataset items
Rating
0.0
(0)
Developer
Moeeze Hassan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 hours ago
Last modified
Categories
Share
Scrape GitHub Trending repositories filtered by programming language, time period, and spoken language. The actor parses the trending page HTML and returns structured data for each repo including name, author, description, stars, forks, and daily/weekly star growth.
Features
- Filter trending repos by programming language (e.g.
python,javascript,go) - Choose a trending window:
daily,weekly, ormonthly - Filter by spoken language code (e.g.
en,zh,es) - Extracts star counts, fork counts, and star growth for the selected period
Input Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
language | string | ❌ | "" | Filter trending repos by programming language (e.g. python, javascript, go). Leave empty for all languages. |
since | string (enum) | ❌ | daily | Trending time period: daily, weekly, or monthly. |
spokenLanguage | string | ❌ | "" | Filter by spoken language code (e.g. en, zh, es). Leave empty for all. |
maxResults | integer | ❌ | 30 | Maximum number of trending repositories to scrape (1–100). |
Output Fields
Each pushed dataset item is a repository record with the following fields:
| Field | Type | Description |
|---|---|---|
name | string | Repository name. |
author | string | Repository owner / author. |
url | string | Full URL to the repository. |
description | string | Repository description. |
language | string | Primary programming language. |
stars | integer | Total star count. |
forks | integer | Total fork count. |
starsToday | integer | Stars gained during the selected period (daily/weekly/monthly). |
totalStars | integer | Total star count (alias of stars). |
Usage Example
Today's trending Python repositories
{"language": "python","since": "daily","maxResults": 30}
Weekly trending repos across all languages
{"since": "weekly","maxResults": 50}
Monthly trending Go repos in English
{"language": "go","since": "monthly","spokenLanguage": "en","maxResults": 25}
Run via the Apify CLI
$apify run github-trending-scraper --input '{"language":"python","since":"daily","maxResults":30}'
Data Source
Trending repositories are scraped from https://github.com/trending by parsing the rendered HTML with BeautifulSoup.