PyPI API
pypi.org
PyPI - Python package details, new releases, and download statistics.
- Actions
- 3
- Category
- Developer Tools
- Login
- Not required
- Output
- JSON
Call the PyPI API
Submit a task, then poll the job until it settles. This example runs pp_download_stats.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "pp_download_stats",
"params": {
"package": "flask"
}
}'3 actions on pypi.org
Read
Download Stats
pp_download_statsread1 credit / callReturns download counts for a Python package over the last day, week, and month.
- package
- string · required
New Releases
pp_new_releasesread1 credit / callReturns the latest 100 package releases across PyPI.
Package Details
pp_package_detailsread2 credits / callReturns Python package metadata including version, description, author, license, dependencies, and URLs.
- package_name
- string · required
PyPI API questions
- Is there an API for PyPI?
- PyPI does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for pypi.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape PyPI data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when pypi.org changes its markup, Anakin updates the action.
- Do I need a PyPI account?
- No. Every PyPI action listed here runs anonymously — no account and no credentials required.
- What does the PyPI API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Developer Tools APIs
AlienVault
AlienVault OTX threat intelligence - indicator lookup, pulses, and related IOC data.
AlternativeTo
AlternativeTo - software search, details, and crowd-ranked alternatives by platform/license.
AnyAPI
API directory - search, API specifications, and documentation.
APIList
Public API directory - category search, API details, and descriptions.
Appbrain
Android app stats - Play rankings by category/country, ad network share, and trends.
Badgen
Badge generation service - badge creation, badge types, and usage docs.