GitHub Trends (Official GitHub API snapshots)
Pricing
Pay per event
GitHub Trends (Official GitHub API snapshots)
Pricing
Pay per event
Rating
0.0
(0)
Developer
FENG JIE
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
"Google Trends for GitHub": which categories (AI agents, backend, frontend, DevOps, …) and which repositories gained the most stars and forks in a window, compared with the previous period.
Gains are exact differences of stargazers_count / forks_count between daily snapshots taken from the official GitHub API. No GH Archive event counts, no scraping of github.com.
How it works
- Tracked universe (rebuilt every
universeRefreshDays, default 7): for each category, GitHub Search API queries per topic –topic:X stars:>=universeMinStars(top by stars) andtopic:X created:>DATE stars:>=50(fast risers) – up tomaxReposPerCategory. Previously tracked repos are kept so history continues.extraReposare always tracked. mode: snapshot(schedule daily, e.g. 00:30 UTC): fetches current stars, forks, language, topics and description for all tracked repos. With a token it uses GraphQL (repository(owner,name)aliases,graphqlBatchSizeper query, default 50); without a token it falls back to REST, one request per repo. Storessnap-YYYY-MM-DD={full_name: [stars, forks]}in the named storegithub-trends-snapshots, and metadata ingithub-trends-meta.mode: query: gain = snapshot(end) − snapshot(baseline). Baseline = latest snapshot on/before the window start; end = latest snapshot on/before the window end. The previous period uses the snapshot before the baseline. If history is insufficient the Actor returns acoveragerecord withhistoryDaysandcoverageNoteinstead of numbers.
Deleted, private or inaccessible repos (GraphQL null / REST 404) are listed as missingRepos and excluded, never counted as negative gains. Renamed repos are kept under the tracked name (renamedTo in metadata). A real decrease in stars is reported as a negative gain.
Rate limits and capacity (docs.github.com)
- REST: 60 requests/hour unauthenticated, 5,000/hour with a personal token.
- Search API: 10 requests/minute unauthenticated, 30/minute authenticated; max 1,000 results per query.
- GraphQL: token required; 5,000 points/hour per user; a query costs at least 1 point; secondary limit 2,000 points/minute.
Approximate capacity per hour of runtime: without a token ~50 repos (REST; a partial snapshot is stored and marked complete: false when the limit is reached). With a token via REST up to ~4,900 repos; via GraphQL with 50 repos/query, thousands of repos for a few dozen to a few hundred points (the actual point cost is read from rateLimit.cost and reported in SUMMARY.apiCalls.graphqlPoints).
Categories
Built-in: AI Agents & LLM, Data & ML, Frontend, Backend, DevOps & Infra, Database, Security, Mobile, CLI Tools. Classification prefers repo topics; description/name matches need one strong term (e.g. "llm", "model context protocol") or two distinct weaker terms (e.g. "agent" + "openai"), with word boundaries. Custom categories: {name, topics, keywords, languages}; their keywords count as strong. A repo may belong to several categories.
Output
type: "category": category, starsGained, forksGained, trackedRepos, repoCount, prevStarsGained, prevForksGained, starsChangePct, forksChangePct, historyDays, baselineDate, endDate, coverageNote.type: "repo": category, rank, full_name, url, starsGained, forksGained, prevStarsGained, totalStars, language, description.type: "coverage"(insufficient history) andtype: "snapshot"(snapshot mode).- Key-value
SUMMARY: snapshots used, coverage, missing repos, API usage.
Only repository-level data is stored and output; no user logins, emails or other personal data.
Notes
- Trends only cover the tracked universe, not all of GitHub.
- History starts on the first snapshot run; a 7-day query needs about 8 daily snapshots, comparison with the previous 7 days about 15.
- Use within GitHub's Acceptable Use Policies and API terms.