GitHub Repository & User Stats API
Pricing
from $2.00 / 1,000 repo scrapeds
GitHub Repository & User Stats API
Extract GitHub repo stars, forks, watchers and user profiles in bulk via the public REST API. $0.002/item + $0.02 start.
Pricing
from $2.00 / 1,000 repo scrapeds
Rating
0.0
(0)
Developer
ando
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
3 months ago
Last modified
Categories
Share
Extract repository statistics and user profiles directly from the GitHub REST API in bulk. Feed it a list of repo names or usernames and get back stars, forks, watchers, languages, follower counts, and more β no authentication or HTML scraping required. Useful for benchmarking open-source projects, tracking competitor repos, or enriching developer profiles.
Features
- Dual mode β scrape repository stats or user profiles in a single run
- Bulk processing β process dozens of targets in one run
- Official API β queries
api.github.comdirectly for accurate, structured data - Rich metadata β repos get stars, forks, watchers, language, and topics; users get followers, public repo count, and bio
- No auth required β uses the public GitHub API (rate-limited to 60 req/hr)
- Auto-detection β automatically determines if a target is a repo (
owner/name) or a user (username)
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
targets | array | Yes | β | List of GitHub repositories (e.g. apify/crawlee) or usernames (e.g. torvalds) |
timeoutSeconds | integer | No | 15 | Per-request API timeout in seconds (1-120) |
Input Example
{"targets": ["apify/crawlee", "torvalds"],"timeoutSeconds": 15}
Output
Each dataset item represents one repository or user profile. Key fields:
target(string) β the input target stringtype(string) βRepository,User, orUnknownname(string) β full repo name or usernamedescription(string) β repo description or user biourl(string) β GitHub profile or repo URLstars(number) β stargazer count (repos only)forks(number) β fork count (repos only)watchers(number) β subscriber/watcher count (repos only)language(string) β primary language (repos only)followers(number) β follower count (users only)publicRepos(number) β public repository count (users only)
Output Example
{"target": "apify/crawlee","type": "Repository","name": "apify/crawlee","description": "Crawlee β A web scraping and browser automation library for Node.js","url": "https://github.com/apify/crawlee","stars": 15200,"forks": 680,"watchers": 142,"language": "TypeScript","followers": 0,"publicRepos": 0}
Pricing
| Event | Cost |
|---|---|
| Actor start | $0.02 |
| Repo Scraped | $0.002 |
Typical run cost: 10 targets β $0.02 + 10 Γ $0.002 = $0.04.
Use Cases
- OSS benchmarking β compare star counts and fork rates across competing open-source projects
- Developer enrichment β pull follower counts and bio data for developer profiles in your CRM
- Tech due diligence β assess a project's traction and community size before integrating or investing
- Portfolio monitoring β schedule weekly runs to track growth of repos you maintain or depend on
Related Actors
| Actor | What it adds |
|---|---|
| NPM Metadata Extractor | Get package-level details for repos that publish to NPM |
| Hacker News Scraper | Track when repos get discussed on Hacker News |
Notes
- The public GitHub API has a rate limit of 60 requests per hour per IP. For large batches, consider spacing runs or providing a GitHub token (not currently supported by this actor).