GitHub Trending Repositories Scraper ($0.8/1K) avatar

GitHub Trending Repositories Scraper ($0.8/1K)

Pricing

from $0.50 / 1,000 repositories

Go to Apify Store
GitHub Trending Repositories Scraper ($0.8/1K)

GitHub Trending Repositories Scraper ($0.8/1K)

GitHub trending repositories scraper: rank, repository name, owner, description, language, stars, forks, stars gained in the period and contributors. Takes periods (today, this week, this month) and programming languages. Use it to spot fast-growing open source projects.

Pricing

from $0.50 / 1,000 repositories

Rating

0.0

(0)

Developer

Tam Ng.

Tam Ng.

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 hours ago

Last modified

Features

Limited permissions

Share

Get the GitHub Trending list of repositories for today, this week or this month, for all languages or any programming language you choose, with no login and no API key, for $0.80 per 1,000 repositories on the Free plan, down to $0.50 on higher plans.

Each record has the rank, repository name and owner, link, description, language and its color, total stars, forks, stars gained in the period and the contributors shown under "Built by" on the page. The Actor reads the public github.com/trending page, so you get exactly the list GitHub shows.

What you can do with it

  • Spot fast-growing open-source projects. Sort by starsInPeriod to see which repositories are gaining stars right now.
  • Track developer tools in your market. Follow the trending lists for the languages your users work in, such as Python, TypeScript or Rust.
  • Feed a newsletter or Slack channel. Send the day's trending repositories to Slack, Discord or e-mail every morning.
  • Keep a history of trending projects. Schedule a daily run and store each list to see which projects stay on top and for how long.
  • Find projects by spoken language. Use the spoken language filter, for example zh, to see what is trending in another developer community.

Output fields

Each repository on each trending list is one record in the dataset. Example values below come from a real run of the daily list for all languages.

FieldExample
rank1
fullName / owner / nameGoogleChrome/modern-web-guidance-src / GoogleChrome / modern-web-guidance-src
urlhttps://github.com/GoogleChrome/modern-web-guidance-src
descriptionKeep your coding agent up to date with the latest web best practices
language / languageColorTypeScript / #3178c6
stars / forks3429 / 214
starsInPeriod739 (stars gained today, this week or this month)
perioddaily (or weekly, monthly)
languageFilternull (the list this record was first found on: the language you asked for, or null for all languages; rank is the position on that list)
languageLists["all", "python"] (every list of the same period the repository appeared on)
spokenLanguageCodenull (the spoken language filter, for example en)
builtByGitHub user names shown under "Built by"
scrapedAt2026-11-13T05:13:21.634Z

Download results as JSON, CSV, Excel or XML, or read them through the Apify API.

Example output

One real record from the daily list for all languages (personal GitHub user names in builtBy are replaced with "..." here; the Actor returns them as shown on the page). The record was saved before version 1.0; its languageLists value is filled in to show the new field:

{
"rank": 2,
"fullName": "openai/codex-security",
"owner": "openai",
"name": "codex-security",
"url": "https://github.com/openai/codex-security",
"description": "OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security",
"language": "TypeScript",
"languageColor": "#3178c6",
"stars": 12593,
"forks": 984,
"starsInPeriod": 643,
"period": "daily",
"languageFilter": null,
"languageLists": ["all"],
"spokenLanguageCode": null,
"builtBy": ["...", "...", "dependabot", "...", "..."],
"scrapedAt": "2026-11-13T05:13:21.635Z"
}

How to use

  1. Choose one or more Periods: daily, weekly, monthly.
  2. List Languages as GitHub names them, for example python, typescript, rust, c++. Use all for the overall list. Optionally set a Spoken language code such as en or zh, and Max repositories for the whole run.
  3. Click Start. Each list is saved as soon as it is read. Download the dataset as JSON, CSV or Excel, or schedule the Actor daily to build a history.

Example input

{
"periods": ["daily", "weekly"],
"languages": ["all", "python", "rust"],
"spokenLanguageCode": "",
"maxItems": 1000,
"proxyConfiguration": { "useApifyProxy": true }
}

Every period is combined with every language, so this input reads 6 lists of up to 25 repositories each.

Pricing and cost examples

You pay per repository saved to the dataset ("Repository" event). Platform usage and proxy traffic are included in the per-repository price. Each run also has a one-time start charge of $0.00005.

