Skip to content
Gridlode
Docs · Reference

GitHub Trending

GET /v1/github/trending1 credit / requestcache 30 min

Today's trending repositories on GitHub, overall or for one programming language and spoken language: name, description, language, total stars, forks, stars gained today and the top contributors ("built by"). The same list as github.com/trending, as JSON.

Query parameters

language
string
Programming language as GitHub names it in URLs, e.g. python, javascript, rust, c++, c#, jupyter-notebook. Empty for all languages.
Default: null
since
string
Ranking period. Only daily is served: GitHub's robots.txt disallows the since= parameter, so weekly and monthly are refused (never charged).
Default: "daily"
Allowed: daily, weekly, monthly
spoken_language_code
string
Only repositories whose README is in this spoken language (ISO 639-1, e.g. en, zh, es).
Default: null
max_age
integer
Accept a cached answer up to this many seconds old, billed at 50%.

Response data fields

    Example

    curl "https://api.gridlode.com/v1/github/trending?" \
      -H "Authorization: Bearer $GRIDLODE_KEY"

    Try it without code on the GitHub Trending API page.