Developer tools · Live on Apify

PyPI Package Metadata: Versions, Downloads and Vulnerabilities

Enter Python package names, pypi.org links or requirements.txt lines. You get one row per package. A row has the latest version, license, Python support, dependencies and release dates. It can add downloads and known vulnerabilities.

About $0.22 for 1,000 packages$0.00022 per package + $0.0005 per run. Apify bills you, not us.Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed.

Run it on Apify Opens apify.com, the website where our tools run. Sign up free with Google or email, no card needed.

Apify links on this page are affiliate links. We may earn a commission. You pay the same price. Affiliate disclosure

What you get, for example

recordTypepackage
namerequests
version2.34.2

How to use it: 3 steps

  1. Make a free Apify accountApify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
  2. Paste your input and press StartNo code needed: you fill in a form (the input). It already has a working example. For example: requests in Packages. Each start is one run.
  3. Download the resultsWhen the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.

This tool is an Apify Actor: a small program that runs on Apify. You can also run it on a schedule, for example every Monday. New to it? Read how it works, step by step and the 8 words you need first.

What it does

Add Python package names, and the Actor reads PyPI and returns one row per package: latest version, license, Python support, dependencies, release dates, downloads and known vulnerabilities. Use it to audit a requirements.txt, compare libraries or watch for new releases; the smallest run is one package name, and it needs no login or API key.

Good for

  • Check a requirements.txt: latest version, license and known vulnerabilities of every package.
  • Compare Python libraries by downloads, release activity and Python support.
  • Get the release history of packages: version, upload date, yanked, wheel or source files.
  • Watch packages on a schedule and get only the new releases since the last run.

Who uses it

Developers

Check a requirements.txt for new versions and risks.

Security teams

See known vulnerabilities of the packages you use.

Tech leads

Compare libraries by downloads and release activity.

Price

Pay per event: you pay for each result the tool saves, plus a small start fee for each run. The price includes Apify platform costs. Apify bills you, not us. Prices below are for the Apify free plan.

What you pay forPriceWhen
Start fee$0.0005Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more.
Package record$0.00022 (from $0.000154 on paid Apify plans)One PyPI package row with its latest version, licence, links and (optional) download counts saved to the Dataset.
Release record$0.00069 (from $0.000483 on paid Apify plans)One release (version) row saved to the Dataset in releases mode.
Package checked, no row$0.00008 (from $0.000056 on paid Apify plans)A package was checked but no row was saved: no new versions since the last run (onlyNew), or fewer downloads than minDownloadsLastMonth.
Entry not found or invalid$0.00003 (from $0.000021 on paid Apify plans)One row for an input entry that is not a PyPI project, has no such version, or is not a valid package name.

Examples

  • One package: about $0.0007.
  • 1,000 packages: about $0.22.
  • Every day 100 packages, for 30 days: about $0.68 a month.

Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed. That is enough for about 22,000 packages.

Prices checked on 27 November 2026. See the current price on Apify.

Questions

Do I need a PyPI account?

No. You need only an Apify account. No API key.

Can I search PyPI by keyword?

No. PyPI has no public search API. Give package names, a PyPI user or the top list.

Does an empty vulnerability list mean the package is safe?

No. It only shows what PyPI returns for the checked version.

How fresh is the data?

Every run reads PyPI at that moment. Downloads come from pypistats.org and are usually one day behind. The top list for topPackages is updated monthly.

Does it return every field for every package?

No. Many projects do not fill all PyPI fields. When a value is not given, the field is null or an empty list; the Actor does not guess it.

Details

Step by step on Apify
  1. Open the Input tab. The Packages field already has requests, numpy and one name that does not exist (box 1 in the picture). Add or change package names, one per line.
  2. Keep Output as One row per package (box 2). This is the default.
  3. Click Start.
  4. Open the Output tab. The Packages view (box 1) shows one row per package (box 2): version, license, Python support, downloads and vulnerabilities. The missing name has status not_found and empty values. Use Export (box 3) to save JSON, CSV or Excel.
Use cases
TaskInputYou getKey fieldsNext step
Audit a requirements.txtpackages (paste the file lines)Package rowversion, latestVersion, license, vulnerabilitiesCount, yankedCSV export, spreadsheet
Compare librariespackages, includeDownloadsPackage rowdownloads.lastMonth, latestReleaseAt, requiresPython, releasesCountDataset API
Release historypackages, mode = releasesRelease rowversion, uploadedAt, yanked, hasWheelCSV export
Watch for new releasespackages, onlyNew, stateName, Apify schedulePackage or release rownewVersions, previousVersion, isNewSlack or Notion summary, webhook
Check a maintainer's projectsmaintainersPackage rowname, maintainerRole, version, abandonmentSignalsDataset API
Tips for better results
  • Start with one package. Check the row before a big list.
  • Turn on downloads only when you need them. They make the run slower.
  • Use the new-only option and a schedule to see new releases.
