GitHub Trending Repos Scraper
Under maintenancePricing
from $2.99 / 1,000 trending repositories
GitHub Trending Repos Scraper
Under maintenanceScrape 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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
25 days ago
Last modified
Categories
Features
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
- Open the Actor Store page and select Try for free or open the Input tab.
- Either paste a full public
trendingUrl, or leave it empty and chooselanguage,since, and optionallyspokenLanguage. - Set
maxItemsto the number of trending repositories you need. KeepincludeRepositoryDetailsenabled if you want REST fields such as topics, license, clone URLs, and repository timestamps. - 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.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
trendingUrl | string | Optional | "" | Optional HTTPS GitHub Trending URL. Its path and query filters take precedence over the separate filter fields. |
language | string | Optional | "" | Programming-language filter, such as python or typescript; empty means all languages. |
since | string enum | Optional | daily | Trending period: daily, weekly, or monthly. |
spokenLanguage | string | Optional | "" | Spoken-language code, such as en or zh; empty means any. |
maxItems | integer | Optional | 25 | Maximum trending repositories to save, 1–100. |
includeRepositoryDetails | boolean | Optional | true | Fetch public GitHub REST metadata for each repository. Disable to skip enrichment requests. |
includeMedia | boolean | Optional | true | Keep public owner and contributor avatar URLs. When disabled, avatar fields are omitted. |
apiConcurrency | integer | Optional | 2 | Maximum concurrent REST enrichment requests, 1–5. |
apiRequestDelayMs | integer | Optional | 250 | Delay before each REST request per worker, 0–2,000 ms. |
maxRequestRetries | integer | Optional | 2 | Retries after the initial browser, HTTP fallback, or REST attempt, 0–3. |
requestTimeoutSecs | integer | Optional | 90 | Handler and REST request timeout, 15–180 seconds. |
navigationTimeoutSecs | integer | Optional | 60 | Browser navigation and Trending-row readiness timeout, 15–120 seconds. |
proxyConfiguration | object | Optional | Not supplied | Optional standard Apify Proxy settings for the browser, HTTP fallback, and REST requests. |
githubToken | string | Optional | Not supplied | Optional fine-grained token for higher public REST rate limits. It is never written to dataset rows or logs. |
fingerprintProfile | string enum | Optional | chromium | Browser 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.
| Field | Type | Availability | Meaning |
|---|---|---|---|
sourceUrl | string | Always | Public GitHub Trending page used for the row. |
trendingRank | integer | Always | One-based position on the observed Trending page. |
trendingPeriod | string | Always | daily, weekly, or monthly. |
trendingStarsGained | integer | Always | Stars gained during the selected Trending period. |
trendingStarsLabel | string | Always | Stars-gained label as displayed, such as 677 stars today. |
trendingLanguageFilter | string | When a language filter is applied | Programming-language filter used for the page. |
trendingSpokenLanguage | string | When a spoken-language filter is applied | Spoken-language filter used for the page. |
repositoryId | integer | When repository details are enabled and returned | Public GitHub numeric repository ID. |
nodeId | string | When repository details are enabled and returned | GitHub GraphQL node ID. |
name | string | Always | Repository name without the owner. |
fullName | string | Always | owner/name repository identifier. |
repositoryUrl | string | Always | Public GitHub repository URL. |
htmlUrl | string | Always | Public GitHub repository URL reported by the page. |
apiUrl | string | Always | Public GitHub API repository URL. |
cloneUrl | string | When repository details are enabled and returned | Public HTTPS clone URL. |
sshUrl | string | When repository details are enabled and returned | Public SSH clone URL. |
homepageUrl | string | When repository details are enabled and returned | Repository homepage URL. |
repositorySummary | string | Always | Repository summary shown on the Trending page. |
topics | string array | When repository details are enabled and returned | Repository topics. |
primaryLanguage | string | Always | Primary language displayed for the repository. |
languageColor | string | Always | Trending page language color. |
createdAt | string | When repository details are enabled and returned | Repository creation time in ISO UTC. |
updatedAt | string | When repository details are enabled and returned | Last metadata update in ISO UTC. |
pushedAt | string | When repository details are enabled and returned | Last push time in ISO UTC. |
defaultBranch | string | When repository details are enabled and returned | Default branch name. |
starsCount | integer | Always | Total stargazer count shown for the repository. |
watchersCount | integer | When repository details are enabled and returned | Watcher count from the REST response. |
subscribersCount | integer | When repository details are enabled and returned | Subscriber count from the REST response. |
forksCount | integer | Always | Fork count shown on the Trending page. |
openIssuesCount | integer | When repository details are enabled and returned | Open issue count from the REST response. |
networkCount | integer | When repository details are enabled and returned | Network count from the REST response. |
repositorySizeKb | integer | When repository details are enabled and returned | Repository size in kilobytes. |
ownerLogin | string | Always | Repository owner login. |
ownerId | integer | When repository details are enabled and returned | Owner numeric ID. |
ownerNodeId | string | When repository details are enabled and returned | Owner GraphQL node ID. |
ownerType | string | When repository details are enabled and returned | Owner account type, such as User or Organization. |
ownerAvatarUrl | string | When the Trending page provides it and media is enabled | Owner avatar URL; omitted when media is disabled. |
ownerProfileUrl | string | Always | Public owner profile URL. |
ownerSiteAdmin | boolean | When repository details are enabled and returned | Whether the owner is a site administrator. |
isPrivate | boolean | When repository details are enabled and returned | Whether the repository is private. |
visibility | string | When repository details are enabled and returned | Repository visibility. |
isFork | boolean | When repository details are enabled and returned | Whether the repository is a fork. |
isArchived | boolean | When repository details are enabled and returned | Whether the repository is archived. |
isDisabled | boolean | When repository details are enabled and returned | Whether the repository is disabled. |
isTemplate | boolean | When repository details are enabled and returned | Whether the repository is a template. |
hasIssues | boolean | When repository details are enabled and returned | Whether issues are enabled. |
hasProjects | boolean | When repository details are enabled and returned | Whether projects are enabled. |
hasWiki | boolean | When repository details are enabled and returned | Whether the wiki is enabled. |
hasPages | boolean | When repository details are enabled and returned | Whether GitHub Pages is enabled. |
hasDiscussions | boolean | When repository details are enabled and returned | Whether discussions are enabled. |
licenseKey | string | When repository details are enabled and returned | License key. |
licenseName | string | When repository details are enabled and returned | License name. |
licenseSpdxId | string | When repository details are enabled and returned | License SPDX identifier. |
licenseUrl | string | When repository details are enabled and returned | Public license API URL. |
contributors | object array | Always | Public contributors shown on the Trending page, with login and available, plus avatarUrl when media is enabled. |
contributorsCount | integer | Always | Number of contributor entries captured. |
apiMetadataAvailable | boolean | Always | Whether REST enrichment supplied repository metadata. |
apiMetadataStatus | string | Always | Enrichment status, such as available or not_requested. |
apiRateLimitRisk | string | Always | Rate-limit risk classification for the run. |
trendingSource | string | Always | Trending extraction route used. |
apiSource | string | Always | REST enrichment route or skip marker. |
browserFingerprintProfile | string | Always | Browser profile used for the page. |
inputLanguage | string | When a language filter is applied | Language filter recorded from the input. |
inputSince | string | Always | Period filter recorded from the input. |
inputSpokenLanguage | string | When a spoken-language filter is applied | Spoken-language filter recorded from the input. |
scrapedAt | string | Always | Time the row was saved, in ISO UTC. |
sourceFetchedAt | string | Always | Time the Trending page was fetched, in ISO UTC. |
description | string | Always | Compatibility alias of repositorySummary. |
url | string | Always | Compatibility alias of repositoryUrl. |
rank | integer | Always | Compatibility 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.
| Field | Meaning |
|---|---|
status | Actor outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | Completeness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
dataAvailable | Whether at least one trending repository was saved. |
recordsPushed | Records written to the dataset. |
normalCount | Non-diagnostic records written. |
itemCount | Records saved to the dataset. |
diagnosticCount | Operational issues recorded without writing dataset rows. |
sourceBlocked | Whether GitHub blocked or denied access during the run. |
cloudOperations | Cloud operations reported for the run. |
finishedAt | Time the summary was written, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | The Trending page was read and all eligible rows were saved. |
SUCCEEDED | PARTIAL | Some rows were saved, but a later page or enrichment problem prevented a complete run. |
SUCCEEDED | NO_RESULTS | The Trending page completed cleanly with no matching repositories. |
FAILED | FAILED | A 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.