OSS Radar

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}`));
FieldTypeMeaning
generatedAtstring (ISO 8601, UTC)When the data was collected from GitHub. Cite it with any number.
countintegerNumber of repos in repos (up to 100).
repos[].rankinteger1 = most stars gained in the last 24 hours.
repos[].fullNamestringowner/name as on GitHub.
repos[].urlstringGitHub URL.
repos[].ossradarUrl / markdownUrlstringThe repo's OSS Radar page and its Markdown twin.
repos[].descriptionstring | nullGitHub description.
repos[].language / category / topicsstring | null, string, string[]Main language, OSS Radar category and GitHub topics.
repos[].stars / forksintegerCurrent totals.
repos[].starsGained24h / starsGained7dintegerStars gained in the last 24 hours and 7 days.
repos[].estimatedbooleantrue when gains are estimated (brand-new repos without enough snapshots yet).
repos[].createdAt / pushedAtstring (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:

FieldTypeMeaning
repo.summarystring | nullPlain-English one-liner of what the project is.
repo.stars / forks / starsGained24h / starsGained7dintegerCurrent totals and gains.
repo.rankToday / rankThisWeekintegerRank by 24h and 7-day star gain among trackedRepos.
repo.starHistoryarrayDaily star counts (date, stars) since tracking began.
repo.hackerNewsobject | nullStory count and top Hacker News story (title, points, comments, url).
repo.alternatives / alternativesUrlstring[], string | nullSimilar tracked repos and their alternatives page.
repo.license / homepage / language / category / topicsstring | nullRepo metadata.
repo.badgeUrlstringLive 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

Need a field that isn't here? Email hello@ossradar.net.