Skip to the content

Scraper API

GitHub

github.repositoryAvailable

GitHub repository

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.

Give it a public repository, as owner/name or its address on github.com.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
2, 1 required
Record
32 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/github.repository/runs

{
"input": {
"repository": "pallets/flask"
}
}

sent, and answered

a record of the run32 fields

{
full_name: "pallets/flask"
owner: "pallets"
name: "flask"
url: "https://github.com/pallets/flask"
source: "api"
repository_id: 596892
owner_type: "Organization"
description: "The Python micro framework for building web applications."
homepage: "https://flask.palletsprojects.com"
… 23 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 32 fields are set down here; the whole record is below.

github.com
The page GitHub repository reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Measure a project
A public repository's stars, forks, watchers and open issues, with its language, topics, licence and README.
Check a dependency's health
pushed_at, open_issues and is_archived say whether a project you build on is still looked after.
Enrich a list of repositories
Add the description, the homepage, the topics and the licence to repositories you hold by name.

What you send

A public repository, as owner/name or its address on github.com. These are its 2 inputs, as its schema has them.

repositorystring Required
The repository as owner/name, or any address inside it on github.com.
include_readmeboolean Optional
true returns the README's text as well, and is the default; false leaves it out.Default true

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.repository/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"repository":"pallets/flask"}}'

# 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.repository", {"repository": "pallets/flask"})
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.repository", { repository: "pallets/flask" });
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.repository", map[string]any{"repository": "pallets/flask"})
	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.repository", Map.of("repository", "pallets/flask"));
        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.repository --input repository=pallets/flask

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

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. A record has 32 fields. One we could not read is null, never an empty string or a zero.

A record github.repository returned
{
  "full_name": "pallets/flask",
  "owner": "pallets",
  "name": "flask",
  "url": "https://github.com/pallets/flask",
  "source": "api",
  "repository_id": 596892,
  "owner_type": "Organization",
  "description": "The Python micro framework for building web applications.",
  "homepage": "https://flask.palletsprojects.com",
  "language": "Python",
  "topics": [
    "flask",
    "jinja",
    "pallets"
  ],
  "license": "BSD-3-Clause",
  "license_name": "BSD 3-Clause \"New\" or \"Revised\" License",
  "stars": 75249,
  "forks": 17336,
  "watchers": 2153,
  "open_issues": 4,
  "default_branch": "main",
  "size_kb": 12227,
  "created_at": "2010-04-06T11:11:59Z",
  "updated_at": "2026-11-18T22:03:15Z",
  "pushed_at": "2026-10-30T15:05:22Z",
  "is_fork": false,
  "parent": null,
  "is_archived": false,
  "is_template": false,
  "has_issues": true,
  "has_wiki": false,
  "has_discussions": false,
  "readme": "<div align=\"center\"><img src=\"https://raw.githubusercontent.com/pallets/flask/refs/heads/stable/docs/_static/flask-name.svg\" alt=\"\" height=\"150\"></div>\n\n# Flask\n\nFlask is a lightweight [WSGI] web application framework. It is designed\nto … [truncated]",
  "readme_path": "README.md",
  "fetched_at": "2026-11-19T18:07:40.277931Z"
}

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: 7 items, the first 3 shown; readme: 1,639 characters, the first 236 shown.

The fields of a record

full_namestring
The repository as owner/name, e.g. "pallets/flask".
ownerstring
The account that owns the repository: a user's or an organisation's login.
namestring
The repository's own name, without the owner.
urlstring
The repository's address on github.com.
sourcestring
Where the record was read: "api" (GitHub's public API) or "page" (the repository's page on github.com, read when the API has no answer left for the moment). From the page, language, open_issues, size_kb, parent, the dates other than created_at and the has_ flags are null, and the README is plain text.
repository_idinteger or null
GitHub's numeric id of the repository; it stays the same when the repository is renamed.
owner_typestring or null
"User" or "Organization".
descriptionstring or null
The one-line description under the repository's name; null when it 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, e.g. "Python"; null when it detects none.
topicslist of strings
The topics the owner tagged the repository with, e.g. ["python", "web-framework"].
licensestring or null
The licence's SPDX identifier, e.g. "MIT", "Apache-2.0"; "NOASSERTION" for a licence file GitHub cannot match; null when there is no licence file.
license_namestring or null
The licence's name, e.g. "BSD 3-Clause \"New\" or \"Revised\" License".
starsinteger or null
How many accounts starred the repository.
forksinteger or null
How many forks the repository has.
watchersinteger or null
How many accounts watch the repository (are notified of its activity).
open_issuesinteger or null
Open issues and open pull requests together, as GitHub counts them.
default_branchstring or null
The branch the repository opens on, e.g. "main".
size_kbinteger or null
The size of the repository in kilobytes.
created_atdatetime or null
When the repository was created, in UTC.
updated_atdatetime or null
When the repository itself last changed (a push, a star, an edited description), in UTC.
pushed_atdatetime or null
When code was last pushed to any branch, in UTC.
is_forkboolean or null
True when the repository is a fork of another.
parentstring or null
For a fork, the repository it was forked from, as owner/name.
is_archivedboolean or null
True when the owner archived the repository (read-only).
is_templateboolean or null
True for a template repository.
has_issuesboolean or null
True when the repository's issue tracker is on.
has_wikiboolean or null
True when the repository's wiki is on.
has_discussionsboolean or null
True when the repository's discussions are on.
readmestring or null
The README's text: the file as written (Markdown, reStructuredText, ...) when source is "api", its plain text when source is "page". Null when the repository has none, when include_readme was false, or when it could not be read.
readme_pathstring or null
The README file's path in the repository, e.g. "README.md".
fetched_atdatetime
When the repository was read, in UTC.

The whole schema, in its reference

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

  • Public repositories only. A private one, or one that does not exist, ends as failed, with the reason not_found, and costs nothing.
  • A record read from the repository's page has no main language, open issue count, size or last push, and its README is plain text rather than the file as written.
  • open_issues counts open issues and open pull requests together, as GitHub does.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does GitHub repository return?

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. A record has 32 fields, among them full_name, owner, name, url, source and repository_id. A value that could not be read is null, never an empty string or a zero.

What do I send?

A public repository, as owner/name or its address on github.com. The input repository is required. Optional: include_readme.

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.

What does it not do?

Public repositories only. A private one, or one that does not exist, ends as failed, with the reason not_found, and costs nothing. A record read from the repository's page has no main language, open issue count, size or last push, and its README is plain text rather than the file as written. open_issues counts open issues and open pull requests together, as GitHub does.

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.repository and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs GitHub repository 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.

  • 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 profile

    github.profile

    A 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.

  • A search in GitHub's own syntax: words, and qualifiers such as language:python or stars:>1000. The repositories on a page of the results, in GitHub's order: name, description, stars, forks, open issues, main language, topics, licence and dates.

  • GitHub releases

    github.releases

    A 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.trending

    Nothing, 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.

GitHub on the line-up

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.