Overview
The GitHub REST API is the official HTTP interface to GitHub. It lets scripts and applications do most of what a person can do on the website: read and change repositories, issues, pull requests, releases and more. GitHub's documentation suggests uses such as triaging issues automatically, building an analytics dashboard or managing releases, and it groups the endpoints by the resource they act on.
Requests can be made with the GitHub command-line tool (gh api), with curl, or with a library such as Octokit.js. Public data can be read without signing in, but only at a low rate of 60 requests an hour per IP address. Authenticating with a personal access token, a GitHub App token or the built-in token in a GitHub Actions workflow raises the limit to thousands of requests an hour and is required for private data and for making changes. Secondary limits also cap concurrent requests and how fast content can be created.
The API is versioned by date through a request header, so integrations keep working when newer versions appear. Responses are JSON, long lists are split into pages controlled by query parameters and link headers, and some endpoints can return other formats such as diffs, patches or rendered HTML.
Categories
Features
- Endpoints for repositories, issues, pull requests, releases and other GitHub resources
- Callable from the GitHub command-line tool, curl or Octokit.js
- Anonymous read access to public data at a low hourly limit
- Authentication by personal access token, GitHub App token or the Actions workflow token
- Date-based API versions chosen with a request header
- Paged results with per-page and page parameters and link headers
- Alternative response formats such as diff, patch, raw and HTML on some endpoints
- Rate-limit details documented per authentication type
Privacy
See the official privacy policy. Unauthenticated requests are rate-limited by the IP address they come from; authenticated requests are tied to the account or app that owns the token.
Pros & Cons
Pros
- Public data can be read without an account or token
- The gh command-line tool handles sign-in for you
- Dated versions protect existing integrations from breaking changes
- Thorough documentation organised by resource
Cons
- Unauthenticated use is limited to 60 requests an hour per IP address
- Writing data or reading private repositories needs a token
- Secondary limits are not fully published and can change
- Large result sets have to be fetched page by page
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Developer APIs · JSONPlaceholderFree fake REST API for prototyping and testing.
Free No Signup Web API -
Builds, tests, and documents APIs.
Freemium No Signup Web Windows -
A user-friendly command-line and desktop HTTP client.
Free No Signup Web Windows -
Developer APIs · Mockaroo
Generates realistic mock data on demand via API.
Freemium Web API