GitHub RESTAPI
A caller sends a token in the Authorization header, and the docs state that username and password authentication is not supported. The primary rate limit for unauthenticated requests is 60 requests per hour. Of the 105 APIs read, 4 state more limit passages than the GitHub REST API does, and the median across the sheet is 3.
GET https://api.github.com/rate_limit
username and password not supported. limits, rules a caller keeps.
Answeredone keyless GET, HTTP 200, 15 ms, 24 Nov 2026
- Filed under
- developer data
- Provider
- GitHub
- Passages kept
- 34
- Fields stated
- 7 of 12
- Pages it rests on
- 8
- Read
- 24 Nov 2026
- Data file
- github-rest-api.json
Signing in and access
A token goes in the Authorization header of the request. The docs say a token with the required scopes or permissions is needed. For use on behalf of an organization or another user, the docs ask for a GitHub App.
| Field | In the provider's words | Source |
|---|---|---|
| How a caller signs in | After creating a token, you can authenticate your request by sending the token in the Authorization header of your request. | docs.github.com, read 2026-11-24 |
| How a caller signs in | Authenticating with username and password Authentication with username and password is not supported. If you try to authenticate with user name and password, you will receive a 4xx error. | docs.github.com, read 2026-11-24 |
| How a caller signs in | Some REST API endpoints for GitHub Apps and OAuth apps require you to use basic authentication to access the endpoint. | docs.github.com, read 2026-11-24 |
| How a caller signs in | To use the API on behalf of an organization or another user, you should create a GitHub App. | docs.github.com, read 2026-11-24 |
| How a caller signs in | The primary rate limit for unauthenticated requests is 60 requests per hour. Primary rate limit for authenticated users You can use a personal access token to make API requests. Additionally, you can authorize a GitHub App or OAuth app, which can then make API requests on your behalf. | docs.github.com, read 2026-11-24 |
| How a caller signs in | To use the API in a GitHub Actions workflow, you should authenticate with the built-in GITHUB_TOKEN. | docs.github.com, read 2026-11-24 |
| What access requires | To authenticate your request, you will need to provide an authentication token with the required scopes or permissions. | docs.github.com, read 2026-11-24 |
| What access requires | Note: This endpoint is only available to users with access to the enhanced billing platform. | docs.github.com, read 2026-11-24 |
| What access requires | If you use a personal access token (classic) to access an organization that enforces SAML single sign-on (SSO) for authentication, you will need to authorize your token after creation. | docs.github.com, read 2026-11-24 |
| What access requires | The authenticated user must be an organization admin or billing manager. Each page returns up to 100 budgets. | docs.github.com, read 2026-11-24 |
| What access requires | User endpoints return Copilot usage that is billed directly to an individual user's personal account. These endpoints are only applicable if the user has purchased their own Copilot plan. | docs.github.com, read 2026-11-24 |
| What access requires | Note: This endpoint is only available to organizations with access to the enhanced billing platform. | docs.github.com, read 2026-11-24 |
Limits
The primary rate limit for unauthenticated requests is 60 requests per hour, tied to the originating IP address. GitHub Apps authenticating with an installation access token use the installation's minimum rate limit of 5,000 requests per hour. No more than 100 concurrent requests are allowed, a limit shared across the REST API and GraphQL API.
| Field | In the provider's words | Source |
|---|---|---|
| Stated limits | For these requests, the rate limit is 5,000 requests per hour per OAuth app. | docs.github.com, read 2026-11-24 |
| Stated limits | No more than 90 seconds of CPU time per 60 seconds of real time is allowed. | docs.github.com, read 2026-11-24 |
| Stated limits | Installations that are on an organization that have more than 20 users receive another 50 requests per hour for each user. The rate limit cannot increase beyond 12,500 requests per hour. Primary rate limits for GitHub App user access tokens (as opposed to installation access tokens) are dictated by the primary rate limits for the authenticated user. | docs.github.com, read 2026-11-24 |
| Stated limits | Unauthenticated requests are associated with the originating IP address, not with the user or application that made the request. The primary rate limit for unauthenticated requests is 60 requests per hour. Primary rate limit for authenticated users You can use a personal access token to make API requests. | docs.github.com, read 2026-11-24 |
| Stated limits | All of these requests count towards your personal rate limit of 5,000 requests per hour. | docs.github.com, read 2026-11-24 |
| Stated limits | Primary rate limit for Git LFS access API requests are required when you upload or download Git LFS content. These count towards a separate rate limiting bucket with a limit of 300 requests per minute for unauthenticated requests and 3,000 requests per minute for authenticated requests. | docs.github.com, read 2026-11-24 |
| Stated limits | In general, no more than 80 content-generating requests per minute and no more than 500 content-generating requests per hour are allowed. | docs.github.com, read 2026-11-24 |
| Stated limits | No more than 2,000 OAuth access token requests per hour are allowed for GitHub Apps and OAuth apps. | docs.github.com, read 2026-11-24 |
| Stated limits | No more than 900 points per minute are allowed for REST API endpoints, and no more than 2,000 points per minute are allowed for the GraphQL API endpoint. | docs.github.com, read 2026-11-24 |
| Stated limits | You may encounter a secondary rate limit if you: Make too many concurrent requests. No more than 100 concurrent requests are allowed. This limit is shared across the REST API and GraphQL API. | docs.github.com, read 2026-11-24 |
| Stated limits | Primary rate limit for GITHUB_TOKEN in GitHub Actions You can use the built-in GITHUB_TOKEN to authenticate requests in GitHub Actions workflows. See Use GITHUB_TOKEN for authentication in workflows . The rate limit for GITHUB_TOKEN is 1,000 requests per hour per repository. For requests to resources that belong to a GitHub Enterprise Cloud account, the limit is 15,000 requests per hour per repository. | docs.github.com, read 2026-11-24 |
| Stated limits | GitHub Apps authenticating with an installation access token use the installation's minimum rate limit of 5,000 requests per hour. | docs.github.com, read 2026-11-24 |
| Stated limits | Requests made on your behalf by a GitHub App that is owned by a GitHub Enterprise Cloud organization have a higher rate limit of 15,000 requests per hour. | docs.github.com, read 2026-11-24 |
Rules a caller keeps
The docs say not to retry a request until after the time in the x-ratelimit-reset header. Continuing to make requests while rate limited may result in the banning of the integration. Information from the service may not be used for spamming, including sending unsolicited emails to users or selling personal information.
The rules, in the provider's words
Rules on bots, automation and spam and Rules on using the data and Identification and attribution: GitHub REST API, quoted from the provider's own pages
- Rules on bots, automation and spam You should not retry your request until after the time specified by the x-ratelimit-reset header. docs.github.com, read 2026-11-24
- Rules on bots, automation and spam 4. Spam and Inauthentic Activity on GitHub We do not allow content or activity on GitHub that is: automated excessive bulk activity and coordinated inauthentic activity, such as spamming cryptocurrency mining; bulk distribution of promotions and advertising prohibited by GitHub terms and policies; inauthentic interactions, such as fake accounts and automated inauthentic activity; rank abuse, such as automated docs.github.com, read 2026-11-24
- Rules on bots, automation and spam Continuing to make requests while you are rate limited may result in the banning of your integration. docs.github.com, read 2026-11-24
- Rules on bots, automation and spam coordinated inauthentic activity, such as spamming cryptocurrency mining; bulk distribution of promotions and advertising prohibited by GitHub terms and policies; inauthentic interactions, such as fake accounts and automated inauthentic activity; rank abuse, such as automated starring or following; creation of or participation in secondary markets for the purpose of the proliferation of inauthentic activity; using GitHub as a platform for propagating abuse on other platforms; phishing or attempted docs.github.com, read 2026-11-24
- Rules on using the data You may not use information from the Service (whether scraped, collected through our API, or obtained otherwise) for spamming purposes, including for the purposes of sending unsolicited emails to users or selling personal information, such as to recruiters, headhunters, and job boards. docs.github.com, read 2026-11-24
Dated changes
API version names follow the date the version was released. The latest dated change on or before the read date is 2026-03-10. Requests that specify a version no longer supported receive a Gone response.
| Field | In the provider's words | Source |
|---|---|---|
| Dated changes | The API version name is based on the date when the API version was released. For example, the API version 2026-03-10 was released on Tue, 10 Mar 2026. Breaking changes are changes that can potentially break an integration. | docs.github.com, read 2026-11-24 |
| Dated changes | Skip to main content Skip to content GitHub Docs Search or ask Copilot/ Menu Collapse sidebar Expand sidebar Home REST API Billing Billing usage REST API API Version: 2026-03-10 (latest) Quickstart About the REST API Comparing GitHub's APIs API Versions Breaking changes OpenAPI description Using the REST API Getting started Rate limits Pagination Libraries Best practices Troubleshooting Timezones CORS and | docs.github.com, read 2026-11-24 |
| Dated changes | Specifying an API version You should use the X-GitHub-Api-Version header to specify an API version. For example: curl --header "X-GitHub-Api-Version:2026-03-10" https://api.github.com/zen Requests without the X-GitHub-Api-Version header will default to use the 2022-11-28 version. If you specify an API version that is no longer supported, you will receive a 410 Gone response. | docs.github.com, read 2026-11-24 |
Interface and support
The docs ask callers to specify the version with the X-GitHub-Api-Version header, and requests without that header default to an earlier version. An OpenAPI compliant document fully describes the GitHub REST API.
| Field | In the provider's words | Source |
|---|---|---|
| Interface | Specifying an API version You should use the X-GitHub-Api-Version header to specify an API version. For example: curl --header "X-GitHub-Api-Version:2026-03-10" https://api.github.com/zen Requests without the X-GitHub-Api-Version header will default to use the 2022-11-28 version. | docs.github.com, read 2026-11-24 |
| Interface | Articles Category: All categories Learn about the REST API About the OpenAPI description for the REST API The GitHub REST API is fully described in an OpenAPI compliant document. Learn about the REST API About the REST API Get oriented to the REST API documentation. | docs.github.com, read 2026-11-24 |
Not stated on the pages read
No page read for GitHub REST API states official client libraries.
| Field | Finding |
|---|---|
| Official client libraries | Not stated on the pages read |
Beside the rest of the sheet
Across the sheet, 100 APIs state fewer limit passages than the GitHub REST API, whose count is 13. Among the 7 developer data APIs, 1 other states more. GITHUB_TOKEN gets 1,000 requests per hour per repository. A GitHub App owned by a GitHub Enterprise Cloud organization gets a higher rate limit of 15,000 requests per hour for requests made on a caller's behalf.
Of the 105 APIs read, 15 state more rule passages than the GitHub REST API's 5, and the median across the sheet is 1. In developer data, 0 other APIs state more rule passages.
Our probe
On 2026-11-24 our probe sent the documented GET that needs no key, with a declared user agent. It came back with HTTP 200 in 15 milliseconds.
| Call | Status | Milliseconds | When (UTC) | Result |
|---|---|---|---|---|
| https://api.github.com/rate_limit | 200 | 15 | 2026-11-24T15:21:03Z | answered as documented |
Pages read
Our fetcher read 9 pages of the provider on 2026-11-24. The 34 passages of six words or more on this sheet come from 8 of them.
| Page | Kind | Read |
|---|---|---|
| https://docs.github.com/en/rest | docs | 2026-11-24 |
| https://docs.github.com/en/rest/about-the-rest-api/api-versions | changelog | 2026-11-24 |
| https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api | auth | 2026-11-24 |
| https://docs.github.com/en/rest/authentication/keeping-your-api-credentials-secure | auth | 2026-11-24 |
| https://docs.github.com/en/rest/billing/budgets | pricing | 2026-11-24 |
| https://docs.github.com/en/rest/billing/usage | pricing | 2026-11-24 |
| https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api | rate_limits | 2026-11-24 |
| https://docs.github.com/en/site-policy/acceptable-use-policies/github-acceptable-use-policies | terms | 2026-11-24 |
| https://github.com/pricing | pricing | 2026-11-24 |
This page as a data file, with every row's page, read date and quoted passage.