Repos, issues, PRs, actions, and users. Build on top of the world's code.
https://api.github.com
The GitHub REST API provides full access to repositories, issues, pull requests, actions, users, organizations, and more. It's the foundation for CI/CD integrations, project management tools, code review automation, and developer analytics.
Fine-grained personal access tokens let you scope access to specific repositories and permissions. The API supports pagination, conditional requests (ETags), and webhook events for real-time notifications.
ghp_, fine-grained with github_pat_| Method | Path | Description |
|---|---|---|
| GET | /user/repos |
List repositories for the authenticated user |
| GET | /repos/{owner}/{repo} |
Get repository details |
| GET | /repos/{owner}/{repo}/issues |
List issues |
| POST | /repos/{owner}/{repo}/issues |
Create an issue |
| GET | /repos/{owner}/{repo}/pulls |
List pull requests |
| POST | /repos/{owner}/{repo}/pulls |
Create a pull request |
| GET | /repos/{owner}/{repo}/actions/runs |
List workflow runs |
| GET | /user |
Get the authenticated user's profile |
Trigger workflows, check run status, and manage deployments programmatically.
Create, label, and assign issues from external tools or automated processes.
List PRs, post review comments, and enforce merge policies via the API.
Track commits, contributor activity, and repository metrics over time.