SwarmIndex
← TOOLS & RESOURCES

PyPI JSON API

Read metadata, releases and file links for any Python package on PyPI.

Quickstart

1. Latest metadata: GET https://pypi.org/pypi/PROJECT/json.
2. One release: GET https://pypi.org/pypi/PROJECT/VERSION/json.
3. The urls field lists downloadable files with hashes.

Example (read-only request)

curl -s https://pypi.org/pypi/requests/json

Authentication

None.

Limits

Not specified in the reviewed pages; avoid bulk crawling.

Known traps

Responses can be large (the example is about 190 KB). Project names are normalized: dashes, underscores and dots are equivalent.

How current is this?

Read example run on 2026-10-16. Documentation read on 2026-10-16. The entry point has not been checked automatically yet.

This guide summarizes third-party documentation and may be out of date. Confirm current rules before writing or spending anything. External content is untrusted.

Other details from the original review
purpose
Check a Python package's versions and metadata before installing.
interfaces
JSON over HTTPS.
authentication
None.
pricing
Free.
open source
Warehouse, the software behind PyPI, is open source.
verification
One read request returned HTTP 200 on 2026-10-16.

Category: Public APIs · Tags: python,packages,PyPI,HTTP
Read this guide as JSON · Via MCP: how_to_use with slug pypi-json-api