# GitHub Repo Intelligence — Stars, Releases & Issues (`straightforward_hydra/github-repo-intelligence-stars-releases-issues`) Actor

Search repos, pull repo details, list a user/org's repos, and fetch releases or issues from the official GitHub API. No key.

- **URL**: https://apify.com/straightforward\_hydra/github-repo-intelligence-stars-releases-issues.md
- **Developed by:** [Dev D](https://apify.com/straightforward_hydra) (community)
- **Categories:** Automation, Developer tools
- **Stats:** 2 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## GitHub Scraper 🐙

**Search repositories, pull repo details, list a user/org's repos, and fetch releases or issues — straight from the official GitHub API. No key required, no proxy.**

Clean, structured GitHub data from the official REST API: **search repos** by language, stars and topic; full **repo details** (stars, forks, watchers, license, topics, activity); every repo for a **user or org**; **releases**; and **issues**. Perfect for OSS/competitor monitoring, release tracking, dependency & security research, dev-trend analysis and talent sourcing.

> Uses the official GitHub API — works with no key (60 req/hr). Add a free personal access token for 5,000 req/hr.

---

### Five modes

- 🔎 **Search repositories** — by query, language, min stars and topic; sort by stars/forks/updated.
- 📦 **Repo details** — full metadata for specific repos (stars, forks, watchers, license, topics, timestamps).
- 👤 **User / org repos** — every public repo for a user or organization.
- 🏷️ **Releases** — version history, tags, prerelease flags, publish dates.
- 🐛 **Issues** — open/closed/all issues (pull requests flagged separately).

### Features

- ✅ **No API key** — official GitHub endpoints; token optional for higher limits.
- ✅ **No proxy, no anti-bot** — stable official API, very low maintenance.
- ✅ **Rich records** — stars, forks, watchers, language, topics, license, timestamps.
- ✅ **Smart search** — combine free text with language/stars/topic qualifiers.
- ✅ **Paginated** — handles Link-header paging automatically.

---

### Input

| Field | Description |
|---|---|
| **Mode** | search-repos / repo-details / user-repos / releases / issues. |
| **Query / Language / Min stars / Topic** | Search filters. |
| **Sort / Order** | Search ordering. |
| **Repositories** | owner/name list (details, releases, issues). |
| **Users** | usernames/orgs (user-repos). |
| **Token** | Optional free PAT for 5,000 req/hr. |

#### Example — top Python repos by stars

```json
{
  "mode": "search-repos",
  "language": "python",
  "minStars": 20000,
  "sort": "stars",
  "maxResults": 100
}
````

#### Example — releases for specific repos

```json
{
  "mode": "releases",
  "repos": ["pallets/flask", "facebook/react"],
  "maxResults": 50
}
```

### Output

Repo row:

```json
{
  "type": "repo",
  "full_name": "pallets/flask",
  "owner": "pallets",
  "owner_type": "Organization",
  "url": "https://github.com/pallets/flask",
  "language": "Python",
  "stars": 71957,
  "forks": 16903,
  "watchers": 2087,
  "open_issues": 10,
  "topics": ["flask", "jinja", "pallets", "python"],
  "license": "BSD-3-Clause",
  "pushed_at": "2025-01-14T09:00:00Z"
}
```

Release, issue and user-repo rows carry their own fields (tag/prerelease; number/state/labels/is\_pull\_request; etc.).

### Run it on a schedule

Schedule the Actor to track a competitor's repos, watch for new releases, or monitor star growth over time — then pipe changes to **Slack / Google Sheets / a webhook**.

### Notes & limitations

- Official GitHub API — no key needed (60 req/hr per IP). **Adding a free personal access token is recommended** — it raises the limit to 5,000 req/hr and avoids the shared per-IP limit on cloud runs. A read-only classic token with no scopes is enough.
- **Rate-limit handling:** if the limit is reached, the run **finishes successfully** and returns everything collected so far (with a status message to add a token) — it does not error out.
- Search is capped at 1,000 results by GitHub.
- Public repository/release/issue metadata.
- Data source: GitHub.

***

#### Keywords

GitHub scraper, GitHub API, GitHub repositories, repo search, GitHub stars, GitHub releases, GitHub issues, open source monitoring, OSS tracking, repo data, developer data, GitHub trending, release tracking, dependency monitoring, GitHub search, code search, GitHub metadata, dev intelligence, star history, GitHub org repos.

# Actor input Schema

## `mode` (type: `string`):

What to pull from GitHub.

## `query` (type: `string`):

Free text or GitHub search qualifiers, e.g. "web framework" or "created:>2024-01-01". Combined with the filters below.

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

Filter by primary language, e.g. python, typescript, rust, go.

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

Only repos with at least this many stars.

## `topic` (type: `string`):

Filter by a repo topic, e.g. machine-learning, cli, api.

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

Order search results. Leave as best match for relevance.

## `order` (type: `string`):

Ascending or descending when a sort is chosen.

## `repos` (type: `array`):

owner/name entries, e.g. \["pallets/flask", "facebook/react"].

## `users` (type: `array`):

Usernames or orgs, e.g. \["vercel", "torvalds"].

## `issueState` (type: `string`):

Which issues to fetch.

## `token` (type: `string`):

A free GitHub personal access token (github.com/settings/tokens) raises the limit from 60 to 5,000 requests/hour. RECOMMENDED: without a token, unauthenticated requests share a low per-IP limit and larger runs may stop early. A read-only classic token with no scopes is enough.

## `maxResults` (type: `integer`):

How many items to return (search is capped at 1000 by GitHub).

## Actor input object example

```json
{
  "mode": "search-repos",
  "sort": "",
  "order": "desc",
  "issueState": "open",
  "maxResults": 100
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("straightforward_hydra/github-repo-intelligence-stars-releases-issues").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("straightforward_hydra/github-repo-intelligence-stars-releases-issues").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call straightforward_hydra/github-repo-intelligence-stars-releases-issues --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=straightforward_hydra/github-repo-intelligence-stars-releases-issues",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "GitHub Repo Intelligence — Stars, Releases & Issues",
        "description": "Search repos, pull repo details, list a user/org's repos, and fetch releases or issues from the official GitHub API. No key.",
        "version": "0.1",
        "x-build-id": "E5XSFdMXshR0ut3lc"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/straightforward_hydra~github-repo-intelligence-stars-releases-issues/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-straightforward_hydra-github-repo-intelligence-stars-releases-issues",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/straightforward_hydra~github-repo-intelligence-stars-releases-issues/runs": {
            "post": {
                "operationId": "runs-sync-straightforward_hydra-github-repo-intelligence-stars-releases-issues",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/straightforward_hydra~github-repo-intelligence-stars-releases-issues/run-sync": {
            "post": {
                "operationId": "run-sync-straightforward_hydra-github-repo-intelligence-stars-releases-issues",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search-repos",
                            "repo-details",
                            "user-repos",
                            "releases",
                            "issues"
                        ],
                        "type": "string",
                        "description": "What to pull from GitHub.",
                        "default": "search-repos"
                    },
                    "query": {
                        "title": "Search query (Search mode)",
                        "type": "string",
                        "description": "Free text or GitHub search qualifiers, e.g. \"web framework\" or \"created:>2024-01-01\". Combined with the filters below."
                    },
                    "language": {
                        "title": "Language (Search mode)",
                        "type": "string",
                        "description": "Filter by primary language, e.g. python, typescript, rust, go."
                    },
                    "minStars": {
                        "title": "Minimum stars (Search mode)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only repos with at least this many stars."
                    },
                    "topic": {
                        "title": "Topic (Search mode)",
                        "type": "string",
                        "description": "Filter by a repo topic, e.g. machine-learning, cli, api."
                    },
                    "sort": {
                        "title": "Sort (Search mode)",
                        "enum": [
                            "",
                            "stars",
                            "forks",
                            "updated",
                            "help-wanted-issues"
                        ],
                        "type": "string",
                        "description": "Order search results. Leave as best match for relevance.",
                        "default": ""
                    },
                    "order": {
                        "title": "Order (Search mode)",
                        "enum": [
                            "desc",
                            "asc"
                        ],
                        "type": "string",
                        "description": "Ascending or descending when a sort is chosen.",
                        "default": "desc"
                    },
                    "repos": {
                        "title": "Repositories (details / releases / issues)",
                        "type": "array",
                        "description": "owner/name entries, e.g. [\"pallets/flask\", \"facebook/react\"].",
                        "items": {
                            "type": "string"
                        }
                    },
                    "users": {
                        "title": "Users / organizations (user-repos mode)",
                        "type": "array",
                        "description": "Usernames or orgs, e.g. [\"vercel\", \"torvalds\"].",
                        "items": {
                            "type": "string"
                        }
                    },
                    "issueState": {
                        "title": "Issue state (Issues mode)",
                        "enum": [
                            "open",
                            "closed",
                            "all"
                        ],
                        "type": "string",
                        "description": "Which issues to fetch.",
                        "default": "open"
                    },
                    "token": {
                        "title": "GitHub token (recommended)",
                        "type": "string",
                        "description": "A free GitHub personal access token (github.com/settings/tokens) raises the limit from 60 to 5,000 requests/hour. RECOMMENDED: without a token, unauthenticated requests share a low per-IP limit and larger runs may stop early. A read-only classic token with no scopes is enough."
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "How many items to return (search is capped at 1000 by GitHub).",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
