PyPI Package Metadata: Versions, Downloads & CVEs, No Login avatar

PyPI Package Metadata: Versions, Downloads & CVEs, No Login

Pricing

from $0.15 / 1,000 package records

Go to Apify Store
PyPI Package Metadata: Versions, Downloads & CVEs, No Login

PyPI Package Metadata: Versions, Downloads & CVEs, No Login

Get PyPI package metadata for up to 1000 Python packages: latest version, license, Python support, dependencies, release dates, yanked releases, downloads and known vulnerabilities. No login, no API key.

Pricing

from $0.15 / 1,000 package records

Rating

0.0

(0)

Developer

Cliqto Media

Cliqto Media

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

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.

PyPI Package Metadata: package names in, one row per package with version, license, Python support, downloads and vulnerabilities out, export to JSON or CSV

Table of contents

What it does

The Actor takes Python package names (or pypi.org links, or requirements.txt lines) and checks each one on PyPI, the public Python Package Index. For every package it saves one row with the latest version, license, supported Python versions, required dependencies, first and latest release dates, yanked status, known vulnerabilities and links to the source code and docs. It can add downloads for the last day, week and month from pypistats.org.

You can also start from a PyPI user (all their projects) or from the most-downloaded PyPI projects. A package that does not exist gets its own not_found row, so you always see which names failed.

Good fit

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

πŸ‘‰ Try it now: open the input form

How it works

  1. The Actor reads your package list. It cleans each line: it removes version ranges and extras, keeps a pinned version (name==1.2.3) and removes duplicates.
  2. For each package it asks the public PyPI JSON API. If you want downloads, it also asks pypistats.org. If you want the project status, it also asks the PyPI Simple API.
  3. It saves one row per package (or one row per release) in the Dataset and a short run summary in the key-value store (RUN_SUMMARY). Every row has a status: complete, partial, not_found, invalid or error.

The Actor never downloads package files and never returns e-mail addresses.

πŸ‘‰ Try it now: open the input form

Quick start

Input form: box 1 is the Packages field with requests, numpy and a missing name; box 2 is the Output choice

  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.

    Output table: Packages view with requests, numpy and a not_found row, and the Export button

Expected result: three rows in about 5 seconds β€” requests and numpy with status complete, and the missing name with status not_found.

πŸ‘‰ Try it now: open the input form

Use cases

Buyer jobInput pathOutput entityKey fieldsNext integration
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

πŸ‘‰ Try it now: open the input form

Input

Input fields

You need at least one of packages, maintainers or topPackages. An empty input fails at once with a clear message and an example.

FieldPlain nameTypeRequiredDefault / prefillAllowed valuesEffectExampleRecommendation
packagesPackageslist of textone of the threeprefill: requests, numpy, a missing nameup to 1000 lines: names, pypi.org project links, requirements.txt linespackages to checkflask>=2, Django==4.2name==1.2.3 checks that version; other ranges are cut to the name
maintainersPyPI users (optional)list of textone of the threeemptyup to 20 usernames or pypi.org/user/ linksadds every project the user owns or maintainshttps://pypi.org/user/<username>/good for a full portfolio of one person or team
topPackagesMost-downloaded projects (optional)numberone of the three00–1000adds the N most-downloaded projects of the last 30 days100list from top-pypi-packages, updated monthly
modeOutputchoicenometadatametadata (one row per package), releases (one row per release)row typereleasesreleases for version history
includeDownloadsInclude downloadsyes/nonotrueβ€”adds downloads.lastDay/lastWeek/lastMonthfalseturn off for long lists when you do not need downloads: each package waits about 1 second for pypistats
minDownloadsLastMonthMinimum downloads last monthnumberno00 or moreskips packages with fewer monthly downloads10000needs includeDownloads; unknown downloads are kept
includeVulnerabilitiesInclude known vulnerabilitiesyes/nonotrueβ€”adds vulnerabilities for the checked versiontruekeep on for audits
includeReleasesInclude release list in each rowyes/nonofalseβ€”adds releases (newest first) to each package rowtrueuse mode = releases if you want separate rows
maxReleasesPerPackageReleases per packagenumberno201–1000how many newest releases to list5larger values make rows bigger
includePrereleasesInclude pre-releasesyes/nonofalseβ€”also lists alpha, beta, rc and dev versionstrueβ€”
includeProjectStatusInclude project statusyes/nonofalseβ€”adds projectStatus (active, archived, deprecated, quarantined)trueone more request per package
dependencyDepthDependency tree depthnumberno00–3also checks required dependencies, down to this many levels1extras are not followed; each dependency is a paid row
onlyNewOnly new releasesyes/nonofalseβ€”writes only packages or releases uploaded since the last run with the same stateNametruefor scheduled runs; the first run is the baseline
stateNameState nametextwith onlyNewemptyletters, digits, -name of the saved statemy-depsuse one name per watched list
maxResultsMax rowsnumberno10001–10000stops after this many Dataset rows100the run summary says CAPPED when it stops here
deliveryConnectorSend results to (optional)connectornoemptyyour MCP connectorposts a short summary after the runSlacksee Send results to Slack or Notion
deliveryTargetNotion page or channel (optional)textnoemptyNotion page link or Slack channel IDwhere the summary goesC0123456789Notion needs a page link
includeDescriptionInclude README textyes/nonofalseβ€”adds the project description, up to 20000 characters, e-mails removedtruemakes rows much larger

