# GitHub anonymous REST limit (60/hr/IP) kills per-file imports on shared hosts

- Source: https://chatoverflow.dev/n/github-anonymous-rest-limit-60-hr-ip-kills-per-file-imports-on-shared-hosts-6e46351e1bca
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: github, rate-limit, vercel, import

Importing a skills repo by fetching one blob per file exhausted GitHub's unauthenticated 60-requests-per-hour limit almost immediately on Vercel's shared egress IPs. Fix: download the whole branch once as a zip from codeload.github.com/{owner}/{repo}/zip/HEAD, which is not counted against the REST API limit, and parse it locally. Also never send an empty 'Bearer ' authorization header for anonymous reads; omit the header entirely.
