GitHub Trending Repos Scraper avatar

GitHub Trending Repos Scraper

Under maintenance

Pricing

from $2.99 / 1,000 trending repositories

Go to Apify Store
GitHub Trending Repos Scraper

GitHub Trending Repos Scraper

Under maintenance

Scrape current public GitHub Trending repositories with bounded browser/HTTP extraction and optional public REST enrichment. Produces normalized repository identity, trending metrics, ownership, licensing, and provenance.

Pricing

from $2.99 / 1,000 trending repositories

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect the public repositories currently shown on GitHub Trending, with visible rank, stars gained in the selected period, repository summary, language, owner, contributors, and links. Optional enrichment reads public repository metadata from GitHub's documented REST API. The Actor supports the Trending page directly or filtered routes by programming language, spoken language, and daily, weekly, or monthly period.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Either paste a full public trendingUrl, or leave it empty and choose language, since, and optionally spokenLanguage.
  3. Set maxItems to the number of trending repositories you need. Keep includeRepositoryDetails enabled if you want REST fields such as topics, license, clone URLs, and repository timestamps.
  4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT_SUMMARY) to check counts and blocking status.

Input

All fields are optional; the defaults below are ready to use. A supplied trendingUrl takes precedence over the separate language, period, and spoken-language filters. Unsupported fields and out-of-range values are rejected before the run starts.

FieldTypeRequired?DefaultMeaning
trendingUrlstringOptional""Optional HTTPS GitHub Trending URL. Its path and query filters take precedence over the separate filter fields.
languagestringOptional""Programming-language filter, such as python or typescript; empty means all languages.
sincestring enumOptionaldailyTrending period: daily, weekly, or monthly.
spokenLanguagestringOptional""Spoken-language code, such as en or zh; empty means any.
maxItemsintegerOptional25Maximum trending repositories to save, 1–100.
includeRepositoryDetailsbooleanOptionaltrueFetch public GitHub REST metadata for each repository. Disable to skip enrichment requests.
includeMediabooleanOptionaltrueKeep public owner and contributor avatar URLs. When disabled, avatar fields are omitted.
apiConcurrencyintegerOptional2Maximum concurrent REST enrichment requests, 1–5.
apiRequestDelayMsintegerOptional250Delay before each REST request per worker, 0–2,000 ms.
maxRequestRetriesintegerOptional2Retries after the initial browser, HTTP fallback, or REST attempt, 0–3.
requestTimeoutSecsintegerOptional90Handler and REST request timeout, 15–180 seconds.
navigationTimeoutSecsintegerOptional60Browser navigation and Trending-row readiness timeout, 15–120 seconds.
proxyConfigurationobjectOptionalNot suppliedOptional standard Apify Proxy settings for the browser, HTTP fallback, and REST requests.
githubTokenstringOptionalNot suppliedOptional fine-grained token for higher public REST rate limits. It is never written to dataset rows or logs.
fingerprintProfilestring enumOptionalchromiumBrowser user-agent profile for Trending and REST requests: chromium, firefox, or safari.

Default input:

{
"trendingUrl": "",
"language": "",
"since": "daily",
"spokenLanguage": "",
"maxItems": 25,
"includeRepositoryDetails": true,
"includeMedia": true,
"apiConcurrency": 2,
"apiRequestDelayMs": 250,
"maxRequestRetries": 2,
"requestTimeoutSecs": 90,
"navigationTimeoutSecs": 60,
"fingerprintProfile": "chromium"
}

The Actor reads public GitHub Trending pages and public GitHub REST data. No login is required; an optional token is used only for rate limits and is never included in output.

Output

The dataset contains one row per trending repository. Rank and page-derived metrics describe the observed Trending page; REST-only fields appear only when includeRepositoryDetails is enabled and GitHub returns them. No diagnostic rows are written.

