Skip to content
Discussion options

You must be logged in to vote

Hi there

According to github documentation located at https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28
For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the person making requests.

If you want to use a token then you can use it as below:
curl -L
-H "Accept: application/vnd.github+json"
-H "Authorization: Bearer "
-H "X-GitHub-Api-Version: 2022-11-28"
https://api.github.com/user

This is based on the documentation at https://docs.github.com/en/rest/users/users?apiVersion=2022-11-28

If you are coding in a specific programming language y…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jricciardi
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
Apps API and Webhooks Discussions related to GitHub's APIs or Webhooks Question Ask and answer questions about GitHub features and usage
4 participants