GitHub's REST API exposes the entire GitHub platform: create and manage repositories, open and close issues, create pull requests and reviews, search code across all public repos, trigger Actions workflows, manage GitHub Apps, and retrieve user and organization data.
https://api.github.com
Auth type
Bearer Token
Auth header
Authorization: Bearer ghp_...
Rate limit
5,000 requests/hour (authenticated)
Pricing
Free tier available
Free quota
5,000 requests/hour (authenticated)
Documentation
https://docs.github.com/en/rest
Endpoint status
Live — HTTP 200 — endpoint is accessible601ms
(checked Mar 29, 2026)
Builder score
A
81%
builder-friendly
Authenticate with a personal access token or GitHub App token as a Bearer token.
Authorization: Bearer ghp_...
REST API access is free. GitHub plans (Free, Team $4/user/mo, Enterprise $21/user/mo) govern repository features, not API access.
| Method | Path | Description |
|---|---|---|
| GET | /repos/{owner}/{repo} |
Get repository metadata |
| POST | /repos/{owner}/{repo}/issues |
Create an issue |
| GET | /repos/{owner}/{repo}/pulls |
List pull requests |
| GET | /search/code |
Search code across GitHub |
| POST | /repos/{owner}/{repo}/actions/workflows/{id}/dispatches |
Trigger a workflow |
| GET | /user |
Get authenticated user info |
curl https://api.github.com/repos/anthropics/anthropic-sdk-python \ -H "Authorization: Bearer $GITHUB_TOKEN" \ -H "Accept: application/vnd.github+json"
{
"id": 602413,
"name": "anthropic-sdk-python",
"full_name": "anthropics/anthropic-sdk-python",
"description": "The official Python library for the Anthropic API",
"stargazers_count": 4128,
"forks_count": 421,
"open_issues_count": 18,
"language": "Python",
"default_branch": "main"
}
Data sourced from API Map. Always verify pricing and rate limits against the official GitHub documentation.