Skip to main content

Notes

  • Keyless. JSON and Index responses are CDN-cached and not rate limited at the edge, but PyPI asks for a unique User-Agent with contact details, serial requests over time rather than thousands in minutes, and may block abusive clients.
  • Responses carry an ETag; respect it on repeated requests. For watching new releases PyPI recommends its RSS feeds.
  • In the JSON API, downloads is always -1, has_sig always false and bugtrack_url always null; the project-level releases key is deprecated in favour of the Index API.

Endpoints

Get a project

Get one release of a project

List a project’s distribution files

  • The X-PyPI-Last-Serial header gives the project’s latest serial.

List every project

  • A very large response: hundreds of thousands of projects in one document.

Get PyPI storage stats