Limits and good to know
  • Run time with downloads. pypistats.org allows about one request per second, so each package with downloads takes about 1.5 seconds. Measured: 100 packages in 140 seconds, 400 packages in 603 seconds, 1000 packages in 1500 seconds. With the default 300-second run timeout, a test run of 300 packages wrote 150 rows, then stopped in time: the run status is PARTIAL, the saved rows stay, and the message says how many packages were not checked. For more than about 150 packages with downloads, raise the run timeout (about 1.5 seconds per package) or split the list
  • Up to 1000 lines in packages. If the list is longer, the first 1000 unique packages are checked and a warning in RUN_SUMMARY says how many were left out. maintainers (up to 20 users), topPackages and dependencies can add more packages, up to 10000 in the queue (a warning says if more were left out). maxResults (default 1000, up to 10000) stops the run at that many rows. We tested runs up to 1000 packages
  • Safety stops. A run makes at most 8000 requests; after that it stops early, keeps the saved rows and says so in RUN_SUMMARY (REQUEST_CAP). A PyPI document larger than 64 MB is not read: that package gets an error row (SOURCE_TOO_LARGE, free). The biggest PyPI projects today are about 41 MB. If 8 packages in a row fail (not not_found), the run stops and says why, so you do not pay for a broken source
  • Memory. The default 256 MB is enough for normal lists. Our hardest test (1000 packages, including the biggest PyPI projects such as ddtrace) used up to 236 MB. If a run with very large packages stops because it ran out of memory, start it again with 512 MB in the run options
  • Downloads can be missing. If pypistats.org is busy, the Actor waits and tries again. If it still gets no answer, the row is partial and downloads is null. Downloads are counts from pypistats.org, not from PyPI itself
  • No keyword search. PyPI has no public search API, so you need package names, PyPI users or the top list
  • Vulnerabilities are only those that PyPI returns from the OSV database for the checked version. An empty list is not a security guarantee
  • The Actor does not download package files and does not return e-mail addresses. README text is off by default and has e-mails removed

Troubleshooting

SituationStatus starts withRun result
Success✅Succeeded, rows saved
Some packages failed or are incomplete⚠️Succeeded, rows saved, the failed ones are marked in the status and error columns
No results or nothing newℹ️Succeeded, no rows
Row limit, spending limit or time limit reached⚠️ (or ✅ if you hit your own maxResults with nothing left over)Succeeded, the rows already saved stay
Run timeout too short, or the source kept failing❌Failed
You aborted the run⚠️ Run abortedAborted, the rows already saved stay
Input errorInput error:Succeeded, no rows, the message names the field and gives an example
Platform migrationno special statusThe run starts again from your input and ends with one of the statuses above

For developers

Sample result

One result from a real test run, in JSON. Real values change from run to run. In Excel or CSV each field is a column.

one result · JSON
{
  "recordType": "package",
  "input": "requests",
  "status": "complete",
  "name": "requests",
  "version": "2.34.2",
  "latestVersion": "2.34.2",
  "summary": "Python HTTP for Humans.",
  "license": "Apache-2.0",
  "requiresPython": ">=3.10",
  "dependencies": ["charset-normalizer", "idna", "urllib3", "certifi"],
  "firstReleaseAt": "2011-02-14T08:49:42.641660Z",
  "latestReleaseAt": "2026-05-14T19:25:26.443000Z",
  "releasesCount": 160,
  "yanked": false,
  "vulnerabilitiesCount": 0,
  "downloads": { "lastDay": 53147899, "lastWeek": 339718075, "lastMonth": 1478957330 },
  "repositoryUrl": "https://github.com/psf/requests",
  "packageUrl": "https://pypi.org/project/requests/",
  "projectStatus": null,
  "warnings": [],
  "error": null
}

Use it from code

Actor ID: cliqtomedia/pypi-package-metadata. You need your Apify API token from Apify Console → Settings → API & Integrations.

Python · apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/pypi-package-metadata").call(run_input={
    "packages": [
        "requests",
        "numpy",
        "this-package-does-not-exist-xyz-123"
    ],
    "topPackages": 0
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
cURL
curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~pypi-package-metadata/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"packages": ["requests", "numpy", "this-package-does-not-exist-xyz-123"], "topPackages": 0}'
LangChain · langchain-apify
# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool

tool = ApifyActorsTool("cliqtomedia/pypi-package-metadata")
result = tool.invoke({"run_input": {"packages": ["requests", "numpy", "this-package-does-not-exist-xyz-123"], "topPackages": 0}})
print(result)

The cURL call waits for the results, up to 300 seconds. For longer runs, start a run (/runs) and get the results with a webhook or by checking the run. Apify API docs. LlamaIndex, MCP for AI agents and the JavaScript client: AI agents & MCP.

