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
Similar APIs
Something wrong or missing? Open an issue on GitHub →
Pricing Comparison
| API | Pricing | Auth | Popularity |
|---|---|---|---|
| GitHub REST API | free tier (5000 req/hr) + paid plans | Personal Access Token | 96 |
| LangChain Platform | free tier + developer plan $39/month | API Key | 91 |
| Bolt.new - AI Web App Builder | free tier, Starter $20/mo, Pro $100/mo (includes Bolt AI credits) | OAuth (GitHub/Google) | 90 |
| Replit AI Agent | free tier, Hacker $25/mo, Pro $200/mo | OAuth (GitHub/Google) | 88 |
Discussion
Questions, feedback, or suggestions? Start a discussion.
Discuss on GitHub