Docs · Reference
GitHub Repository
GET /v1/github/repo1 credit / requestcache 60 minEverything 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
repostring · required | Repository as owner/name (pallets/flask) or its github.com URL. |
include_readmeboolean | Also return the README text (one extra small request). Default: true |
readme_max_charsinteger | Truncate the README to this many characters. Default: 20000 |
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/repo?repo=pallets%2Fflask" \
-H "Authorization: Bearer $GRIDLODE_KEY"Try it without code on the GitHub Repository API page.