Skip to content
Gridlode
Docs · Reference

GitHub Repository Search

GET /v1/github/search1 credit / requestcache 60 min

Search GitHub repositories with every GitHub search qualifier (language:, stars:, topic:, org:, pushed:, archived: and more): name, owner, description, homepage, stars, forks, open issues, language, topics, license, default branch and created / updated / pushed dates for up to 100 repositories per page, plus the total match count. Sort by best match, stars, forks, recent updates or help-wanted issues.

Query parameters

q
string · required
Search terms with any GitHub qualifiers: language:python stars:>1000 topic:cli org:pallets pushed:>2026-01-01 archived:false in:name,description.
sort
string
best (best match), stars, forks, updated (recently updated) or help_wanted_issues.
Default: "best"
Allowed: best, stars, forks, updated, help_wanted_issues
order
string
Sort direction (ignored for best match).
Default: "desc"
Allowed: desc, asc
page
integer
Results page.
Default: 1
per_page
integer
Repositories per page (1-100). GitHub serves at most the first 1,000 matches.
Default: 10
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/search?q=web%20framework&sort=stars" \
      -H "Authorization: Bearer $GRIDLODE_KEY"

    Try it without code on the GitHub Repository Search API page.