# GitHub Repository Search — Public Organizations \[$2.20/1K] (`zinin/github-repository-search-scraper`) Actor

Search public GitHub organization repositories by keyword, language and minimum stars and get one row per repo: full name, stars, forks, open issues, language, license, archived flag, last update and URL. Official GitHub Search API, no login, no browser. Pay per repository, no start fee.

- **URL**: https://apify.com/zinin/github-repository-search-scraper.md
- **Developed by:** [Tim Zinin](https://apify.com/zinin) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.54 / 1,000 public organization repositories

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## GitHub Repository Search — public organization projects

**$2.20 per 1,000 delivered repository rows, no start fee.** The prefilled run searches GitHub's official REST API for public organization repositories matching `playwright` and at least 100 stars. Empty results and API errors produce free status rows.

This Actor is for finding candidate open-source projects by keyword, language, popularity and recent activity. It differs from our GitHub Releases and Pull Requests Actors, which monitor known repositories. It deliberately emits organization repositories only and excludes owner profiles, email addresses, repository descriptions, README text and other user-written content.

The public Apify Store snapshot on 12 November 2026 contained 19 named GitHub repository search competitors with a single identifiable per-repository price. Their published Free-tier result prices had a median of **$2.00/1K** (range $0.20–$200/1K). This Actor's $2.20/1K is slightly above that median; unlike many competitors, it has no start fee. Those prices and users in 30 days are listing signals, not proof of competitor quality or paying demand.

### What you get

One row per public, non-fork organization repository: full repository name and link, star/fork/open-issue counts, primary language, SPDX license key when present, archived flag, last update time and retrieval time. The Actor obtains results through [GitHub's repository search endpoint](https://docs.github.com/en/rest/search/search#search-repositories) and does not open repository pages or arbitrary URLs.

Without a buyer-supplied token, GitHub limits its Search API to **10 requests per minute per IP** and its general public REST API to **60 requests per hour per IP**. This Actor makes **one search request per run** and never retries 403/429. An optional encrypted input accepts your own GitHub token; it is sent only as an Authorization header to `api.github.com`, never recorded in the output. The Actor does not use a publisher GitHub key. See [GitHub's rate limits](https://docs.github.com/en/rest/search/search#rate-limit) and [API terms](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service).

The first page contains up to 30 candidate repositories. Individual-user repositories, private repositories and forks are excluded without charge, so the delivered row count may be less than the requested maximum. There is no multi-page history or guarantee that Search returns a complete universe; GitHub may mark results incomplete. This Actor is an independent tool and is not affiliated with GitHub.

### Input

```json
{
  "term": "playwright",
  "language": "",
  "minStars": 100,
  "sort": "stars",
  "maxItems": 20
}
```

- `term`: 2–80 plain keyword characters; no custom GitHub qualifiers or URL input.
- `language`: optional primary language, such as `TypeScript` or `Python`.
- `minStars`: 0–1,000,000; default 100.
- `sort`: `stars` or `updated`, descending.
- `maxItems`: 1–30 maximum paid organization repository rows from one first page.
- `githubToken`: optional buyer-owned GitHub token stored as an Apify secret input. Leave empty for keyless public search.

### Output

```json
{
  "found": true,
  "repository": "microsoft/playwright",
  "stars": 80000,
  "forks": 4000,
  "openIssues": 500,
  "language": "TypeScript",
  "license": "Apache-2.0",
  "archived": false,
  "updatedAt": "2026-11-12T00:00:00Z",
  "repositoryUrl": "https://github.com/microsoft/playwright",
  "source": "GitHub REST API",
  "retrievedAt": "2026-11-12T00:00:00Z"
}
```

The numbers and times are illustrative; the actual run returns live GitHub data. If no public organization repositories qualify, or the API fails, the dataset contains a free `found:false` status row with `error`, `sourceUrl` and `retrievedAt`. Only valid repository rows trigger `result-found`. The Actor checks the buyer's charge limit before delivering the next paid row.

### Price and limits

Free tier: $0.0022 per repository ($2.20/1K), with no start fee and no paid default-dataset event. Bronze $1.98/1K; Silver $1.76/1K; Gold, Platinum and Diamond $1.54/1K. Thirty rows cost at most $0.066 in result charges on the Free tier. **50,000 rows would be $110 in result charges only**, but this Actor caps a run at 30 rows and GitHub's search limits apply; 50,000 rows is a price comparison, not a one-run capacity claim. Apify platform usage is separate if the buyer's plan charges it.

### For AI agents and workflow tools

The Actor uses limited permissions and declares input, dataset and output schemas. For Apify hosted MCP, select `zinin/github-repository-search-scraper` and set a small `maxItems` for interactive searches. Apify authentication and payment belong to the client's Apify connection.

```json
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com?tools=zinin/github-repository-search-scraper" }
  }
}
```

In n8n, Make or Zapier, run the Actor, wait for completion, then fetch default-dataset items. Use `repository` as a stable deduplication key and `updatedAt` for a freshness signal. Route `found:false` to an error or no-match branch. See [Apify MCP](https://docs.apify.com/mcp) and [integration guides](https://docs.apify.com/integrations).

### You might also like

- [GitHub Releases Scraper](https://apify.com/zinin/github-releases-scraper) — watch known projects' releases.
- [GitHub Pull Requests Scraper](https://apify.com/zinin/github-pull-requests-scraper) — watch known projects' PR states.
- [Hacker News Stories and Comments Scraper](https://apify.com/zinin/hacker-news-stories-comments-scraper) — follow tech discussion.
- [Company Hiring Radar](https://apify.com/zinin/company-hiring-radar) — track hiring signals.

### What's new — 12 November 2026

First version: one official repository search request, public organization filter, bounded output, personal fields excluded, and result-only billing.

# Actor input Schema

## `term` (type: `string`):

Two to 80 plain keyword characters. Search is limited to public repositories and a single first page.

## `language` (type: `string`):

Optional GitHub language qualifier, such as TypeScript or Python.

## `minStars` (type: `integer`):

Only repositories with at least this many stars.

## `sort` (type: `string`):

Sort by stars or most recently updated.

## `maxItems` (type: `integer`):

Read one page of up to 30 candidates and deliver at most this many public organization repositories.

## `githubToken` (type: `string`):

Optional buyer token for a higher GitHub Search API rate limit. Encrypted Actor input; sent only to api.github.com, never included in output.

## Actor input object example

```json
{
  "term": "playwright",
  "language": "",
  "minStars": 100,
  "sort": "stars",
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

API URL of the run's default dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "term": "playwright",
    "language": "",
    "minStars": 100,
    "sort": "stars",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinin/github-repository-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "term": "playwright",
    "language": "",
    "minStars": 100,
    "sort": "stars",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("zinin/github-repository-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "term": "playwright",
  "language": "",
  "minStars": 100,
  "sort": "stars",
  "maxItems": 20
}' |
apify call zinin/github-repository-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zinin/github-repository-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/y4uTarrppwfDjivfL/builds/Mg5N7EOez3p2IAk1c/openapi.json
