GitHub Network Scraper
Pricing
from $9.99 / 1,000 results
GitHub Network Scraper
Scrapes GitHub's public follower and following networks, capturing usernames, profile URLs, account types, and optional profile details such as names, companies, locations, bios, repository counts, and follower statistics, with support for followers, following, or both modes, and deduplication.
Pricing
from $9.99 / 1,000 results
Rating
0.0
(0)
Developer
Jamshaid Arif
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
An Apify actor to extract public social connection graphs, follower lists, following networks, and enriched profile metadata from GitHub's REST API.
Key Features
- Directional Network Traversal: Retrieve
followers(users following target),following(users target follows), orboth. - Profile Enrichment: Optionally pull complete user profile metadata including real name, company, geographic location, bio biography, public repository counts, and follower stats.
- High-Volume PAT Support: Accepts an optional GitHub Personal Access Token (
token) to scale rate limits up to 5,000 requests per hour (vs. 60 requests per hour for anonymous calls). - Deduplication & Safety: Deduplicates users and tracks relationships cleanly.
- Proxy Compatibility: Full integration with Apify Proxy or custom proxies.
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
username | String | "octocat" | GitHub username or handle to inspect (e.g. octocat or torvalds). |
mode | String | "followers" | Network mode: "followers", "following", or "both". |
limit | Integer | 50 | Maximum number of user records to extract. |
details | Boolean | false | When true, fetches profile details (name, company, location, bio, repos count, etc.). |
token | String | "" | Optional GitHub Personal Access Token to increase API limits. |
delay | Number | 0.2 | Delay in seconds between HTTP pagination or profile calls. |
timeout | Number | 15 | Network request timeout in seconds. |
proxyConfiguration | Object | {"useApifyProxy": false} | Proxy settings for requests. |
Example Input JSON
{"username": "octocat","mode": "followers","limit": 50,"details": true,"token": "","delay": 0.2,"timeout": 15,"proxyConfiguration": {"useApifyProxy": false}}
Output Dataset Fields
| Field | Type | Description |
|---|---|---|
login | String | GitHub username handle. |
user_id | String | Unique GitHub numerical user ID. |
avatar_url | String | URL to the user's avatar image. |
profile_url | String | Direct URL to the GitHub profile page (https://github.com/<login>). |
user_type | String | Account type (User or Organization). |
name | String | Public display name (populated when details is true). |
company | String | Listed company affiliation (when details is true). |
location | String | Public location string (when details is true). |
bio | String | Public biography summary (when details is true). |
public_repos | Integer / null | Total public repositories owned (when details is true). |
followers_count | Integer / null | Number of followers (when details is true). |
following_count | Integer / null | Number of accounts following (when details is true). |
target_user | String | Target username specified in the query. |
relationship | String | Connection type: "follower" or "following". |
scraped_at | String | ISO 8601 timestamp when the record was processed. |
Example Output JSON
{"login": "octocat","user_id": "583231","avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4","profile_url": "https://github.com/octocat","user_type": "User","name": "The Octocat","company": "@github","location": "San Francisco","bio": "GitHub's official mascot","public_repos": 8,"followers_count": 18200,"following_count": 9,"target_user": "octocat","relationship": "follower","scraped_at": "2026-11-08T19:25:00.000000+00:00"}
Policy Section & Compliance Guidelines
Terms of Service & API Guidelines
This actor communicates with the official GitHub REST API (api.github.com). Use of this actor must strictly comply with GitHub's Terms of Service and Acceptable Use Policies. You must not use this actor for bulk automated messaging, unsolicited commercial outreach, or harassing users.
Rate Limiting & Polite Scraping
- Anonymous Requests: GitHub limits unauthenticated requests to 60 per hour per originating IP address.
- Authenticated Requests: Supplying a GitHub Personal Access Token (
token) elevates your quota to 5,000 requests per hour. - Maintain the default delay (
0.2sor higher) to avoid triggering secondary rate-limiting mechanisms or IP blocks. - When enabling
details=true, an additional HTTP call is made for each user; ensure sufficient quota is available before initiating large queries.
Personal Data & Privacy (GDPR, CCPA)
Public GitHub developer profiles may contain personal data such as names, affiliations, geographic locations, and contact information. When processing or storing this information:
- Respect data protection regulations including the EU General Data Protection Regulation (GDPR) and California Consumer Privacy Act (CCPA/CPRA).
- Do not build unauthorized surveillance or profiling databases of open-source contributors.
- Provide mechanisms for individuals to request data removal or rectification where required by law.
Permissible Use & Fair Use Disclaimer
This actor is developed for educational, recruitment analytics, academic research on open-source ecosystems, and developer tooling integrations. The authors assume no liability for misuse, policy breaches, or unauthorized scraping conducted by end users.
How to Run
Via Apify Console
- Navigate to the GitHub Network Scraper actor on the Apify platform.
- Fill in the GitHub Username (e.g.
octocat) and select the relationship mode. - (Optional) Provide a GitHub Personal Access Token in the token field for high-volume jobs.
- Click Start to execute the run.
- Download your extracted dataset in JSON, CSV, or Excel format.
Via Apify CLI
$apify call github-network-scraper --input='{"username": "octocat", "mode": "followers", "limit": 20}'