GitHub REST & GraphQL API
GitHub 接口
Full GitHub platform API: repos, issues, PRs, Actions, search, code scanning, and more.
GitHub 全平台 API:仓库、Issue、PR、Actions、搜索、代码扫描等。
Website
Documentation
Pricing
free (5000 req/hr for authenticated), unlimited for public repos
Authentication
- Personal Access Token
- OAuth App
- GitHub App
Rate Limit
5000 req/hr (authenticated)
Popularity
92/100
Endpoints
https://api.github.com
https://api.github.com/graphql
SDKs
Octokit (JS/TS)PyGithubGo-Githubcurl
Key Features
- ◆Full GitHub platform API
- ◆REST & GraphQL interfaces
- ◆Repos, issues, PRs, Actions
- ◆Code scanning & security
- ◆Generous free tier
Code Examples
Get User Reposbash
curl -H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/user/repos?per_page=5Tags
githubcodedevopsgitci-cd
Last updated: 2026-07-28