The Mine Works
← All Scrapers
Apify Actor · AI

GitHub Trending Scraper

github.com/trending by language and time window. The only reliable API

View on Apify Store →
From $0.60 / 1,000 repos
Status
State ● Live
Pricing PPE
Category AI
Overview

What it does

Scrape github.com/trending by language and time window (daily, weekly, monthly): rank, stars, forks, stars gained in the period, description, and language. There is no official API for GitHub Trending. This is the only way to get it programmatically.

Features

Built in

  • ✓ Daily, weekly, or monthly trending windows
  • ✓ Filter by programming language
  • ✓ Rank, stars, forks, and stars-gained-in-period
  • ✓ Repo description and primary language
  • ✓ No official API exists for this. This actor is the only programmatic path
FAQ

Common questions

Why isn't there an official API for this? +

GitHub has never shipped a public API for the /trending page. This actor scrapes the page directly so you can track trending repos programmatically.

What is the price? +

Pay per result: from $0.60 per 1,000 repos on Apify's higher plans, $1.00 on the free plan, plus a $0.005 start fee per run. Failed results are never charged.

Which time windows can I pull? +

Daily, weekly or monthly, matching the three windows github.com/trending itself offers.

What is in each repo record? +

Rank in the list, total stars, forks, stars gained during the period, the repo description and its primary language.

Can I narrow it to one language? +

Yes. Pass a language filter and the run returns only trending repositories for that language.

How often does trending change? +

GitHub recomputes the list continuously, so a daily window looks different each morning. Running on a schedule and storing each pull is how you get a history that github.com/trending itself does not keep.

What does stars gained mean? +

Stars added during the selected window only, not the lifetime total. It is the field that separates a genuinely rising repo from a large one that is merely popular.

Get Started

Try it on Apify.

Pay only for results delivered. No credit card required to sign up.

Apify Store

Find a ready-made scraper for your job

Apify has over 80,000 scrapers and automations, ours included. Start free with $5 of platform credit every month.