Skip to content
Gridlode
LiveDeveloper data1 credit / request

GitHub Trending API

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.

GEThttps://api.gridlode.com/v1/github/trending

Try it live

Try . Free, no account needed.

Parameters

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

Response fields

    Code

    curl "https://api.gridlode.com/v1/github/trending?" \
      -H "Authorization: Bearer $GRIDLODE_KEY"
    1 credit per request
    One credit is $0.001 on the smallest pack, from $0.0003 on enterprise plans.
    Half price for cached data
    Cached for up to 1 h. Pass max_age to use it.
    Failed requests are free
    Blocks, timeouts and target errors never cost credits.

    Market reference: Apify GitHub trending scrapers ~$2-5 per 1k; no official GitHub API for trending.

    Questions

    How much does the GitHub Trending API cost?

    1 credit per request. One credit costs $0.001 on the smallest pack and as little as $0.0003 on enterprise plans. Cached answers cost half and failed calls are free.

    Developer data
    All 4 in Developer data · 4 live
    Live

    GitHub Repository Search

    Search GitHub repositories with every search qualifier (language, stars, topic, org and more), up to 100 per page

    1 credit / requestDocs