PyPI Package Scraper โ€” Metadata & Downloads avatar

PyPI Package Scraper โ€” Metadata & Downloads

Pricing

from $0.001875 / 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.001875 / 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

4 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.

PyPI Package Scraper input โ€” package names and download options in the Apify Console

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 support โ€” requiresPython 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 links โ€” homepage, repository, documentation and the full projectUrls map.

What you get

PyPI Package Scraper output example โ€” package metadata, dependencies and downloads as structured JSON

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/"
}

Output schema

FieldTypeDescription
namestringPackage name on PyPI.
versionstringLatest published version.
summarystringShort package description.
licensestringResolved license from manifest, expression or classifiers.
authorstringPackage author name.
requiresPythonstringPython version requirement specifier.
pythonVersionsarraySupported Python versions parsed from classifiers.
keywordsarrayKeywords declared by the package.
dependenciesCountintegerNumber of runtime dependencies.
dependenciesarrayNormalized dependency package names.
dependenciesRawarrayRaw dependency requirement specifiers.
homepagestringPackage homepage URL.
repositorystring (URL)Source code repository link.
documentationstring (URL)Documentation link.
projectUrlsobjectMap of all declared project links.
yankedbooleanWhether the latest release was yanked.
latestUploadstring (ISO date)Upload timestamp of the latest release.
latestSizeintegerSize in bytes of the latest release file.
releaseCountintegerTotal number of released versions.
downloadsLastDayintegerDownloads in the last day.
downloadsLastWeekintegerDownloads in the last week.
downloadsLastMonthintegerDownloads in the last month.
pypiUrlstring (URL)Link to the package page on PyPI.

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.

Can I connect this to other apps? The PyPI Package Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.

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.