title: How to increase github API rate limit?
body: <p>I am using this endpoint <code>https://api.github.com/user/${githubIdOrLogin}</code>. Right now, it has 60 API calls/hour. I want to increase that. How to do that.
  This is my code for the API call:</p>
  <pre><code>export const getGitHubUserData = async (githubIdOrLogin) =&gt; {
    return fetch(`https://api.github.com/user/${githubIdOrLogin}`, {
      headers: { Accept: &quot;application/json&quot; },
    }).then((res) =&gt; {
      if (!res.ok) {
        const err = new Error()
        err.response = res
        if (res.status === 403 &amp;&amp; res.headers.get(&quot;X-RateLimit-Remaining&quot;) === &quot;0&quot;) {
          const resetsAtMS = Number(`${res.headers.get(&quot;X-RateLimit-Reset&quot;)}000`)
          err.message = `Rate limit exceeded, try again in ${Math.ceil(
            (resetsAtMS - Date.now()) / 60000
          )}m`
          err.code = &quot;github/rate-limit-exceeded&quot;
          err.resetsAt = resetsAtMS
        } else if (res.status === 404) {
          err.message = `Could not find user data for github:${githubIdOrLogin}`
          err.code = &quot;github/not-found&quot;
        } else {
          // add other cases if you want to handle them
          err.message = `Unexpected status code: ${res.status}`
          err.code = &quot;github/unknown&quot;
        }
        return Promise.reject(err)
      }
      return res.json()
    })
  }
  </code></pre>
  <p>Anyone please help me with this.</p>