# PyPI

9 endpoints on PyPI. Every one returns the same response shape and has a flat, published price in credits.

Category: [Developer platforms](https://onekey.dev/docs/categories/developer.md) · [Overview page](https://onekey.dev/platforms/pypi)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`downloads_overall`](https://onekey.dev/docs/api/pypi/downloads_overall.md) | Daily PyPI download counts by category (overall) for a project (pypistats.org). | 5 credits | stable |
| [`downloads_python_major`](https://onekey.dev/docs/api/pypi/downloads_python_major.md) | Daily PyPI download counts by category (python_major) for a project (pypistats.org). | 5 credits | stable |
| [`downloads_recent`](https://onekey.dev/docs/api/pypi/downloads_recent.md) | Last-day/week/month PyPI download totals for a project (pypistats.org). | 1 credit | stable |
| [`downloads_system`](https://onekey.dev/docs/api/pypi/downloads_system.md) | Daily PyPI download counts by category (system) for a project (pypistats.org). | 5 credits | stable |
| [`files`](https://onekey.dev/docs/api/pypi/files.md) | Distribution files (wheels/sdist) of a specific PyPI release. | 5 credits | stable |
| [`package`](https://onekey.dev/docs/api/pypi/package.md) | Metadata of a PyPI package (latest release). | 1 credit | stable |
| [`version`](https://onekey.dev/docs/api/pypi/version.md) | Metadata of one specific PyPI release. | 1 credit | stable |
| [`versions`](https://onekey.dev/docs/api/pypi/versions.md) | All release version numbers of a PyPI project (PEP 691 simple index). | 1 credit | stable |
| [`vulnerabilities`](https://onekey.dev/docs/api/pypi/vulnerabilities.md) | Known vulnerabilities of a specific PyPI release (from OSV). | 5 credits | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
