How to use it: 3 steps
- 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.
- Paste your input and press StartNo code needed: you fill in a form (the input). It already has a working example. For example:
requestsin Packages. Each start is one run. - 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 for | Price | When |
|---|---|---|
| Start fee | $0.0005 | Charged 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
- Open the Input tab. The Packages field already has
requests,numpyand one name that does not exist (box 1 in the picture). Add or change package names, one per line. - Keep Output as One row per package (box 2). This is the default.
- Click Start.
- 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_foundand empty values. Use Export (box 3) to save JSON, CSV or Excel.
Use cases
| Task | Input | You get | Key fields | Next step |
|---|---|---|---|---|
Audit a requirements.txt | packages (paste the file lines) | Package row | version, latestVersion, license, vulnerabilitiesCount, yanked | CSV export, spreadsheet |
| Compare libraries | packages, includeDownloads | Package row | downloads.lastMonth, latestReleaseAt, requiresPython, releasesCount | Dataset API |
| Release history | packages, mode = releases | Release row | version, uploadedAt, yanked, hasWheel | CSV export |
| Watch for new releases | packages, onlyNew, stateName, Apify schedule | Package or release row | newVersions, previousVersion, isNew | Slack or Notion summary, webhook |
| Check a maintainer's projects | maintainers | Package row | name, maintainerRole, version, abandonmentSignals | Dataset 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 inRUN_SUMMARYsays how many were left out.maintainers(up to 20 users),topPackagesand 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 anerrorrow (SOURCE_TOO_LARGE, free). The biggest PyPI projects today are about 41 MB. If 8 packages in a row fail (notnot_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
partialanddownloadsisnull. 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
| Situation | Status starts with | Run 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 aborted | Aborted, the rows already saved stay |
| Input error | Input error: | Succeeded, no rows, the message names the field and gives an example |
| Platform migration | no special status | The 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.
{
"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.
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 -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}'# 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)
| Field | Type | Meaning |
|---|---|---|
recordType | string | package: one row per PyPI project; release: one row per release (Output = One row per release). |
input | string | The entry as you typed it, or "maintainer:<user>", "top:<rank>", "dependency of <name>" for added packages. |
status | string | complete: 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. |
name | string | Project name as PyPI shows it. null when not found or invalid. |
normalizedName | string | PEP 503 normalized name (lowercase, runs of -_. replaced by -). |
version | string | Checked version: the latest one, or the version you pinned with name==version. In release rows, the release version. |
latestVersion | string | Latest version on PyPI (what pip install <name> installs without a pin, ignoring pre-releases). |
isLatest | boolean | true when version is the latest version. |
summary | string | One-line summary from the package metadata. |
license | string | License: SPDX license_expression if set, else the short license field, else the License classifier. null when the package declares none. |
licenseSource | string | Which metadata field license came from. |
author | string | Author name only (e-mail addresses are never output). |
maintainer | string | Maintainer name only (e-mail addresses are never output). |
owners | array | Owner and maintainer PyPI usernames with role. Filled for packages found through PyPI users; otherwise empty. |
homepage | string | Homepage link from project URLs. |
repositoryUrl | string | Source code link (GitHub, GitLab and others) from project URLs. |
documentationUrl | string | Documentation link from project URLs. |
changelogUrl | string | Changelog or release notes link from project URLs. |
issuesUrl | string | Issue tracker link from project URLs. |
projectUrls | object | All project URLs as the package declares them (label → link). |
requiresPython | string | Python versions the package supports (Requires-Python), e.g. ">=3.9". |
requiresDist | array | Dependency specifiers as declared (Requires-Dist), including optional extras. |
dependencies | array | Names of required dependencies (extras excluded), normalized. |
dependenciesCount | integer | Number of required dependencies. |
providesExtra | array | Optional extras the package offers (pip install name[extra]). |
classifiers | array | Trove classifiers. |
keywords | array | Keywords from the package metadata. |
developmentStatus | string | Development status from the classifiers, e.g. "5 - Production/Stable". |
firstReleaseAt | string | Upload time of the first release with files (ISO 8601). |
latestReleaseAt | string | Upload time of the newest release with files (ISO 8601). |
daysSinceLastRelease | integer | Days since latestReleaseAt. |
releasesCount | integer | Number of releases that have files (empty releases are not counted). |
versionFilesCount | integer | Number of files (wheels and sdists) in the checked version. |
hasWheel | boolean | true when the checked version (or release) has at least one wheel. |
yanked | boolean | true when the checked version (or release) is yanked on PyPI. |
yankedReason | string | Reason given for the yank, if any. |
abandonmentSignals | array | Hints that the project may be unmaintained: no_release_2y, inactive_classifier (Development Status 7), all_versions_yanked, project_archived / project_deprecated / project_quarantined. |
projectStatus | string | Project status from the PyPI Simple API: active, archived, deprecated or quarantined (Include project status). null when not requested. |
vulnerabilities | array | Known vulnerabilities of the checked version from the OSV data PyPI returns. null when not requested; [] when none known. |
vulnerabilitiesCount | integer | Number 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.
| Setting | Name in the API | Type | Example value |
|---|---|---|---|
| Packages | packages | array | ["requests", "numpy", "this-package-does-not-exist-xyz-123"] |
| PyPI users (optional) | maintainers | array | |
| Most-downloaded projects (optional) | topPackages | integer | 0 |
| Output | mode | string | "metadata" |
| Include downloads | includeDownloads | boolean | true |
| Minimum downloads last month | minDownloadsLastMonth | integer | 0 |
| Include known vulnerabilities | includeVulnerabilities | boolean | true |
| Include release list in each row | includeReleases | boolean | false |
| Releases per package | maxReleasesPerPackage | integer | 20 |
| Include pre-releases | includePrereleases | boolean | false |
| Include project status | includeProjectStatus | boolean | false |
| Dependency tree depth | dependencyDepth | integer | 0 |
| Only new releases | onlyNew | boolean | false |
| State name | stateName | string | |
| Max rows | maxResults | integer | 1000 |
| Send results to (optional) | deliveryConnector | string | |
| Notion page or channel (optional) | deliveryTarget | string | |
| Include README text | includeDescription | boolean | false |