PyPI Package Scraper — Metadata & Downloads avatar

PyPI Package Scraper — Metadata & Downloads

Pricing

from $0.0015 / package scraped

Go to Apify Store
PyPI Package Scraper — Metadata & Downloads

PyPI Package Scraper — Metadata & Downloads

Look up Python packages on PyPI: version, summary, author, license, Python requirement, dependencies, project links, release history and download counts. Ideal for dependency, license and security auditing. Clean, no key.

Pricing

from $0.0015 / package scraped

Rating

0.0

(0)

Developer

hiper soft

hiper soft

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

PyPI Package Scraper — Metadata, Dependencies, Licenses & Downloads

Look up Python packages on PyPI by exact name and get back clean, structured JSON: version, summary, author, license, Python requirement, dependencies, project links, release history and day/week/month download counts. It pulls from the official PyPI JSON API plus pypistats.org — no account, no API key. Ideal for dependency, license and security auditing straight from a requirements.txt or poetry.lock.

Features

  • 🎯 Exact lookups — paste package names (requests, fastapi, numpy) straight from your lockfile.
  • 🧾 License intelligence — derives a clean license from the manifest field, license expression or classifiers.
  • 🔗 Dependencies — normalized dependencies list plus raw dependenciesRaw requirement specifiers and a count.
  • 🐍 Python supportrequiresPython and the full pythonVersions list parsed from classifiers.
  • 📈 Download counts — optional last day/week/month figures from pypistats.org.
  • 🗓️ Release history — optional recentReleases with the 10 most recent versions and upload dates.
  • 🔗 Project linkshomepage, repository, documentation and the full projectUrls map.

What you get

Each package becomes one clean JSON record:

{
"name": "requests",
"version": "2.32.3",
"summary": "Python HTTP for Humans.",
"license": "Apache-2.0",
"author": "Kenneth Reitz",
"requiresPython": ">=3.8",
"pythonVersions": ["3", "3.8", "3.9", "3.10", "3.11", "3.12"],
"keywords": [],
"dependenciesCount": 5,
"dependencies": ["charset-normalizer", "idna", "urllib3", "certifi", "PySocks"],
"dependenciesRaw": ["charset-normalizer (<4,>=2)", "idna (<4,>=2.5)", "urllib3 (<3,>=1.21.1)", "certifi (>=2017.4.17)", "PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks'"],
"homepage": "https://requests.readthedocs.io",
"repository": "https://github.com/psf/requests",
"documentation": "https://requests.readthedocs.io",
"projectUrls": { "Homepage": "https://requests.readthedocs.io", "Source": "https://github.com/psf/requests" },
"yanked": false,
"latestUpload": "2024-05-29T15:37:49.000000Z",
"latestSize": 64928,
"releaseCount": 156,
"downloadsLastDay": 2712345,
"downloadsLastWeek": 18934512,
"downloadsLastMonth": 81234567,
"pypiUrl": "https://pypi.org/project/requests/"
}

Input

{
"packages": ["requests", "fastapi", "numpy"],
"includeDownloads": true,
"includeReleases": false
}
FieldDescription
packagesPyPI package names to look up (exact names from your requirements.txt / poetry.lock).
includeDownloadsFetch last day/week/month downloads from pypistats.org.
includeReleasesInclude recentReleases: the 10 most recent versions with upload dates.

Use cases

  • Audit licenses and Python-version requirements across every dependency in a project.
  • Flag yanked releases and outdated packages before an upgrade.
  • Map a project's full transitive dependency names for security review.
  • Track download momentum to compare competing Python libraries.

Pricing

Pay-per-event: you're billed a small amount per run and per item scraped — you only pay for what you get. See the Pricing tab for current rates.

FAQ

Do I need a PyPI account or API key? No. The actor reads from the official PyPI JSON API and pypistats.org, so no account, login or API key is required.

Can I search PyPI by keyword? Not by keyword. PyPI's keyword search is bot-protected, so this actor works from exact package names — paste them straight from your requirements.txt or poetry.lock into the packages field.

Is scraping PyPI allowed? This actor only reads publicly available package data through PyPI's own public JSON API and the pypistats.org download API. Review the PSF's terms before large-scale or commercial reuse.

What's the output format? Structured JSON — one record per package with fields such as version, license, requiresPython, dependencies, yanked, release history and download counts. Export as JSON, CSV, Excel or via the API.

Can I get download counts and release history? Yes. Set includeDownloads for last day/week/month figures from pypistats.org, and includeReleases to attach recentReleases — the 10 most recent versions with upload dates.

Auditing Python dependencies alongside other stacks? Combine this with our other developer-data scrapers:

Notes

This actor uses the public PyPI JSON API and pypistats.org and reads only publicly available package data. PyPI's keyword search is bot-protected, so this actor works from exact package names. It is an independent tool and is not affiliated with, endorsed by, or sponsored by the Python Software Foundation; "PyPI" and "Python" are trademarks of the PSF.