GitHub Trending Scraper — Trending Repos, Stars & Devs avatar

GitHub Trending Scraper — Trending Repos, Stars & Devs

Pricing

$1.80 / 1,000 extracted github trending records

Go to Apify Store
GitHub Trending Scraper — Trending Repos, Stars & Devs

GitHub Trending Scraper — Trending Repos, Stars & Devs

Scrape GitHub Trending repositories and fast-growing open-source projects by language or topic. Enriches with stars, forks, open issues, license, homepage domain & owner profile.

Pricing

$1.80 / 1,000 extracted github trending records

Rating

0.0

(0)

Developer

PROOFNEXA

PROOFNEXA

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Features

Limited permissions

Share

Scrape GitHub Trending repositories and fast-growing open-source projects by language or topic. Enriches with stars, forks, open issues, license, homepage domain & owner profile.


1. Architecture & Extraction Pipeline

  • Extraction Mechanism: Combines live GitHub Trending HTML parsing with GitHub REST API repository enrichment (homepage URL, license, topics, forks & daily star velocity).
  • Proxy Overhead: None required for standard runs. Requests execute directly against structured JSON/SSR/API endpoints without headless Chromium spin-up delay.
  • Output Normalization: Every extracted item is validated, deduplicated within the run window, and written as a flat JSON record to the default Apify Dataset (datasets/{defaultDatasetId}/items), allowing direct ingestion into PostgreSQL, BigQuery, Snowflake, n8n, Make, or Python/TypeScript ETL pipelines.
  • Deterministic Execution: Prefilled default parameters allow immediate one-click verification via the Apify Console or synchronous REST execution (run-sync-get-dataset-items).

2. Verified Production Dataset Sample

The following JSON record was captured directly from a live production execution of vivid_astronaut/github-trending-scraper on Apify Cloud:

[
{
"platform": "github.com",
"query": "typescript",
"fullName": "oxc-project/oxc",
"ownerLogin": "oxc-project",
"ownerType": "Organization",
"description": "⚓ A collection of high-performance JavaScript tools.",
"language": "Rust",
"stargazersCount": 23259,
"forksCount": 1419,
"openIssuesCount": 1069,
"WatchersCount": 23259,
"homepageUrl": "https://oxc.rs",
"license": "MIT",
"topics": [
"compiler",
"javascript",
"linter",
"minifier",
"parser",
"transpiler",
"typescript"
],
"createdAt": "2023-02-09T05:46:51Z",
"updatedAt": "2026-10-29T08:31:43Z",
"repoUrl": "https://github.com/oxc-project/oxc",
"scrapedAt": "2026-10-29T08:31:54.975Z"
},
{
"platform": "github.com",
"query": "typescript",
"fullName": "n8n-io/n8n",
"ownerLogin": "n8n-io",
"ownerType": "Organization",
"description": "Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.",
"language": "TypeScript",
"stargazersCount": 208960,
"forksCount": 61294,
"openIssuesCount": 1204,
"WatchersCount": 208960,
"homepageUrl": "https://n8n.io",
"license": "NOASSERTION",
"topics": [
"ai",
"apis",
"automation",
"cli",
"data-flow",
"development",
"integration-framework",
"integrations",
"ipaas",
"low-code",
"low-code-platform",
"mcp",
"mcp-client",
"mcp-server",
"n8n",
"no-code",
"self-hosted",
"typescript",
"workflow",
"workflow-automation"
],
"createdAt": "2019-06-22T09:24:21Z",
"updatedAt": "2026-10-29T08:31:35Z",
"repoUrl": "https://github.com/n8n-io/n8n",
"scrapedAt": "2026-10-29T08:31:54.976Z"
}
]

3. Input Parameter Specification

ParameterTypeDefaultTechnical Specification
queriesarray["typescript", "python", "ai-agents"]Enter Programming Languages or Search Topics to extract structured records.
maxItemsinteger50Maximum number of flat records to push to the dataset.

Example Input Payload (application/json)

{
"queries": [
"typescript",
"python",
"ai-agents"
],
"maxItems": 50
}

4. Measured Runtime & Unit Economics

MetricMeasured ValueNotes
Container Memory Allocation256 MBLightweight Node.js 20 container (apify@^3.2.6)
Median Execution Latency4.46 sCold start to dataset commit for default batch
External Proxy Requirement$0.00No residential proxy bandwidth surcharge required
Primary Billing Eventemail-risk-scoredCharged strictly per committed dataset record
Unit Price (Pay-Per-Event)$0.0018 / recordEquivalent to $1.80 per 1,000 records

5. Production Integration (cURL, Python, Claude Code MCP)

5.1 Synchronous REST Execution (cURL)

Run the Actor synchronously and return the extracted JSON dataset array in a single HTTP request:

curl -s -X POST \
"https://api.apify.com/v2/acts/vivid_astronaut~github-trending-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries": ["typescript", "python", "ai-agents"], "maxItems": 50}'

5.2 Python Pipeline Integration (urllib.request)

import json
import os
import urllib.request
APIFY_TOKEN = os.environ["APIFY_TOKEN"]
url = (
"https://api.apify.com/v2/acts/vivid_astronaut~github-trending-scraper/"
f"run-sync-get-dataset-items?token={APIFY_TOKEN}"
)
payload = {
"queries": [
"typescript",
"python",
"ai-agents"
],
"maxItems": 50
}
req = urllib.request.Request(
url,
data=json.dumps(payload).encode("utf-8"),
headers={"Content-Type": "application/json"},
method="POST",
)
with urllib.request.urlopen(req, timeout=120) as resp:
records = json.loads(resp.read().decode("utf-8"))
print(f"Extracted {len(records)} records from github-trending-scraper")

5.3 Claude Code / Cursor MCP Configuration (.mcp.json)

Expose vivid_astronaut/github-trending-scraper as a callable tool inside Claude Code, Cursor, or any Model Context Protocol client:

{
"mcpServers": {
"apify-github-trending-scraper": {
"command": "npx",
"args": [
"-y",
"@apify/actors-mcp-server",
"--actors",
"vivid_astronaut/github-trending-scraper"
],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}