Apify planPrice per 1,000 repositories
Free (default price)$0.80
Bronze$0.70
Silver$0.60
Gold, Platinum, Diamond$0.50

Cost examples on the Free plan:

  • 100 repositories ≈ $0.08
  • 1,000 repositories ≈ $0.80
  • 10,000 repositories ≈ $8.00 (≈ $5.00 on Gold and higher plans)

A daily run of two lists (for example all and python, up to 50 repositories) costs at most about $0.04, or about $1.20 a month. The Apify Free plan includes $5 of platform credit every month. If you spend it only on this Actor, that covers about 6,250 repositories per month.

You are charged only for repositories pushed to the dataset. Nothing is charged for an unknown language name (GitHub returns "not found" and the list is skipped), for a list that still fails after 4 attempts, or for a list that is empty right now. Period names other than daily, weekly and monthly are ignored. A repository that trends on several lists of the same period (for example all and python) is saved and charged once for that period. To set a hard cap, use Max repositories or enter a maximum total charge per run in the run options. The Actor stops as soon as either limit is reached.

Use it via API, on a schedule, or from an AI agent

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('tamnt67/github-trending-scraper').call({
periods: ['daily'],
languages: ['all', 'python'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("tamnt67/github-trending-scraper").call(run_input={
"periods": ["daily"],
"languages": ["all", "python"],
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)

cURL (runs the Actor and returns the repositories in one call):

curl -X POST "https://api.apify.com/v2/acts/tamnt67~github-trending-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"periods": ["daily"], "languages": ["all", "python"]}'

The sync endpoint waits for the run to finish. This Actor's runs are small, so it suits most uses; switch to the client libraries for very long language lists.

Schedules: create an Apify Schedule for this Actor or a saved task to read the trending lists every morning, then connect it to Slack, Google Sheets or a webhook.

AI agents: the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

FAQ

GitHub Trending Repositories Scraper costs $0.80 per 1,000 repositories on the Free plan and $0.70, $0.60 or $0.50 per 1,000 on higher Apify plans. 100 repositories cost about $0.08 on the Free plan. The Free plan's $5 monthly credit covers about 6,250 repositories.

How many repositories do I get per run?

GitHub Trending Repositories Scraper returns up to 25 repositories for each combination of period and language, because that is all GitHub shows. Three periods and four languages give at most 300 records, fewer when a repository is on several language lists of the same period (it is saved once per period), capped by Max repositories (default 1,000).

How can I get more results?

Add more languages and periods. GitHub Trending Repositories Scraper cannot go beyond the 25 repositories GitHub shows per list, so for a longer history schedule it daily and keep each day's dataset.

Can I run it on a schedule or through the API?

Yes. GitHub Trending Repositories Scraper works with Apify Schedules for daily or weekly runs, and with the Apify API through the JavaScript and Python clients or a single cURL call. See the API section above for working examples.

How fresh is the data?

GitHub Trending Repositories Scraper reads the public Trending page live at the time of each run. Nothing is cached. Stars, forks and ranks are what GitHub showed at that moment, and every record has a scrapedAt timestamp.

GitHub Trending Repositories Scraper collects only the publicly visible Trending page, without logging in. The builtBy field contains public GitHub user names. You are responsible for how you use the data, including complying with GitHub's terms of service and with data protection laws such as GDPR. This is not legal advice. If you are unsure, ask a lawyer.

Limitations

  • GitHub shows at most 25 repositories per list, and sometimes fewer. One language and one period give at most 25 records.
  • Numbers are what the public Trending page shows at the time of the run. GitHub decides the ranking.
  • Only repositories are collected. The trending developers page is not scraped.
  • An unknown language name returns no records and is noted in the log.
  • A repository that appears on several lists of the same period (for example all and python) is saved and charged once for that period. rank and languageFilter come from the first list it was found on (in the order of Languages), and languageLists names all of them. The same repository on the daily and the weekly list is still two records, one per period.
  • All lists of one period are read before that period's records are saved, so records appear in the dataset period by period.
  • builtBy lists only the few contributors GitHub shows on the Trending page, which can include bot accounts.
  • The spoken language filter applies to every list in the run.

Changelog

  • 1.0 (2026-11-19): a repository on both the "all" list and a language list of the same period is now saved and charged once; new languageLists field names every list it appeared on.

Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

Support

Found a problem or missing field? Report it in the Issues tab of this Actor.