Title: Github Rate limits
Author: Immanuel Raj
Published: February 15, 2024
Last modified: July 23, 2025

---

# Github Rate limits

[February 15, 2024](https://immanuelraj.dev/github-rate-limits/)

—

by

[Immanuel Raj](https://immanuelraj.dev/author/iamimmanuelraj/)

in [Uncategorized](https://immanuelraj.dev/category/uncategorized/)

Read Time

1–2 minutes

Rate limits are sometimes scary. Sometimes its temporary, some time it goes away
soon…some time it takes like foreverrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

I got rate limited by github by using its gh cli inside github actions. Well i didnt
spam it but i was using more of it in a very less amount of time. Ran the action
almost 200 times a day and the amount of action it did inside that 200 run each 
time is huge considering what i was doing (Was testing and developing a tool to 
run with github a actions)

Would have been nice for a test environment if github was providing one but sadly
they dont…..

Also i was using my own (The company’s self hosted github actions server)

And finally i got blocked and rate limited heavily.

I was curious to find out what my limits are for these actions and i found this 
out

    ```wp-block-code
    curl -L \  -H "Accept: application/vnd.github+json" \  -H "Authorization: Bearer <YOUR-GITHUB-TOKEN>" \  -H "X-GitHub-Api-Version: 2022-11-28" \  https://api.github.com/rate_limit
    ```

More info here [https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28](https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28)

And when you run the above code you shall be able to see and know you rate limits.

Some limits are for per minute and per hour and per day basis so be careful when
exhausting them

You should get something like this as out for that code

![](https://cdn.immanuelraj.dev/immanuelraj.dev/wordpress/images/Blog-Images/Github-
Rate-Limits/BI-01.png)

[Previous:  Certbot SSL Limits – letsencrypt (Rate limit)](https://immanuelraj.dev/certbot-ssl-limits-rate-limit/)

[Next:  Rootless docker](https://immanuelraj.dev/rootless-docker/)

![Immanuel Raj Avatar](https://secure.gravatar.com/avatar/88db6e1fa27cf854075acbaa156189ace30cf3701b2d8640cd774280ead1d4d3?
s=80&d=mm&r=g)

## About the author

Software Developer & Technology Consultant

---

## Popular Categories

 * [Bible](https://immanuelraj.dev/category/bible/) (1)
 * [Cloudflare](https://immanuelraj.dev/category/cloudflare/) (1)
 * [Databases](https://immanuelraj.dev/category/databases/) (1)
 * [Docker](https://immanuelraj.dev/category/docker/) (1)
 * [Email](https://immanuelraj.dev/category/email/) (1)
 * [ERPNext](https://immanuelraj.dev/category/erpnext/) (3)
 * [Frappe](https://immanuelraj.dev/category/frappe/) (2)
 * [Github Actins](https://immanuelraj.dev/category/github-actins/) (1)
 * [God](https://immanuelraj.dev/category/god/) (1)
 * [Google Cloud](https://immanuelraj.dev/category/gcp/) (1)
 * [Hosting](https://immanuelraj.dev/category/hosting/) (2)
 * [Life](https://immanuelraj.dev/category/life/) (1)
 * [Linux](https://immanuelraj.dev/category/linux/) (13)
 * [ML](https://immanuelraj.dev/category/ml/) (1)
 * [Networking](https://immanuelraj.dev/category/networking/) (2)
 * [Security](https://immanuelraj.dev/category/security/) (2)
 * [Self Hosting](https://immanuelraj.dev/category/self-hosting/) (7)
 * [SSL](https://immanuelraj.dev/category/ssl/) (3)
 * [Terminal](https://immanuelraj.dev/category/terminal/) (1)
 * [Tools](https://immanuelraj.dev/category/tools/) (2)
 * [Uncategorized](https://immanuelraj.dev/category/uncategorized/) (8)
 * [Web](https://immanuelraj.dev/category/web/) (2)
 * [WordPress](https://immanuelraj.dev/category/wordpress/) (1)

---

## Useful Links

Links I found useful and wanted to share.

 * [Sponsor Me](https://github.com/sponsors/iamimmanuelraj)

---

## Search the website

Search