GitHub Trending Repositories Scraper avatar

GitHub Trending Repositories Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
GitHub Trending Repositories Scraper

GitHub Trending Repositories Scraper

Scrape trending GitHub repositories by programming language and time range. Get repo names, stars, forks, descriptions, and daily/weekly/monthly star growth in structured JSON.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Daniel Wilson

Daniel Wilson

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

4 days ago

Last modified

Categories

Share

Scrape trending repositories from GitHub Trending by programming language and time range. Get repo names, stars, forks, descriptions, primary languages, and period star counts — all in structured JSON output.

This Actor runs on the Apify platform, giving you scheduled runs, API access, and automatic data export to JSON, CSV, or Excel.

This Actor extracts repository data from GitHub Trending pages. Each result includes the repo name, full URL, description, primary programming language, total star count, fork count, and stars gained in the selected period (today, this week, or this month).

It supports all programming languages available on GitHub Trending — simply enter a language like python or javascript to filter results, or leave it empty for all languages.

  • Track trending repos — Monitor what's popular daily, weekly, or monthly across any programming language
  • Market research — Identify rising projects and tools by language ecosystem
  • Developer intelligence — Feed trending data into dashboards, newsletters, or recommendation engines
  • Automated curation — Schedule daily runs and get alerts when new repos trend in your stack

Use Cases

Set language: "python" and since: "daily" to get the top trending Python repos each day. The stars_today field shows exactly how many stars were gained in the period.

Use language: "python" with since: "weekly" to discover trending AI and LLM agent frameworks. Filter results by keywords like "agent", "LLM", or "transformer" in the description field.

Set language: "javascript" and since: "weekly" to track which JS frameworks are gaining traction. The star count and fork count help gauge community adoption.

How to discover new Rust projects

Use language: "rust" with since: "monthly" for a broader view of the Rust ecosystem. Rust trending repos often include CLI tools, WebAssembly projects, and systems libraries.

  1. Open the Actor in Apify Console
  2. (Optional) Enter a programming language like python or javascript to filter results
  3. Select the time range: Daily, Weekly, or Monthly
  4. Set how many repositories you want (max 100)
  5. Click Run and wait for results

That's it. Your scraped data appears as a structured table in the Output tab and can be downloaded in JSON, HTML, CSV, or Excel.

Input

FieldTypeDefaultDescription
languagestringProgramming language filter (e.g. python, javascript). Leave empty for all languages.
sincestringdailyTime range: daily, weekly, or monthly
max_resultsinteger25Maximum number of repositories to return (1–100)

Example input:

{
"language": "python",
"since": "weekly",
"max_results": 10
}

Output

Each result is a repository object with the following fields:

{
"name": "psf/black",
"url": "https://github.com/psf/black",
"description": "The uncompromising Python code formatter",
"language": "Python",
"stars": 40123,
"forks": 2567,
"stars_today": 89,
"stars_period_label": "stars today"
}

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

Data fields

FieldTypeDescription
namestringFull repository name (owner/repo)
urlstringFull GitHub URL
descriptionstringRepository description
languagestring or nullPrimary programming language
starsintegerTotal star count
forksintegerTotal fork count
stars_todayinteger or nullStars gained in the selected period
stars_period_labelstringPeriod label (e.g. "stars today", "stars this week")

Pricing

Cost example: 25 repos = 15 paid results × $0.02 = $0.30 per run. First 10 results are free.

The first 10 results per run are free. After that, each additional result costs $0.02. A typical daily run with 25 results costs $0.30.

Tips

  • Filter by language — Use the language field to narrow results to your stack. Empty = all languages.
  • Choose the right sincedaily works best for fresh trends. Use weekly or monthly for sustained momentum.
  • Limit results — Set max_results to 25 or fewer to stay within the free tier.
  • Schedule daily — For the best experience, schedule this Actor to run daily and track trending repos over time.

FAQ, disclaimers, and support

Is scraping GitHub trending allowed? This Actor only extracts publicly available data from GitHub's trending page, which is accessible without authentication. Always review GitHub's Terms of Service for compliance.

Known limitations: The Actor parses the public GitHub trending HTML page, so results depend on GitHub's page structure. If GitHub significantly changes their markup, the scraper may need an update.

Need help? Open an issue on the Issues tab or contact us for custom solutions.