Skip to content
Gridlode
Docs · Reference

GitHub Repository

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

Everything public about a GitHub repository from its logged-out pages: description, homepage, topics, stars, forks, watchers, open issues and pull requests, languages breakdown, license, default branch, latest release, last commit, commit / release / contributor counts, archive and fork flags, and the README as markdown. No GitHub token and no API rate limit involved.

Query parameters

repo
string · required
Repository as owner/name (pallets/flask) or its github.com URL.
include_readme
boolean
Also return the README text (one extra small request).
Default: true
readme_max_chars
integer
Truncate the README to this many characters.
Default: 20000
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/repo?repo=pallets%2Fflask" \
      -H "Authorization: Bearer $GRIDLODE_KEY"

    Try it without code on the GitHub Repository API page.