Rate limits¶
| Limit | |
|---|---|
| Without a token | 100 requests an hour per address |
| With a token | 5,000 requests an hour per token |
- Only index lookups count (a PyPI project page or an npm package document). File downloads go straight to PyPI and npm.
- The hour is a clock hour. A refused request gets
429 Too Many RequestswithRetry-After, the seconds until the next hour. - Index pages are cacheable for 10 minutes, so repeat installs on one machine make fewer lookups.
Larger personal projects can pass 100 lookups in one install: a first npm install without a lockfile looks up every package in the tree, and a large Python project's first resolve can too. Lockfiles and your tool's cache keep later installs small; if you still hit the limit, request a token.