Scraper API
GitHubgithub.searchAvailable
GitHub repository search
The repositories on a page of the results, in GitHub's order: name, description, stars, forks, open issues, main language, topics, licence and dates.
Give it a search in GitHub's own syntax: words, and qualifiers such as language:python or stars:>1000.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 5, 1 required
- Record
- 23 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/github.search/runs
sent, and answered
a record of the run23 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 23 fields are set down here; the whole record is below.

What it is used for
- Find the projects in a field
- The public repositories GitHub's search returns for a query, in order, with stars, forks, language and topics.
- Map a technology
- Search by topic and language and count the results by licence, by age and by when each was last pushed to.
- Watch for newcomers
- Run the same search on a schedule, sorted by stars, and list the repositories that were not there before.
What you send
A search in GitHub's own syntax: words, and qualifiers such as language:python or stars:>1000. These are its 5 inputs, as its schema has them.
querystring Required- Words and GitHub's qualifiers: language:, stars:, topic:, user:, org:, pushed:, created:, license:, in:readme and the rest.
sortstring Optional- best_match, stars, forks or updated. best_match unless you say otherwise.Default
best_match orderstring Optional- desc or asc, for a sort other than best_match.Default
desc max_resultsinteger Optional- Repositories a page: 1 to 100, 30 unless you say otherwise.Default
30 pageinteger Optional- The results page, from 1.Default
1
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/github.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"web scraper language:python","sort":"stars","max_results":5}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("github.search", {
"query": "web scraper language:python",
"sort": "stars",
"max_results": 5,
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("github.search", {
query: "web scraper language:python",
sort: "stars",
max_results: 5,
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "github.search", map[string]any{"query": "web scraper language:python", "sort": "stars", "max_results": 5})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("github.search", Map.of("query", "web scraper language:python", "sort", "stars", "max_results", 5));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run github.search --input 'query=web scraper language:python' --input sort=stars --input max_results=5Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The repositories on a page of the results, in GitHub's order: name, description, stars, forks, open issues, main language, topics, licence and dates. A record has 23 fields. One we could not read is null, never an empty string or a zero.
{
"position": 1,
"page": 1,
"full_name": "unclecode/crawl4ai",
"owner": "unclecode",
"name": "crawl4ai",
"url": "https://github.com/unclecode/crawl4ai",
"repository_id": 798201435,
"owner_type": "User",
"description": "Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.",
"homepage": "https://crawl4ai.com/?ref=github-about",
"language": "Python",
"topics": [
"ai",
"ai-agents",
"crawl4ai-cloud"
],
"license": "Apache-2.0",
"stars": 87529,
"forks": 9130,
"open_issues": 350,
"default_branch": "main",
"created_at": "2024-05-09T09:48:50Z",
"updated_at": "2026-11-18T21:36:09Z",
"pushed_at": "2026-11-18T15:37:54Z",
"is_fork": false,
"is_archived": false,
"fetched_at": "2026-11-19T18:07:40.285580Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: topics: 16 items, the first 3 shown.
The fields of a record
positioninteger- The repository's place in the whole result list, from 1 (page 2 of 30 a page starts at 31).
pageinteger- The results page the repository was on.
full_namestring- The repository as owner/name.
ownerstring- The account that owns the repository.
namestring- The repository's own name, without the owner.
urlstring- The repository's address on github.com.
repository_idinteger or null- GitHub's numeric id of the repository.
owner_typestring or null- "User" or "Organization".
descriptionstring or null- The one-line description; null when the repository has none.
homepagestring or null- The website the repository links to; null when it names none.
languagestring or null- The main programming language GitHub detects; null when it detects none.
topicslist of strings- The topics the repository is tagged with.
licensestring or null- The licence's SPDX identifier, e.g. "MIT"; null when there is no licence file.
starsinteger or null- How many accounts starred the repository.
forksinteger or null- How many forks the repository has.
open_issuesinteger or null- Open issues and open pull requests together.
default_branchstring or null- The branch the repository opens on.
created_atdatetime or null- When the repository was created, in UTC.
updated_atdatetime or null- When the repository itself last changed, in UTC.
pushed_atdatetime or null- When code was last pushed, in UTC.
is_forkboolean or null- True when the repository is a fork.
is_archivedboolean or null- True when the repository is archived.
fetched_atdatetime- When the results were read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one page of results. GitHub serves the first 1,000 results of a search, so page x max_results stops at 1,000.
- Repositories only: code, issues, users and commits are not searched.
- A search GitHub refuses as written, such as a user: that does not exist, ends as failed, with the reason search_not_accepted, and costs nothing.
The bounds its schema sets
sort- best_match, stars, forks, updated; best_match unless you say otherwise
order- desc, asc; desc unless you say otherwise
max_results- 1 to 100; 30 unless you say otherwise
page- 1 to 1,000; 1 unless you say otherwise
Questions
What does GitHub repository search return?
The repositories on a page of the results, in GitHub's order: name, description, stars, forks, open issues, main language, topics, licence and dates. A record has 23 fields, among them position, page, full_name, owner, name and url. A value that could not be read is null, never an empty string or a zero.
What do I send?
A search in GitHub's own syntax: words, and qualifiers such as language:python or stars:>1000. The input query is required. Optional: sort, order, max_results and page.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: sort best_match, stars, forks, updated (best_match unless you say otherwise); order desc, asc (desc unless you say otherwise); max_results 1 to 100 (30 unless you say otherwise); page 1 to 1,000 (1 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One run reads one page of results. GitHub serves the first 1,000 results of a search, so page x max_results stops at 1,000. Repositories only: code, issues, users and commits are not searched. A search GitHub refuses as written, such as a user: that does not exist, ends as failed, with the reason search_not_accepted, and costs nothing.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id github.search and the same input. It costs what the same API call costs.
Used in these playbooks
A playbook runs GitHub repository search as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.
Recruiting
Talent Sourcing
People who posted that they want to be hired, or show their work, in your role and place, scored on the skills you need.
Finance
VC Deal Sourcing
Young startups gaining traction on GitHub, Hacker News and Y Combinator, one row each with its signals and website.
GitHub
Public GitHub repositories, profiles, releases, repository search and the trending page, as GitHub shows them to anyone.
GitHub repository
github.repositoryA public repository, as owner/name or its address on github.com. Its description, stars, forks, watchers, open issues, main language, topics, licence, default branch, size, the dates it was created and last pushed to, whether it is a fork or archived, and its README.
GitHub profile
github.profileA GitHub account's handle, or its address on github.com: a developer's or an organisation's. Its name, bio, company, location, website, the email address and X handle it chose to show, picture, follower, following, repository and gist counts, when it was created, and on request its public repositories.
GitHub releases
github.releasesA public repository, as owner/name or its address on github.com. Its releases, newest first: tag, title, release notes, whether it is a pre-release, author, dates, and each attached file with its size, download count and address.
GitHub trending
github.trendingNothing, or a programming language, a period and a spoken language. The repositories on GitHub's trending page, in its order: rank, name, description, language, stars, forks, the stars gained in the period, and the contributors shown.
- Industry
- Code and research
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.