GitHub REST API
FreemiumGET https://api.github.com/repos/{owner}/{repo}
HTTPS
Yes
API key
Optional
CORS
Backend only
Use
See limits
Limits. About 60 requests/hour without a token (by IP). About 5,000/hour with a typical user token. Secondary limits apply.
Commercial. Use according to GitHub ToS. Tokens need the minimum scopes.
Note. Send API-Version headers as GitHub currently documents. GraphQL is a separate endpoint with its own quota.
curl -sS -H "Accept: application/vnd.github+json" \
https://api.github.com/repos/vercel/next.js