API Documentation
The PyPI Stats API provides programmatic access to download statistics for Python packages. All endpoints return JSON data and are free to use.
Base URL
https://pypistats.dev/api
Interactive API Documentation
Explore our API endpoints interactively using the documentation below. You can test endpoints directly from this interface.
Note: The interactive documentation above uses our OpenAPI specification.
All endpoints are free to use and return JSON data. For programmatic access, use the base URL: https://pypistats.dev/api