Search GitHub repositories by keyword, language, topic, and stars
search_github_repositoriesSearch public GitHub repositories by keyword, language, topic, star range, and dates; return structured metadata like owner, stars, forks, and license for each match.
Instructions
Give search phrases and filters (language, topics, star range, created or pushed date). Returns one row per public GitHub repository from GitHub's official search API: full name, owner, description, language, topics, stars, forks, open issues, license, created, updated, and pushed dates. Optional GitHub token for higher limits. Pay per event on Apify: 0.0025 USD per repository row.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_github_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | stars (default) lists the most starred first, forks the most forked, updated the most recently updated, best_match by GitHub's relevance. | |
| forks | No | exclude (default) leaves forks out, include adds them, only returns forks alone. | |
| topics | No | Only repositories tagged with every one of these GitHub topics, for example llm or web-scraping. | |
| keywords | No | Search phrases, for example web scraper or vector database. Each phrase is one search, combined with the filters below. One phrase per line. Leave empty to search on the filters alone. In Clay, put the column inside a one item list. | |
| language | No | Only repositories in this main language, for example Python, TypeScript, or Go. | |
| max_stars | No | Only repositories with at most this many stars. With a minimum, this makes a range: use ranges to reach past GitHub's 1,000 results per search. | |
| min_stars | No | Only repositories with at least this many stars, for example 100. | |
| github_token | No | Optional. Your own GitHub personal access token; it needs no scopes for public repositories. With it the run makes 30 searches a minute instead of 10. It is stored encrypted by Apify, sent only to api.github.com, and never written to a row or a log. | |
| pushed_after | No | Only repositories with a push on or after this date, YYYY-MM-DD. Use it to skip inactive projects. | |
| created_after | No | Only repositories created on or after this date, YYYY-MM-DD. | |
| max_charge_usd | No | Stop the run before its charges pass this amount in USD. Empty for no cap beyond the one set in Apify. | |
| extra_qualifiers | No | Advanced. Any other GitHub search qualifiers, added as written, for example license:mit in:readme or user:apify. See docs.github.com/en/search-github/searching-on-github/searching-for-repositories. | |
| include_archived | No | no (default) leaves archived, read only repositories out. yes keeps them. | |
| max_repos_per_search | No | Stop each search after this many repository rows. Default 100. GitHub returns at most 1,000 per search. |