Free GitHub Trending API (JSON, no key)
GitHub's official API has no trending endpoint. Upcurrent's free GitHub trending API gives you the AI repositories gaining the most stars right now, as plain JSON: no key, no sign-up, refreshed every 30 minutes.
The endpoint
GET https://upcurrent.dev/data/api/today.jsonThe trending repositories are in the github array: the top 5 AI repositories by stars gained in the last 24 hours. Every day is also kept at https://upcurrent.dev/data/api/daily/YYYY-MM-DD.json. Want to see it first? The same list is on GitHub trending repositories today.
What each repository looks like
{
"github": [
{
"repo": "EL4CTEO/fast-anything",
"stars": 2540,
"d24": 1547,
"est": false,
"forks": 158
},
{
"repo": "erkamyaman/rust-anything",
"stars": 8366,
"d24": 920,
"est": false,
"forks": 674
}
]
}| Field | Meaning |
|---|---|
repo | owner/name on GitHub |
stars | Total stars at the last check |
d24 | Stars gained in the last 24 hours |
est | true if d24 is estimated from the repo's average so far, because Upcurrent hasn't seen it for 6 hours yet |
forks | Total forks |
Examples
curl and jq
curl -s https://upcurrent.dev/data/api/today.json | jq '.github[] | {repo, d24}'JavaScript
const res = await fetch("https://upcurrent.dev/data/api/today.json");
const { github } = await res.json();
github.forEach(r => console.log(r.repo, "+" + r.d24, "stars today"));Python
import requests
for r in requests.get("https://upcurrent.dev/data/api/today.json", timeout=10).json()["github"]:
print(r["repo"], r["d24"])What else is in the file
The same JSON has new Hugging Face models (models), free AI models on OpenRouter and OpenCode (free), cross-source breakouts and AI headlines. The full field list is in the open data docs. Please credit "Data from Upcurrent (https://upcurrent.dev/)" as the CC BY 4.0 licence asks.
How the stars are counted: Upcurrent queries GitHub's official search API every 30 minutes and compares each repository's star count with earlier readings.
Questions
Does GitHub have a trending API?
No. GitHub's REST and GraphQL APIs have no trending endpoint, and github.com/trending is a web page, not an API. Upcurrent's JSON file is a free alternative for AI repositories.
Is the GitHub trending API free?
Yes. It's a static JSON file with no key, no sign-up and no rate limit of its own. The data is licensed CC BY 4.0, so you can use it anywhere, including commercially, as long as you credit Upcurrent.
How often is the trending data updated?
Every 30 minutes. The server lets browsers cache it for up to 10 minutes, so there's no point calling it more often than that.
Can I call it from a website?
Yes. The file is served with Access-Control-Allow-Origin: *, so fetch() works from any web page.
Does it cover all GitHub repositories?
No, only AI projects: repositories created in the last 30 days, with more than 100 stars, matching AI terms like LLM, agent, MCP, GPT or Claude. For every language, use github.com/trending.
Can I get past days?
Yes. Every day is saved as its own file at https://upcurrent.dev/data/api/daily/YYYY-MM-DD.json, going back to 2 October 2026.
Get this in your inbox at 7am
One free email each morning with the AI repos, models and stories that are picking up speed, including new free models. Your own time zone, no spam.