GitHub Repo Search — Stars, Language & Topics avatar

GitHub Repo Search — Stars, Language & Topics

Pricing

from $1.00 / 1,000 repository results

Go to Apify Store
GitHub Repo Search — Stars, Language & Topics

GitHub Repo Search — Stars, Language & Topics

Search GitHub repositories by keyword, language, topic, stars, and date. Returns structured JSON with stars, forks, watchers, topics, license, and timestamps. No login needed. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

Pricing

from $1.00 / 1,000 repository results

Rating

0.0

(0)

Developer

Muhammad Afzal

Muhammad Afzal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Search GitHub repositories by keyword, language, topic, stars, and date. Returns structured JSON with repository metadata including stars, forks, watchers, topics, license, and activity timestamps. No login or API token required (optional token for higher rate limits).

Features

  • Full-text search — Search across repository names, descriptions, and READMEs
  • Structured filters — Filter by programming language, GitHub topics, owner/org, star range, fork count, license, creation date, and last push date
  • Direct repo lookup — Fetch metadata for specific repositories by URL (bypasses search)
  • Sort options — Sort by stars, forks, recent activity, or GitHub best-match
  • No API token required — Works with unauthenticated GitHub API access (10 search requests/min). Add a token for 30 search requests/min and 5000 req/hr
  • Clean, flat output — One consistent record shape for every repository
  • Smart rate-limit handling — Automatically waits and retries on rate limit, with graceful degradation
  • MCP-optimized — Semantic field names and structured output ready for AI agent consumption

Use Cases

  • Developer-tool market research — Find popular libraries in a language, sorted by stars
  • Dependency & ecosystem tracking — Map projects using a specific framework or library
  • Trending discovery — Find new repos created recently, ranked by stars
  • Lead generation — Identify maintainers and organizations active in a topic
  • OSS intelligence — Track repository growth, activity, and licensing
  • AI training datasets — Build large structured repository datasets

Input

FieldTypeDescriptionDefault
searchQuerystringKeywords to search repo names, descriptions, and READMEs"web scraping"
languagestringFilter by programming language (python, typescript, rust, etc.)"" (all)
topicstringFilter by GitHub topics (comma-separated, all must match)""
userOrgstringRestrict to a user or organization login""
minStarsintegerMinimum star count0
maxStarsintegerMaximum star count"" (no limit)
minForksintegerMinimum fork count0
licenseselectFilter by license (mit, apache-2.0, gpl-3.0, etc.)"any"
createdAfterstringRepos created on or after this date (YYYY-MM-DD)""
pushedAfterstringRepos pushed on or after this date (YYYY-MM-DD)""
excludeForksbooleanSkip forked repositoriestrue
excludeArchivedbooleanSkip archived repositoriestrue
sortselectSort by: stars, forks, updated, best-match"stars"
orderselectSort direction: desc or asc"desc"
startRepoUrlsarrayDirect repo URLs to fetch (bypasses search)[]
maxResultsintegerMaximum repositories to return (GitHub caps at 1000)100
githubTokenstringOptional GitHub token for higher rate limits""

Quick Start

Search for popular Python web scraping libraries:

{
"searchQuery": "web scraping",
"language": "python",
"minStars": 100,
"sort": "stars",
"maxResults": 50
}

Find trending TypeScript repos from 2025:

{
"searchQuery": "",
"language": "typescript",
"createdAfter": "2025-01-01",
"minStars": 50,
"sort": "stars",
"maxResults": 100
}

Fetch specific repositories by URL:

{
"startRepoUrls": [
"https://github.com/facebook/react",
"https://github.com/vuejs/vue",
"https://github.com/angular/angular"
],
"maxResults": 3
}

Output

Each dataset record contains:

FieldTypeDescription
repoNamestringRepository name without owner prefix
fullNamestringFull name as owner/repo
descriptionstring|nullRepository description
urlstringGitHub HTML URL
ownerstringOwner login (user or org)
ownerTypestring"User" or "Organization"
ownerUrlstringOwner's GitHub profile URL
starsnumberStar count (stargazers)
forksnumberFork count
watchersnumberSubscriber count
openIssuesnumberOpen issues + PRs count
languagestring|nullPrimary programming language
topicsstring[]GitHub topic tags
licensestring|nullSPDX license key
licenseNamestring|nullFull license name
isArchivedbooleanWhether repo is archived
isForkbooleanWhether repo is a fork
homepagestring|nullExternal homepage URL
defaultBranchstringDefault branch name
sizeKbnumberRepository size in KB
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last metadata update
pushedAtstringISO 8601 last push timestamp
hasWikibooleanWiki enabled
hasDiscussionsbooleanDiscussions enabled
totalResultsnumberTotal matching repos on GitHub
incompleteResultsbooleanWhether GitHub truncated results
scrapedAtstringISO 8601 extraction timestamp
sourceUrlstringAPI URL that produced this record

Pricing

This actor uses Pay Per Event pricing:

EventPriceDescription
Actor Start$0.00005Charged when the actor starts
Repository Result$0.001Per repository returned in the dataset

Example costs:

  • 100 repositories = $0.10 + $0.00005 start = ~$0.10
  • 500 repositories = $0.50 + $0.00005 start = ~$0.50
  • 1000 repositories = $1.00 + $0.00005 start = ~$1.00

Rate Limits

GitHub's REST API enforces rate limits:

ModeSearch requestsCore requests
Unauthenticated10/min60/hr
With token30/min5,000/hr

The actor automatically:

  • Detects rate-limit responses (HTTP 403 with x-ratelimit-remaining: 0)
  • Calculates the wait time from the x-ratelimit-reset header
  • Waits and retries the same page
  • Adds appropriate delays between page requests (2.1s with token, 6.2s without)

Getting a GitHub Token (Optional)

  1. Go to github.com/settings/tokens
  2. Generate a new token (classic)
  3. No scopes needed for public repository data
  4. Paste the token into the githubToken input field

Your token is used only to call the GitHub API and is never stored.

Export & Integration

Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools. Results are available as JSON, CSV, Excel, or via the Apify API.

Notes

  • GitHub caps any single search at 1,000 results. Use multiple queries with different filters for broader coverage.
  • The incompleteResults field indicates if GitHub's search timed out — some matching repos may be missing.
  • The totalResults field shows how many total repos match the query on GitHub (may be much larger than the number returned).