GitHub Trending Repositories Scraper avatar

GitHub Trending Repositories Scraper

Pricing

from $1.20 / 1,000 repositories

Go to Apify Store
GitHub Trending Repositories Scraper

GitHub Trending Repositories Scraper

Scrapes github.com/trending: the daily, weekly or monthly trending repositories or developers, by programming language and spoken language. One row per repo or developer with stars, forks, stars-in-period and description — no API key, no proxies.

Pricing

from $1.20 / 1,000 repositories

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Price: $2.00 per 1,000 rows on the Free plan, down to $1.20 per 1,000 on Gold and above (plus a $0.00005 start fee). A 25-repository trending page costs about $0.05, or $0.03 on Gold. Rows that are not returned are never charged.

GitHub Trending Repositories Scraper is an Apify Actor that reads github.com/trending and github.com/trending/developers and turns them into structured rows — no API key, no proxies, no headless browser. Give it one or more programming-language slugs (or leave a row empty for all languages), a time range (daily, weekly or monthly) and a mode, and it returns one row per trending repository with stars, forks, stars gained in the period and top contributors, or one row per trending developer with their popular repo. Runs on Apify's schedule, webhook and API infrastructure, so a daily "what's trending in Rust" digest is a five-minute setup.

  • Developer-relations and open-source teams track which languages and repositories are gaining stars fastest, per day, week or month.
  • VCs and tech scouts watch trending developers and repositories across languages like Python, Rust or TypeScript to spot early signal before it hits mainstream tech press.
  • Newsletter and content curators automate a "GitHub Trending Today" digest instead of checking the page by hand every morning.
  • Competitive and market research compares stars-in-period across a watchlist of languages on a recurring schedule.
  1. Fill Programming languages with GitHub language slugs, e.g. javascript, python, rust — one per line — or leave a row empty to include trending across all languages.
  2. Set Time range to daily, weekly or monthly, matching the tabs on github.com/trending.
  3. Optionally set Spoken language (a two-letter code like en or ja) to match GitHub's "Spoken Language" filter.
  4. Choose Mode: repositories for github.com/trending, or developers for github.com/trending/developers.
  5. Click Start and export the dataset as JSON, CSV, Excel or HTML from the Output tab.

Example input

{
"languages": ["", "javascript", "rust"],
"since": "weekly",
"mode": "repositories",
"maxResults": 25
}

Example output

{
"rank": 1,
"owner": "JustVugg",
"repo": "colibri",
"fullName": "JustVugg/colibri",
"url": "https://github.com/JustVugg/colibri",
"description": "Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk.",
"language": "C",
"languageColor": "#555555",
"stars": 29487,
"forks": 3214,
"starsInPeriod": 960,
"builtBy": ["JustVugg", "claude", "ZacharyZcR"],
"since": "daily",
"queryLanguage": "",
"error": null,
"scrapedAt": "2026-09-13T00:00:00.000Z"
}

Data table

GitHub Trending Repositories Scraper extracts up to 21 fields per row (repositories and developers share one dataset shape — unused fields for the chosen mode stay null):

FieldTypeDescription
ranknumberPosition on the trending page, 1-based
owner, repo, fullName, urlstringRepository owner, name, owner/repo and its GitHub page (repositories mode)
username, name, avatarstringDeveloper handle, display name and avatar image (developers mode)
descriptionstringRepository description (repositories mode)
language, languageColorstringPrimary language and GitHub's hex color for it (repositories mode)
stars, forks, starsInPeriodnumberTotal stars, total forks and stars gained in the selected window (repositories mode)
builtByarrayUsernames of the top contributors shown on the trending card (repositories mode)
popularRepo, popularRepoDescriptionstringThe developer's most popular repo right now and its description (developers mode)
sincestringdaily, weekly or monthly — the requested time range
queryLanguage, error, scrapedAtstringThe languages entry that produced this row, null (failed languages produce no row; see OUTPUT.errors) and the run timestamp

Input parameters

ParameterTypeDefaultDescription
languagesarray[""]Language slugs, or an empty row for all languages
sincestringdailydaily, weekly or monthly
spokenLanguagestring(empty)Two-letter spoken-language filter, e.g. en
modestringrepositoriesrepositories (github.com/trending) or developers (github.com/trending/developers)
maxResultsinteger25Max rows per language entry (1-100)

Pricing

GitHub Trending Repositories Scraper uses pay-per-event pricing. You pay per result row written to the dataset, plus a $0.00005 actor-start fee:

Apify planPrice per 1,000 rows25-row trending page
Free$2.00$0.050
Bronze$1.60$0.040
Silver$1.40$0.035
Gold, Platinum, Diamond$1.20$0.030

Three language entries in repositories mode (about 75 rows) cost about $0.15 on Free. Set Maximum cost per run and the Actor trims the work to what the budget covers instead of overspending. Languages GitHub does not recognise, failed pages and invalid input produce no rows and no result charge.

Errors, empty results and timeouts

Every run writes an OUTPUT record to its key-value store with resultCount, errorCode, languagesNotReachedBeforeTimeLimit, stoppedAtTimeLimit, chargeLimitReached and a per-language errors list. Runs with no rows also get a zeroResultReason and a DIAGNOSTIC record.

