GitHub Repository Search & Trending Scraper avatar

GitHub Repository Search & Trending Scraper

Pricing

from $0.35 / 1,000 repository scrapeds

Go to Apify Store
GitHub Repository Search & Trending Scraper

GitHub Repository Search & Trending Scraper

Find GitHub repositories by keyword, language, topic and star count through the official REST Search API, or pull the Trending page. Each repo comes back as one clean record with stars, forks, topics, license and activity dates.

Pricing

from $0.35 / 1,000 repository scrapeds

Rating

0.0

(0)

Developer

James White

James White

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

Find GitHub repositories by keyword, programming language, topic, star count and activity date, or grab what is trending on GitHub today, this week or this month. Every repository comes back as one clean, flat record with stars, forks, topics, license, homepage and activity dates, ready for a spreadsheet, a dashboard or your own database.

What it does

The tool has two modes:

  • Search mode uses GitHub's official, documented REST Search API. You fill in simple filters (keywords, language, topics, minimum stars, created/pushed after a date) and the tool turns them into a valid GitHub search query for you. You do not need to know GitHub's search syntax.
  • Trending mode reads the public github.com/trending page, optionally for one language, for the daily, weekly or monthly period. You also get starsInPeriod, the number of stars a repository gained in that period. Each trending repository is then looked up in the official API to add topics, license, homepage, dates and the other details.

Going past 1,000 results: GitHub's search API returns at most 1,000 results per query. When you sort by stars, the tool narrows the star range step by step and keeps going until it reaches your Max items or runs out of matches. Duplicates are removed. With other sort orders, results stop at 1,000.

Price

$0.0005 per repository returned, which is $0.50 per 1,000 repositories. You are only charged for repositories saved to your dataset, and the run never saves more than your Max items.

Typical uses

  • Spot fast-rising open-source projects in your language every day or week.
  • Build lists of popular libraries in a niche, such as Python web scraping or Rust CLI tools.
  • Market and competitor research on developer tools.
  • Find actively maintained projects (pushed recently, not archived) to adopt or contribute to.
  • Feed repository metadata into dashboards, newsletters or internal catalogues.

Input

FieldWhat it means
Mode (mode)search to use the GitHub Search API, or trending to read the Trending page. Default: search.
Search keywords (searchQuery)Free-text keywords, for example web scraping. Advanced users can also type raw GitHub search qualifiers here. Search mode only.
Language (language)Programming language filter, for example python or typescript. Works in both modes.
Topics (topics)A list of repository topics. A repository must have all of them. Search mode only.
Minimum stars (minStars)Only repositories with at least this many stars. Search mode only. Default: 0.
Created after (createdAfter)Date in YYYY-MM-DD format. Only repositories created after this date. Search mode only.
Pushed after (pushedAfter)Date in YYYY-MM-DD format. Only repositories with code pushed after this date. Search mode only.
Sort (sort)stars, forks, updated or best-match. Results are sorted from highest to lowest or newest to oldest. Search mode only. Default: stars.
Trending period (trendingSince)daily, weekly or monthly. Trending mode only. Default: daily.
GitHub token (optional) (githubToken)Your own GitHub personal access token. No scopes or permissions are needed. It raises GitHub's rate limits, which makes large searches faster and lets trending runs always include full details. The token is only sent to the GitHub API and is never stored in the results.
Max items (maxItems)The maximum number of repositories to return. The input form fills in 100. If the field is left out entirely, 50 is used.

If you leave every search filter empty, the tool searches all repositories with at least 1 star.

Example input

{
"mode": "search",
"searchQuery": "web scraping",
"language": "python",
"minStars": 500,
"sort": "stars",
"maxItems": 10
}

Trending example:

{
"mode": "trending",
"language": "python",
"trendingSince": "weekly",
"maxItems": 25
}

Output

Each repository is one row with these fields:

FieldDescription
fullNameowner/repo identifier
nameRepository name
urlRepository URL on github.com
descriptionRepository description
languagePrimary language
starsStargazer count
forksFork count
starsInPeriodStars gained in the trending period (trending mode only, otherwise null)
openIssuesOpen issues count as reported by GitHub (GitHub counts open pull requests here too)
topicsList of repository topics
licenseSPDX license id, such as MIT or Apache-2.0
homepageProject homepage URL
defaultBranchDefault branch name
isForkWhether the repository is a fork
archivedWhether the repository is archived
createdAtCreation timestamp (ISO 8601)
pushedAtLast push timestamp (ISO 8601)
sourcesearch or trending
scrapedAtWhen the record was collected (ISO 8601)

Fields GitHub does not provide for a repository are returned as null.

Example output row

{
"fullName": "codecrafters-io/build-your-own-x",
"name": "build-your-own-x",
"url": "https://github.com/codecrafters-io/build-your-own-x",
"description": "Master programming by recreating your favorite technologies from scratch.",
"language": "Markdown",
"stars": 561163,
"forks": 52511,
"starsInPeriod": null,
"openIssues": 692,
"topics": ["awesome-list", "free", "programming", "tutorial-code", "tutorial-exercises", "tutorials"],
"license": null,
"homepage": "https://codecrafters.io",
"defaultBranch": "master",
"isFork": false,
"archived": false,
"createdAt": "2018-05-09T12:03:18Z",
"pushedAt": "2026-11-08T16:38:15Z",
"source": "search",
"scrapedAt": "2026-11-09T07:10:00.000000+00:00"
}

Limits

  • Search speed: without a token, GitHub allows about 10 search requests per minute (up to 100 repositories each). The tool respects GitHub's rate-limit headers and pauses until the limit resets, so large searches without a token take a few minutes. With a token the limit is about 30 per minute.
  • 1,000-result cap: GitHub returns at most 1,000 results per query. The tool goes beyond this only when sorting by stars, as explained above. If you type your own stars: qualifier into the keywords, this extension is switched off.
  • Trending: GitHub's Trending page lists about 25 repositories per language and period, so trending runs return at most that many.
  • Trending details: extra details for trending repositories come from the GitHub API, which allows 60 lookups per hour without a token. If that limit is reached, the remaining trending repositories are still returned, with stars, forks, description, language and starsInPeriod, but topics, license, dates and similar fields are null. Adding your own githubToken avoids this.
  • Access refused: if GitHub refuses access or returns an unexpected page, the run logs a clear message and stops. It does not try to work around it.
  • Only public repository metadata is collected. No user emails or personal profile data are collected.

Terms and fair use

This tool reads public repository information through GitHub's official API and its public Trending page, and respects GitHub's rate limits. You are responsible for using the data in line with GitHub's Terms of Service and Acceptable Use Policies. Do not use it for spam, or to build or sell lists of personal information. If you provide a token, use your own and keep it private.