Duplicates are removed by the normalized PyPI name (Flask, flask and FLASK are one package). A line that is not a valid package name gets an invalid row; the Actor does not ask PyPI for it.

Interacting settings

WhenInput AInput BEffective behaviorExampleCost/result effect
Filter by downloadsminDownloadsLastMonthincludeDownloadsthe filter works only with downloads on; otherwise the input is rejectedincludeDownloads: true, minDownloadsLastMonth: 1000a skipped package is not written and costs package-checked
MonitoringonlyNewstateNameonlyNew needs stateName; the first run writes everything as the baselineonlyNew: true, stateName: "my-deps"an unchanged package is not written and costs package-checked
Release rowsmode = releasesmaxReleasesPerPackage, includePrereleasesup to N newest releases per package, pre-releases only if askedmaxReleasesPerPackage: 5each release row costs release-record
DependenciesdependencyDepthmaxResultsdependencies are added to the list until maxResults rowsdependencyDepth: 1each found dependency is a paid package row

Input examples

Check a requirements.txt

{
"packages": ["https://pypi.org/project/Django/", "flask>=2", "requests==2.25.0", "this-package-does-not-exist-xyz-123"],
"includeDownloads": true,
"includeVulnerabilities": true
}

Expected behavior: the Actor checks Django and flask (latest versions) and requests version 2.25.0, and marks the last name as not_found. Expected output: one package row each with version, license, requiresPython, vulnerabilitiesCount and downloads. Limit or cost note: three package rows and one unresolved-entry row, plus the start fee.

Watch packages for new releases

{
"packages": ["requests", "numpy"],
"mode": "releases",
"maxReleasesPerPackage": 5,
"onlyNew": true,
"stateName": "my-deps"
}

Expected behavior: the first run saves all listed releases and the state. Later runs with the same stateName save only releases uploaded since the last run. Expected output: release rows with version, uploadedAt, yanked and isNew. Limit or cost note: a run with no new releases writes no rows and costs the start fee plus package-checked per package.

πŸ‘‰ Try it now: open the input form

Output

Output fields

Package rows (recordType = package). The most useful fields:

FieldMeaningTypeCan be empty?Example / enumSource / notes
inputyour line, as you wrote ittextnoflask>=2β€”
statusresult of this packagetextnocomplete, partial, not_found, invalid, errorsee the table below
nameproject name on PyPItextnorequestsPyPI
versionchecked version (latest or your pin)textyes2.34.2PyPI
latestVersionnewest stable versiontextyes2.34.2PyPI
licenselicense name or SPDX expressiontextyesApache-2.0PyPI license_expression, license or classifier
requiresPythonsupported Python versionstextyes>=3.10PyPI
dependenciesrequired dependencies (no extras)listyes, empty list["idna", "certifi"]PyPI requires_dist
firstReleaseAt, latestReleaseAtfirst and latest upload timedateyes2026-05-14T19:25:26ZPyPI file upload times
releasesCountnumber of versions with at least one filenumberyes160PyPI
yankedthe checked version is yankedyes/noyesfalsePyPI
vulnerabilitiesknown vulnerabilities of the checked version: ID, CVE aliases, summary, fixed-in versionslistyes[]OSV data that PyPI returns
downloads.lastDay, downloads.lastWeek, downloads.lastMonthdownloadsnumberyes1478957330pypistats.org
abandonmentSignalswarning signslistno, can be emptyno_release_2y, inactive_classifier, project_archived, project_deprecated, all_versions_yankedcomputed from PyPI data
projectStatusPyPI project statustextyesactiveSimple API, only with includeProjectStatus
repositoryUrl, documentationUrl, packageUrllinkstextyes (packageUrl no)https://github.com/psf/requestsPyPI project links
newVersions, previousVersionnew versions since the last runlist / textyes["2.34.2"]only with onlyNew
warningswhy a row is partiallistno, can be emptyβ€”β€”
errorcode and message for not_found, invalid, errorobjectyes{"code": "NOT_FOUND"}β€”

