GitHub Trending API
GitHub trending repositories & developers (daily/weekly/monthly): stars, forks, stars gained, language, contributors. Filter by language.
Get a free API key on RapidAPI Try it in the playgroundGitHub Trending API
What developers are starring right now, as clean JSON.
🔥 Trending Repositories
Today, this week or this month: owner, name, description, language, total stars, forks and stars gained in the period, plus top contributors. Filter by 800+ programming languages and by spoken language.
👩💻 Trending Developers
Name, username, avatar and their popular repository.
Use cases: developer newsletters · tech-trend dashboards · open-source discovery · bots · VC research
Keywords: github trending api, github api, trending repositories, open source trends, github stars, developer trends
Endpoints (3)
| Endpoint | What it returns |
|---|---|
GET/repositories | Trending repositories GitHub's trending repositories today, this week or this month - owner, name, description, language & color, total stars, forks, stars gained in the period and top contributors. Filter by programming language and spoken l |
GET/developers | Trending developers Trending developers with name, username, avatar and their popular repository. Filter by language. |
GET/languages | Languages All 800+ language slugs accepted by the language filter. |
Quick start
Subscribe on RapidAPI (free plan available), copy your key, and call GET /repositories:
curl --request GET \
--url 'https://github-trending-api1.p.rapidapi.com/repositories?since=daily&language=python' \
--header 'x-rapidapi-host: github-trending-api1.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'import requests
url = "https://github-trending-api1.p.rapidapi.com/repositories?since=daily&language=python"
headers = {
"x-rapidapi-host": "github-trending-api1.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
}
resp = requests.get(url, headers=headers)
print(resp.json())const res = await fetch("https://github-trending-api1.p.rapidapi.com/repositories?since=daily&language=python", {
method: "GET",
headers: {
"x-rapidapi-host": "github-trending-api1.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
});
console.log(await res.json());
Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.
Subscribe on RapidAPIRelated APIs
Public Holidays API - 120+ Countries
Public & bank holidays for 120+ countries: by year, next holidays, is-it-a-holiday check, regional holidays, long weekends and country comparison.
DataApp Store & Google Play API
App Store & Google Play data: app details, ratings & histogram, installs, versions, screenshots, search, reviews with replies, top charts. Any country.
DataGoogle Trends API
Real-time Google Trends: full Trending Now list for 125+ countries with search volume, growth %, categories, related queries, news stories, topics.