PyPI · Rate Limits

Pypi Rate Limits

PyPI does not publish a hard per-second rate limit. The JSON, Index, and RSS APIs are heavily cached and CDN-fronted via Fastly, so PyPI states there is "currently no rate limiting of PyPI APIs at the edge." The legacy XML-RPC API may be rate-limited if usage degrades service. PyPI reserves the right to ban irresponsible consumers.

Pypi Rate Limits is the machine-readable rate-limit profile for PyPI on the APIs.io network, conforming to the API Commons Rate Limits specification.

It captures 2 rate-limit definitions, measuring varies.

The profile also includes 5 backoff/retry policies defined and response codes documented for throttled.

Tagged areas include Package Registry, Python, Open Source, and Rate Limiting.

2 Limits Throttle: 429
Package RegistryPythonOpen SourceRate Limiting

Limits

JSON / Index / RSS APIs IP
varies
no edge rate limit (heavily cached via Fastly CDN)
PyPI states "currently no rate limiting of PyPI APIs at the edge"; consumers should still avoid thousands of requests per minute and should prefer ETag-conditional requests.
XML-RPC API (legacy) IP
varies
rate-limited at PyPI's discretion if usage degrades service
PyPI may temporarily or permanently throttle XML-RPC consumers whose usage causes service degradation.

Policies

User-Agent Identification
Set a descriptive User-Agent that uniquely identifies your requests and ideally includes contact information; opaque or default agents may be rate-limited or blocked.
ETag and Conditional Requests
The JSON, RSS, and Index APIs return ETag headers — use If-None-Match conditional requests to avoid hammering uncached origins.
Caching Awareness
Inspect X-Cache and X-Cache-Hits to understand whether your requests are being served from CDN cache; design crawlers around the CDN rather than the origin.
Discretionary Bans
PyPI reserves the right to temporarily or permanently prohibit a consumer based on irresponsible activity; sustained high-volume crawling without identification or backoff risks a block.
Pacing Guidance
PyPI advises against thousands of requests in a short window (minutes); prefer serial requests over longer periods when feasible.

Sources

Work with this as data

Every rate limit here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for rate limits

4 MCP tools reach this
  • find_rate_limitsBrowse and filter every rate limit in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This rate limit
curl "https://apis.io/api/v1/rate-limits/pypi-rate-limits"
All rate limits
curl "https://apis.io/api/v1/rate-limits?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.