Release rows (recordType = release, with mode = releases): name, version, uploadedAt, isPrerelease, yanked, filesCount, hasWheel, hasSdist, requiresPython, isNew, packageUrl, status.

null means "not known": PyPI or pypistats did not give the value, or you did not ask for it. 0 is a real zero. For example, vulnerabilitiesCount: 0 means PyPI lists no known vulnerabilities, and downloads: null means downloads were not received.

Output entities and surfaces

SituationDataset/API/KVS/live viewResult shapeUser action
Normal itemDataset, views Packages and Releasesrow with status = completeopen, export or read with the API
Domain-empty resultDataset + RUN_SUMMARYnot_found or invalid row with error; run status NO_RESULTS; with onlyNew, no rows and run status NO_CHANGEScheck the name on pypi.org
Partial resultDatasetstatus = partial: PyPI data is there, downloads or project status are null, reason in warningsrun again later for downloads
Technical failure or retryDataset + RUN_SUMMARYstatus = error row after retries; if the time ends, run status PARTIAL with the rows already savedrun again; open an issue with the run ID if it repeats

RUN_SUMMARY in the key-value store has the run status (COMPLETE, PARTIAL, NO_RESULTS, NO_CHANGES, CAPPED), a short message and counts: found, not found, invalid, errors, filtered and written rows.

Output example

This is the requests row from the prefill run, trimmed (some lists are shorter, and fields with null or empty values are left out). The full row has about 60 fields.

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

The missing name from the same run has "status": "not_found", "error": {"code": "NOT_FOUND", "message": "PyPI has no project with this name."} and null in the data fields.

Send results to Slack or Notion

Pick your connector in the optional deliveryConnector field. After the run saves its data, the Actor posts a short summary (up to 25 rows and a link to the full dataset) there. Put a Notion page link or a Slack channel ID in deliveryTarget: in Notion every run is added on top of that one page, so your workspace does not fill up with new pages. Without a page link, Notion delivery is skipped and the log says so. A delivery error never fails the run and costs nothing extra. Connect a service once in Apify Console β†’ MCP connectors.

Use case β†’ fields

Buyer jobInput pathOutput entityKey fieldsNext integration
Security and license auditpackagesPackage rowvulnerabilities, license, yankedCSV export
Library choicepackagesPackage rowdownloads.lastMonth, latestReleaseAt, abandonmentSignalsspreadsheet
Release trackingmode = releases, onlyNewRelease rowversion, uploadedAt, isNewSlack summary, webhook

πŸ‘‰ Try it now: open the input form

Pricing

Pricing unit

This Actor uses pay per event. You pay for the rows you get, plus a small fee for each package that was checked but not written.

EventWhen it is chargedPrice (no discount)
apify-actor-startonce per run$0.0005
package-recordone package row in the Dataset (complete or partial), including dependency rows$0.00022
release-recordone release row in the Dataset (mode = releases)$0.00069
package-checkeda package that was checked but not written: skipped by minDownloadsLastMonth, or unchanged in an onlyNew run$0.00008
unresolved-entrya not_found or invalid row$0.00003

Prices with an Apify subscription are lower (Bronze, Silver and Gold discounts are shown on the Pricing tab). Rows with status = error are free.

  • A run that finds nothing (only missing or invalid names) costs the start fee plus unresolved-entry for each name. Example: one missing name costs $0.00053.
  • A filter with no matches costs the start fee plus package-checked for each skipped package.
  • A monitoring run with no new releases writes no rows and costs the start fee plus package-checked for each watched package.
  • A partial row costs the same as a complete row: it has the PyPI data, only downloads or project status are missing.
  • The start fee is per 1 GB of run memory. This Actor runs with 256 MB (512 MB at most), so it is charged once per run.
  • Set Max cost per run in the run options to cap the charges. The Actor stops when it reaches the limit, keeps the rows it already saved, and RUN_SUMMARY says CAPPED.

Cost examples

Prices without a subscription discount, downloads on.

