Skip to content

How to get GitHub request limit state? #23857

Discussion options

You must be logged in to vote

Ratelimit information is provided in the headers for every API response, no matter which endpoint you use. Check the header fields with names starting with x-ratelimit. Their meanings are described in the docs:

  <a href="https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting" target="_blank" rel="noopener">GitHub Docs</a>

Resources in the REST API - GitHub Docs

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants