Docs · Reference
GitHub Trending
GET /v1/github/trending1 credit / requestcache 30 minToday'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
languagestring | Programming language as GitHub names it in URLs, e.g. python, javascript, rust, c++, c#, jupyter-notebook. Empty for all languages. Default: null |
sincestring | 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_codestring | Only repositories whose README is in this spoken language (ISO 639-1, e.g. en, zh, es). Default: null |
max_ageinteger | 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.