Data fields (40)
FieldTypeMeaning
recordTypestringpackage: one row per PyPI project; release: one row per release (Output = One row per release).
inputstringThe entry as you typed it, or "maintainer:<user>", "top:<rank>", "dependency of <name>" for added packages.
statusstringcomplete: all requested data; partial: metadata ok but downloads or project status missing (see warnings); not_found: PyPI has no such project or version (404), not an error; invalid: not a valid PyPI name, no request made; error: lookup failed (see error). error rows are free; not_found and invalid rows cost the small unresolved-entry fee.
namestringProject name as PyPI shows it. null when not found or invalid.
normalizedNamestringPEP 503 normalized name (lowercase, runs of -_. replaced by -).
versionstringChecked version: the latest one, or the version you pinned with name==version. In release rows, the release version.
latestVersionstringLatest version on PyPI (what pip install <name> installs without a pin, ignoring pre-releases).
isLatestbooleantrue when version is the latest version.
summarystringOne-line summary from the package metadata.
licensestringLicense: SPDX license_expression if set, else the short license field, else the License classifier. null when the package declares none.
licenseSourcestringWhich metadata field license came from.
authorstringAuthor name only (e-mail addresses are never output).
maintainerstringMaintainer name only (e-mail addresses are never output).
ownersarrayOwner and maintainer PyPI usernames with role. Filled for packages found through PyPI users; otherwise empty.
homepagestringHomepage link from project URLs.
repositoryUrlstringSource code link (GitHub, GitLab and others) from project URLs.
documentationUrlstringDocumentation link from project URLs.
changelogUrlstringChangelog or release notes link from project URLs.
issuesUrlstringIssue tracker link from project URLs.
projectUrlsobjectAll project URLs as the package declares them (label → link).
requiresPythonstringPython versions the package supports (Requires-Python), e.g. ">=3.9".
requiresDistarrayDependency specifiers as declared (Requires-Dist), including optional extras.
dependenciesarrayNames of required dependencies (extras excluded), normalized.
dependenciesCountintegerNumber of required dependencies.
providesExtraarrayOptional extras the package offers (pip install name[extra]).
classifiersarrayTrove classifiers.
keywordsarrayKeywords from the package metadata.
developmentStatusstringDevelopment status from the classifiers, e.g. "5 - Production/Stable".
firstReleaseAtstringUpload time of the first release with files (ISO 8601).
latestReleaseAtstringUpload time of the newest release with files (ISO 8601).
daysSinceLastReleaseintegerDays since latestReleaseAt.
releasesCountintegerNumber of releases that have files (empty releases are not counted).
versionFilesCountintegerNumber of files (wheels and sdists) in the checked version.
hasWheelbooleantrue when the checked version (or release) has at least one wheel.
yankedbooleantrue when the checked version (or release) is yanked on PyPI.
yankedReasonstringReason given for the yank, if any.
abandonmentSignalsarrayHints that the project may be unmaintained: no_release_2y, inactive_classifier (Development Status 7), all_versions_yanked, project_archived / project_deprecated / project_quarantined.
projectStatusstringProject status from the PyPI Simple API: active, archived, deprecated or quarantined (Include project status). null when not requested.
vulnerabilitiesarrayKnown vulnerabilities of the checked version from the OSV data PyPI returns. null when not requested; [] when none known.
vulnerabilitiesCountintegerNumber of known vulnerabilities. null when not requested.
Input settings (18)

The main fields of the input form. With the API you send them as JSON.

SettingName in the APITypeExample value
Packagespackagesarray["requests", "numpy", "this-package-does-not-exist-xyz-123"]
PyPI users (optional)maintainersarray
Most-downloaded projects (optional)topPackagesinteger0
Outputmodestring"metadata"
Include downloadsincludeDownloadsbooleantrue
Minimum downloads last monthminDownloadsLastMonthinteger0
Include known vulnerabilitiesincludeVulnerabilitiesbooleantrue
Include release list in each rowincludeReleasesbooleanfalse
Releases per packagemaxReleasesPerPackageinteger20
Include pre-releasesincludePrereleasesbooleanfalse
Include project statusincludeProjectStatusbooleanfalse
Dependency tree depthdependencyDepthinteger0
Only new releasesonlyNewbooleanfalse
State namestateNamestring
Max rowsmaxResultsinteger1000
Send results to (optional)deliveryConnectorstring
Notion page or channel (optional)deliveryTargetstring
Include README textincludeDescriptionbooleanfalse

Start on Apify

Make a free Apify account: you get $5 of free usage every month. Missing a tool? Suggest it. We read every idea, but we do not promise to build it.

Apify links on this page are affiliate links. We may earn a commission. You pay the same price. Affiliate disclosure