FieldTypeAvailabilityMeaning
sourceUrlstringAlwaysPublic GitHub Trending page used for the row.
trendingRankintegerAlwaysOne-based position on the observed Trending page.
trendingPeriodstringAlwaysdaily, weekly, or monthly.
trendingStarsGainedintegerAlwaysStars gained during the selected Trending period.
trendingStarsLabelstringAlwaysStars-gained label as displayed, such as 677 stars today.
trendingLanguageFilterstringWhen a language filter is appliedProgramming-language filter used for the page.
trendingSpokenLanguagestringWhen a spoken-language filter is appliedSpoken-language filter used for the page.
repositoryIdintegerWhen repository details are enabled and returnedPublic GitHub numeric repository ID.
nodeIdstringWhen repository details are enabled and returnedGitHub GraphQL node ID.
namestringAlwaysRepository name without the owner.
fullNamestringAlwaysowner/name repository identifier.
repositoryUrlstringAlwaysPublic GitHub repository URL.
htmlUrlstringAlwaysPublic GitHub repository URL reported by the page.
apiUrlstringAlwaysPublic GitHub API repository URL.
cloneUrlstringWhen repository details are enabled and returnedPublic HTTPS clone URL.
sshUrlstringWhen repository details are enabled and returnedPublic SSH clone URL.
homepageUrlstringWhen repository details are enabled and returnedRepository homepage URL.
repositorySummarystringAlwaysRepository summary shown on the Trending page.
topicsstring arrayWhen repository details are enabled and returnedRepository topics.
primaryLanguagestringAlwaysPrimary language displayed for the repository.
languageColorstringAlwaysTrending page language color.
createdAtstringWhen repository details are enabled and returnedRepository creation time in ISO UTC.
updatedAtstringWhen repository details are enabled and returnedLast metadata update in ISO UTC.
pushedAtstringWhen repository details are enabled and returnedLast push time in ISO UTC.
defaultBranchstringWhen repository details are enabled and returnedDefault branch name.
starsCountintegerAlwaysTotal stargazer count shown for the repository.
watchersCountintegerWhen repository details are enabled and returnedWatcher count from the REST response.
subscribersCountintegerWhen repository details are enabled and returnedSubscriber count from the REST response.
forksCountintegerAlwaysFork count shown on the Trending page.
openIssuesCountintegerWhen repository details are enabled and returnedOpen issue count from the REST response.
networkCountintegerWhen repository details are enabled and returnedNetwork count from the REST response.
repositorySizeKbintegerWhen repository details are enabled and returnedRepository size in kilobytes.
ownerLoginstringAlwaysRepository owner login.
ownerIdintegerWhen repository details are enabled and returnedOwner numeric ID.
ownerNodeIdstringWhen repository details are enabled and returnedOwner GraphQL node ID.
ownerTypestringWhen repository details are enabled and returnedOwner account type, such as User or Organization.
ownerAvatarUrlstringWhen the Trending page provides it and media is enabledOwner avatar URL; omitted when media is disabled.
ownerProfileUrlstringAlwaysPublic owner profile URL.
ownerSiteAdminbooleanWhen repository details are enabled and returnedWhether the owner is a site administrator.
isPrivatebooleanWhen repository details are enabled and returnedWhether the repository is private.
visibilitystringWhen repository details are enabled and returnedRepository visibility.
isForkbooleanWhen repository details are enabled and returnedWhether the repository is a fork.
isArchivedbooleanWhen repository details are enabled and returnedWhether the repository is archived.
isDisabledbooleanWhen repository details are enabled and returnedWhether the repository is disabled.
isTemplatebooleanWhen repository details are enabled and returnedWhether the repository is a template.
hasIssuesbooleanWhen repository details are enabled and returnedWhether issues are enabled.
hasProjectsbooleanWhen repository details are enabled and returnedWhether projects are enabled.
hasWikibooleanWhen repository details are enabled and returnedWhether the wiki is enabled.
hasPagesbooleanWhen repository details are enabled and returnedWhether GitHub Pages is enabled.
hasDiscussionsbooleanWhen repository details are enabled and returnedWhether discussions are enabled.
licenseKeystringWhen repository details are enabled and returnedLicense key.
licenseNamestringWhen repository details are enabled and returnedLicense name.
licenseSpdxIdstringWhen repository details are enabled and returnedLicense SPDX identifier.
licenseUrlstringWhen repository details are enabled and returnedPublic license API URL.
contributorsobject arrayAlwaysPublic contributors shown on the Trending page, with login and available, plus avatarUrl when media is enabled.
contributorsCountintegerAlwaysNumber of contributor entries captured.
apiMetadataAvailablebooleanAlwaysWhether REST enrichment supplied repository metadata.
apiMetadataStatusstringAlwaysEnrichment status, such as available or not_requested.
apiRateLimitRiskstringAlwaysRate-limit risk classification for the run.
trendingSourcestringAlwaysTrending extraction route used.
apiSourcestringAlwaysREST enrichment route or skip marker.
browserFingerprintProfilestringAlwaysBrowser profile used for the page.
inputLanguagestringWhen a language filter is appliedLanguage filter recorded from the input.
inputSincestringAlwaysPeriod filter recorded from the input.
inputSpokenLanguagestringWhen a spoken-language filter is appliedSpoken-language filter recorded from the input.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
sourceFetchedAtstringAlwaysTime the Trending page was fetched, in ISO UTC.
descriptionstringAlwaysCompatibility alias of repositorySummary.
urlstringAlwaysCompatibility alias of repositoryUrl.
rankintegerAlwaysCompatibility alias of trendingRank.

