You're looking at StableBuild's Deleted PyPI mirror - where we index all deleted packages from the Python package registry.
statsapi was reported malicious
OSV:MAL-2025-191878 - Malicious code in statsapi (PyPI)

statsapi

This package was deleted from PyPI around 2025-10-29. Installing fails with:
$ pip3 install statsapi ERROR: Could not find a version that satisfies the requirement statsapi (from versions: none) ERROR: No matching distribution found for statsapi

Install through StableBuild

You can install this package from StableBuild's PyPI snapshots from before the version was deleted:
pip3 install \ -i https://YOUR_API_KEY.pypimirror.stablebuild.com/2025-10-28/ \ statsapi
Sign up for StableBuild to get an API key (it's free and takes <60 seconds!)

Or, download files manually

Choose a version to see all deleted wheels and files. We only show versions that have been deleted on PyPI.