For developers
Trending GitHub repos API
GitHub doesn't offer an API for its trending page. OSS Radar publishes its hourly leaderboard of fast-rising open-source AI and developer-tool repos (450 tracked) as free JSON you can call from any script, app or AI agent: no key, no sign-up, open CORS.
Endpoints
- GET /api/v1/trending: the top 100 tracked repos ranked by stars gained in the last 24 hours, with 7-day gains, stars, forks, language, category and topics.
- GET /api/v1/repo/{owner}/{name}: one tracked repo (for example /api/v1/repo/Belobug/VIctory-Belobug-AMD): stars, gains, rank today and this week, daily star history, top Hacker News story, alternatives and its badge URL. Repos OSS Radar doesn't track get a JSON 404.
- OpenAPI 3.1 spec for both endpoints, ready to load as an agent tool or a custom GPT action, and an RFC 9727 API catalog.
Quick start
Today's top 10 risers from the command line:
curl -s https://ossradar.net/api/v1/trending | jq '.repos[:10][] | {rank, fullName, starsGained24h}'Python:
import requests
data = requests.get("https://ossradar.net/api/v1/trending", timeout=10).json()
for r in data["repos"][:10]:
print(r["rank"], r["fullName"], f'+{r["starsGained24h"]} stars in 24h')JavaScript (browser or Node 18+):
const res = await fetch("https://ossradar.net/api/v1/trending");
const { generatedAt, repos } = await res.json();
console.log(generatedAt, repos.slice(0, 10).map((r) => `${r.fullName} +${r.starsGained24h}`));/api/v1/trending fields
| Field | Type | Meaning |
|---|---|---|
| generatedAt | string (ISO 8601, UTC) | When the data was collected from GitHub. Cite it with any number. |
| count | integer | Number of repos in repos (up to 100). |
| repos[].rank | integer | 1 = most stars gained in the last 24 hours. |
| repos[].fullName | string | owner/name as on GitHub. |
| repos[].url | string | GitHub URL. |
| repos[].ossradarUrl / markdownUrl | string | The repo's OSS Radar page and its Markdown twin. |
| repos[].description | string | null | GitHub description. |
| repos[].language / category / topics | string | null, string, string[] | Main language, OSS Radar category and GitHub topics. |
| repos[].stars / forks | integer | Current totals. |
| repos[].starsGained24h / starsGained7d | integer | Stars gained in the last 24 hours and 7 days. |
| repos[].estimated | boolean | true when gains are estimated (brand-new repos without enough snapshots yet). |
| repos[].createdAt / pushedAt | string (ISO 8601) | Repo creation and last push time. |
/api/v1/repo/{owner}/{name} fields
Same identity, stars, gains and dates as the trending list, plus:
| Field | Type | Meaning |
|---|---|---|
| repo.summary | string | null | Plain-English one-liner of what the project is. |
| repo.stars / forks / starsGained24h / starsGained7d | integer | Current totals and gains. |
| repo.rankToday / rankThisWeek | integer | Rank by 24h and 7-day star gain among trackedRepos. |
| repo.starHistory | array | Daily star counts (date, stars) since tracking began. |
| repo.hackerNews | object | null | Story count and top Hacker News story (title, points, comments, url). |
| repo.alternatives / alternativesUrl | string[], string | null | Similar tracked repos and their alternatives page. |
| repo.license / homepage / language / category / topics | string | null | Repo metadata. |
| repo.badgeUrl | string | Live README badge SVG for the repo. |
Example response
Trimmed to one repo and a few fields, from the current data:
{
"source": "https://ossradar.net",
"generatedAt": "2026-11-26T09:38:04.066Z",
"rankedBy": "stars gained in the last 24 hours",
"count": 100,
"repos": [
{
"rank": 1,
"fullName": "Belobug/VIctory-Belobug-AMD",
"url": "https://github.com/Belobug/VIctory-Belobug-AMD",
"ossradarUrl": "https://ossradar.net/repo/Belobug/VIctory-Belobug-AMD",
"language": "Rust",
"category": "Other",
"stars": 1708,
"starsGained24h": 1708,
"starsGained7d": 1708,
"estimated": false
}
]
}Terms and limits
- Free, no API key, no sign-up. Please link back to https://ossradar.net where you show the data.
- Data refreshes about once an hour (responses are cached for up to 10 minutes); polling more often than every 10 minutes gains nothing.
- CORS is open (Access-Control-Allow-Origin: *), so browser apps can call it directly.
- Only tracked repos are covered: a curated set of fast-rising open-source AI and developer-tool repos, not all of GitHub. /api/v1/repo/{owner}/{name} answers 404 for repos OSS Radar doesn't track.
- Rankings come from GitHub star counts only; sponsorships never change them.
How the numbers are measured: methodology. Base URL: https://ossradar.net/api/v1.
Without code
- RSS feed of the hourly top repos, or the daily digest feed.
- For AI assistants: llms.txt, llms-full.txt, and any page as Markdown by adding
.md(this page: /developers.md). - Maintainers: a live README badge.
Need a field that isn't here? Email hello@ossradar.net.