errorCodeWhenRun statusCharged rows
INVALID_INPUTInput is not a list of language slugs, or a value is outside the schemaSUCCEEDED, no request made0
CHARGE_LIMITMaximum cost per run covers fewer rows than GitHub listed; the rows that fit are savedSUCCEEDEDrows saved
UNKNOWN_LANGUAGEGitHub shows an empty trending page (or 404) for that language slugSUCCEEDED0 for that language
TIME_LIMITThe run timeout was close, so later language entries did not start; rows already saved staySUCCEEDEDrows saved
RATE_LIMITEDGitHub answered HTTP 429 after retriesFAILED if no language returned rows0 for that language
SOURCE_FAILEDGitHub answered another non-200 status (403, 5xx) after retriesFAILED if no language returned rows0 for that language
NETWORK_ERRORThe request to GitHub did not complete (connection reset, timeout)FAILED if no language returned rows0 for that language
UNRECOGNIZED_PAGEGitHub returned a page whose trending list could not be read (layout change)FAILED if no language returned rows0 for that language

Short timeouts: new language entries stop starting 30 seconds before the run timeout (never more than half the run), and the first entry always starts. With a very short timeout and a long language list, the run ends SUCCEEDED with the rows it saved and lists the rest in languagesNotReachedBeforeTimeLimit; raise the timeout or split the list.

Limitations

  • Only the public github.com/trending pages are read. GitHub can change their markup, and then the Actor returns fewer rows or ends with UNRECOGNIZED_PAGE until it is updated.
  • Trending is GitHub's own ranking for the chosen window. The Actor does not compute its own popularity score.
  • The username, name and popularRepo fields come from the developers list only; in repositories mode they are not returned.
  • Language and time window are the only filters. The Actor does not search by topic or by star count.

github.com/trending shows one language and one time range at a time, with no export button. This Actor takes a whole watchlist of languages — plus daily, weekly or monthly windows — and returns one flat, typed row per repository or developer, ready to schedule, join with other data or feed into a newsletter or dashboard.

Read on 29 Nov 2026 from the public Apify Store: 30-day user counters, each Actor's live pricingInfos (price per 1,000 results, Free plan → highest tier) and its input schema or README. Rivals were not run; their columns are documented values.

ActorUsers, last 30 daysPrice per 1,000 resultsTrending developers mode
GitHub Trending Repositories Scraper (this Actor)2$2.00 → $1.20Yes (mode: developers)
automation-lab/github-trending-scraper52$1.15 → $0.28 + $0.001 startNo (repositories only)
khadinakbar/github-deep-scraper26$5.00No
rupom888/github-repository-scraper18$0.50No
automation-lab/github-scraper17$0.70 → $0.56 + $0.002 startNo
viralanalyzer/github-trending-scraper5$30.00 → $5.67No
fetch_cat/github-trending-scraper3$0.06 → $0.03 + $0.005 start per GBNo
mohamedgb00714/github-trending-scraper3Free Actor (platform usage only)No
maximedupre/github-trending-repositories2$0.45No
brunofin/github-trending-scraper2$0.003 per runNo
fast_api/github-trending-scraper2$2.00Yes

Several rivals charge less per row; this Actor's difference is the developers list (github.com/trending/developers) next to repositories in one Actor, the spoken-language filter, and the OUTPUT error codes above.

JavaScript (Node.js, apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('webdatatools/github-trending-scraper').call({
languages: ['javascript'],
since: 'daily',
mode: 'repositories',
maxResults: 25,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'repositories');

Python (apify-client):

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("webdatatools/github-trending-scraper").call(run_input={
"languages": ["javascript"],
"since": "daily",
"mode": "repositories",
"maxResults": 25,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(len(items), "repositories")

Command line (Apify CLI):

$apify call webdatatools/github-trending-scraper --input='{"languages":["javascript"],"since":"daily","mode":"repositories","maxResults":25}'

GitHub Trending Repositories Scraper is pay-per-event with limited permissions — the two requirements for an Actor to be callable through the Apify MCP server at mcp.apify.com. An agent passes a list of languages and a time range and gets structured trending rows back, ready to summarise what's rising in a given ecosystem right now.

FAQ

Does this need a GitHub API token? No. It reads the public github.com/trending HTML page directly — the same page a signed-out visitor sees — with no authentication and no GitHub API rate limits involved.

What happens if I enter a language GitHub doesn't recognise? GitHub answers with HTTP 200 and an empty results page rather than an error. This Actor detects that, writes no row (so nothing is charged for that language) and records it in OUTPUT.errors with errorCode: UNKNOWN_LANGUAGE; the other languages still return their rows.

Why are some fields null? The dataset uses one shared row shape for both modes: a repositories-mode row leaves username, name, avatar, popularRepo and popularRepoDescription null, and a developers-mode row leaves owner, repo, description, language, stars, forks, starsInPeriod and builtBy null.

Why is builtBy sometimes an empty array? Not every trending repository shows a "Built by" contributor list — smaller or single-author repos often omit it. An empty array means the page had no such section, not a parsing failure.

What are the limitations? GitHub's trending page itself lists at most 25 repositories or developers per language and time range — maxResults above that simply returns everything the page has. languageColor is only present when GitHub has an assigned color for that language.

Is this legal to run? Yes. github.com/trending is a public, unauthenticated page intended for browsing, and this Actor extracts only what is already publicly displayed there — no personal account data beyond publicly visible usernames and avatars.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

Support and feedback

Found a language slug or page-layout edge case it should handle better? Open an issue on the Issues tab.

If the Actor saved you time, please leave a short review on its Apify Store page — it helps other developers find it.