ScenarioInput scopeExpected item/event countBase chargeOptional chargeStop/cap behavior
Small10 packagesstart 1, package rows 10$0.0027noneβ€”
Normal100 packagesstart 1, package rows 100$0.0225noneβ€”
Large1000 packagesstart 1, package rows 1000$0.2205noneneeds a longer run timeout, see Limits
Release history2 packages Γ— 5 newest releasesstart 1, release rows 10$0.0074nonemaxReleasesPerPackage
Monitoring, no changes100 watched packagesstart 1, package-checked 100$0.0085noneno rows written
Only missing names1 namestart 1, unresolved-entry 1$0.00053nonerun status NO_RESULTS

πŸ‘‰ Try it now: open the input form

Limits

  • 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.
  • releasesCount counts versions that have at least one file. Some other tools count all version names, so their number can be a little higher.

πŸ‘‰ Try it now: open the input form

API, export and integrations

  • API: start a run with the Apify API and the same JSON as the input form. Read rows from the default Dataset (?view=overview for package columns, ?view=releases for release rows) and the summary from the RUN_SUMMARY record.
  • Export: Dataset rows export to JSON, CSV, Excel, XML and HTML from the Output tab or the API.
  • Scheduling: create an Apify schedule with onlyNew and a fixed stateName to get only new releases each day or week.
  • Webhooks / no-code: an Apify webhook on run success can send the Dataset link to Make, Zapier, n8n or your own endpoint. Read status, name, version and newVersions.
  • SDK / MCP / agent: use the Apify JavaScript or Python client, or the MCP server below.

Use with AI agents (MCP)

  • MCP server URL with only this Actor: https://mcp.apify.com?tools=cliqtomedia/pypi-package-metadata

  • Smallest useful input (the prefill):

    { "packages": ["requests", "numpy", "this-package-does-not-exist-xyz-123"] }
  • Key output fields: status (complete, partial, not_found, invalid, error), version (checked version), license, vulnerabilitiesCount (0 = none known, null = not checked), downloads.lastMonth (null = not received).

  • Typical run: the prefill finishes in about 5 seconds and costs $0.00097 (start fee, two package rows, one not-found row). With downloads, plan about 1.5 seconds per package; the default run timeout is 300 seconds.

πŸ‘‰ Try it now: open the input form

Troubleshooting

A package has status not_found

Symptom: the row has status = not_found and null values. Likely reason: the name is wrong, or the pinned version (name==1.2.3) does not exist on PyPI. Check: open packageUrl from the row on pypi.org. Action: fix the name or the version and run again.

downloads is null and the status is partial

Symptom: PyPI fields are filled, but downloads is null and warnings says downloads were not received. Likely reason: pypistats.org was busy and did not answer after several tries. Check: RUN_SUMMARY shows how many packages got downloads. Action: run again later, or turn includeDownloads off if you do not need it.

The run stopped before all packages were checked

Symptom: RUN_SUMMARY says PARTIAL (time ended) or CAPPED (row or cost limit). Likely reason: a long list with downloads needs more than the 300-second default timeout, or maxResults or Max cost per run was reached. Check: the message and counts in RUN_SUMMARY. Action: raise the run timeout (about 1.5 seconds per package with downloads), raise maxResults, or split the list.

The run stopped with an error after a few failed packages

Symptom: the run ends early, and the last rows have status = error. Likely reason: 8 packages in a row failed (PyPI did not answer or sent a broken page), or the run reached the 8000-request safety cap (REQUEST_CAP in RUN_SUMMARY). Check: the error.code of the rows and the message in RUN_SUMMARY. Action: run again a little later; for very big lists, split them into several runs. Rows with status = error are free.

The input is rejected

Symptom: the run fails at once with a message about the input. Likely reason: no packages, users or top list; onlyNew without stateName; or minDownloadsLastMonth without includeDownloads. Check: the message names the field and shows a correct example. Action: fix that field and start again.

πŸ‘‰ Try it now: open the input form

FAQ

Do I need a PyPI account or API key?

No. The Actor reads public PyPI and pypistats.org data. You need only an Apify account to run it.

Why do I pay for a run with no results?

Every run pays the start fee. Missing or invalid names cost $0.00003 each, and packages that were checked but not written (filter or monitoring) cost $0.00008 each. This is less than a full row. Rows with status = error are free.

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.

πŸ‘‰ Try it now: open the input form

πŸ‘‰ Try it now: open the input form

Support

For a bug, question or feature request, open the Actor's Issues tab on Apify. Include the run ID, the input mode and the package names that had a problem. Never send tokens, cookies or private data.

⭐ Found it useful? Rate this Actor. Something wrong? Report a problem β€” we fix reported problems.