The example below is a real saved row from the 2026-10-25 run. That run used includeRepositoryDetails: false, so REST-only fields such as cloneUrl, topics, and licenseName are absent and the metadata status is not_requested. The contributor list is shortened.

{
"sourceUrl": "https://github.com/trending?since=daily",
"trendingRank": 1,
"trendingPeriod": "daily",
"trendingStarsGained": 677,
"trendingStarsLabel": "677 stars today",
"name": "cindy",
"fullName": "makecindy/cindy",
"repositoryUrl": "https://github.com/makecindy/cindy",
"htmlUrl": "https://github.com/makecindy/cindy",
"apiUrl": "https://api.github.com/repos/makecindy/cindy",
"repositorySummary": "Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。",
"primaryLanguage": "TypeScript",
"languageColor": "#3178c6",
"starsCount": 4764,
"forksCount": 654,
"ownerLogin": "makecindy",
"ownerProfileUrl": "https://github.com/makecindy",
"contributors": [
{
"login": "dashhuang",
"available": true
},
{
"login": "zqchris",
"available": true
}
],
"contributorsCount": 5,
"apiMetadataAvailable": false,
"apiMetadataStatus": "not_requested",
"apiRateLimitRisk": "not_requested",
"trendingSource": "github_trending_playwright",
"apiSource": "github_rest_api_skipped",
"browserFingerprintProfile": "standard",
"inputSince": "daily",
"scrapedAt": "2026-10-25T21:09:04.779Z",
"sourceFetchedAt": "2026-10-25T21:09:04.763Z",
"description": "Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。",
"url": "https://github.com/makecindy/cindy",
"rank": 1
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT_SUMMARY.

FieldMeaning
statusActor outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCompleteness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
dataAvailableWhether at least one trending repository was saved.
recordsPushedRecords written to the dataset.
normalCountNon-diagnostic records written.
itemCountRecords saved to the dataset.
diagnosticCountOperational issues recorded without writing dataset rows.
sourceBlockedWhether GitHub blocked or denied access during the run.
cloudOperationsCloud operations reported for the run.
finishedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEThe Trending page was read and all eligible rows were saved.
SUCCEEDEDPARTIALSome rows were saved, but a later page or enrichment problem prevented a complete run.
SUCCEEDEDNO_RESULTSThe Trending page completed cleanly with no matching repositories.
FAILEDFAILEDA fatal error occurred before any usable row was saved.

Example OUTPUT_SUMMARY from the saved run:

{
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"dataAvailable": true,
"recordsPushed": 2,
"normalCount": 2,
"itemCount": 2,
"diagnosticCount": 0,
"sourceBlocked": false,
"cloudOperations": 0,
"finishedAt": "2026-10-25T21:09:05.130Z"
}

Coverage and limitations

The Actor reads the current public GitHub Trending page. Trending is a moving, curated view: rank, stars gained, and the repositories shown can change between requests, so a saved row is a point-in-time observation rather than a historical ranking. The page may use different layouts or present browser, rate-limit, or access-denial challenges; those outcomes are counted in OUTPUT_SUMMARY and are never converted into repository rows.

REST enrichment is optional. When it is disabled or skipped, apiMetadataAvailable is false, apiMetadataStatus explains the skip, and fields that only exist in the REST response are omitted. The description, url, and rank fields are compatibility aliases; the canonical fields are repositorySummary, repositoryUrl, and trendingRank. includeMedia: false omits avatar fields rather than inventing URLs. An optional token only raises REST rate limits. No proxy is required, but standard Apify Proxy settings are honored when supplied.

Usage and support

Cost is driven by Apify compute, browser navigation, page size, and the number of optional REST enrichment requests. Start with maxItems around 10 and includeRepositoryDetails disabled to validate the Trending extraction, then enable details for the final dataset. Lower apiConcurrency, increase apiRequestDelayMs, or reduce maxRequestRetries when rate limits are a concern. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by GitHub. Use it only for public data and in accordance with GitHub's terms, robots guidance, and applicable law. Public profiles can contain personal information; use the output only for lawful purposes.