gh api rate_limit --jq '.rate | "\(.remaining)/\(.limit)"'

Category: GitHub CLI

gh api rate_limit --jq '.rate | "\(.remaining)/\(.limit)"'

Show your API rate limit usage

Queries the rate-limit endpoint and prints remaining and total requests for your token, e.g. 4800/5000. REST APIs throttle unauthenticated calls hard, so staying under the limit matters for scripts. Reset time lives in the .rate.reset field.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.