npm, PyPI & Crates.io Package Health Checker avatar

npm, PyPI & Crates.io Package Health Checker

Pricing

from $0.48 / 1,000 results

Go to Apify Store
npm, PyPI & Crates.io Package Health Checker

npm, PyPI & Crates.io Package Health Checker

Package health checker for npm, PyPI and Crates.io — deprecation, last publish date, licence, weekly downloads, maintainers, GitHub stars and a 0-100 health score, one row per package.

Pricing

from $0.48 / 1,000 results

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

From $0.48 per 1,000 packages (FREE plan $0.80 per 1,000). Checks npm, PyPI and crates.io packages for latest version, deprecation, licence, maintenance and GitHub activity, one row per package.

What is npm, PyPI & Crates.io Package Health Checker?

npm, PyPI & Crates.io Package Health Checker is an Apify Actor that answers the question every dependency review starts with: is this package still alive? Give it a list of packages — npm:react, pypi:requests, crates:serde — and it returns one clean row per package with the deprecation status, last publish date, release cadence, licence, weekly downloads, maintainer count, GitHub stars and archive flag, plus a 0-100 health score and an A-F grade.

It reads the official public registry APIs (registry.npmjs.org, pypi.org, crates.io) and the GitHub REST API. No API key, no proxy, no browser, no anti-bot handling — so a 1,000-package lock file costs a few cents of compute and finishes in minutes.

What data does Package Health Checker extract?

Package Health Checker extracts the maintenance and licence signals that decide whether a dependency is safe to keep:

FieldTypeDescription
packagestringThe reference you entered, e.g. npm:react
registrystringnpm, pypi or crates
name / descriptionstringCanonical name and one-line description
latestVersionstringLatest published version
latestPublishedAtstringISO date of the latest release
daysSinceLastPublishnumberStaleness in days
firstPublishedAt / packageAgeDaysstring/numberFirst release, age in days
versionCountnumberTotal published versions
releasesLast12MonthsnumberReleases in the trailing 365 days
licensestringLicence identifier, e.g. MIT, MIT OR Apache-2.0
isDeprecatedbooleannpm deprecation, or a yanked PyPI/crates.io release
deprecationMessagestringThe maintainer's deprecation note
weeklyDownloadsnumberWeekly download volume
maintainerCountnumbernpm maintainers (null on PyPI and crates.io)
homepage / repositoryUrlstringProject and source URLs
githubobjectstars, forks, openIssues, archived, lastPushAt, license
riskFlagsarraydeprecated, no-license, stale-18-months, stale-36-months, archived-repo, single-maintainer, low-downloads, no-repository
healthScore / healthGradenumber/string0-100 and A-F
osvVersionstringThe version OSV was asked about: the exact version you pinned (requests==2.19.0, npm:lodash@4.17.15), otherwise latestVersion
vulnerabilityCountnumberKnown advisories (OSV.dev: GHSA, CVE, PYSEC, RUSTSEC, ...) that affect osvVersion. 0 = none found
highestSeveritystringWorst advisory severity: CRITICAL, HIGH, MODERATE, LOW or UNKNOWN (no registry severity label). null when the count is 0 or unknown
vulnerabilityIdsarrayFirst 20 advisory IDs, e.g. GHSA-35jh-r3h4-6jhm, PYSEC-2026-141
osvTruncatedbooleantrue when OSV paginated, so vulnerabilityCount is a lower bound
osvCheckedAt / osvErrorstringWhen OSV answered, or why the vulnerability fields are null
error / githubError / scrapedAtstringPer-row failure reasons and timestamp

How to use Package Health Checker

  1. Paste your packages into Packages, one per row, prefixed with the registry: npm:react, pypi:requests, crates:serde. Bare names such as react or @scope/name use Default registry; full registry URLs work too.
  2. Leave Enrich with GitHub data on for stars, forks and the archived flag. For lists longer than ~50 packages, paste a GitHub token — anonymous GitHub calls are capped at 60 per hour.
  3. Click Start, then download the results as JSON, CSV, Excel or HTML, or pull them from the dataset API.

Example input

{
"packages": ["npm:react", "npm:request", "pypi:requests", "crates:serde", "npm:left-pad"],
"defaultRegistry": "npm",
"enrichGithub": true,
"maxConcurrency": 5
}

Example output

{
"package": "npm:left-pad",
"registry": "npm",
"name": "left-pad",
"latestVersion": "1.3.0",
"latestPublishedAt": "2018-04-09T01:10:45.796Z",
"daysSinceLastPublish": 3078,
"releasesLast12Months": 0,
"license": "WTFPL",
"isDeprecated": true,
"deprecationMessage": "use String.prototype.padStart()",
"weeklyDownloads": 1154291,
"maintainerCount": 2,
"repositoryUrl": "https://github.com/stevemao/left-pad",
"github": { "stars": 1303, "forks": 139, "openIssues": 10, "archived": true, "lastPushAt": "2019-04-19T14:16:20.000Z" },
"riskFlags": ["deprecated", "stale-36-months", "archived-repo"],
"healthScore": 0,
"healthGrade": "F",
"vulnerabilityCount": 0,
"highestSeverity": null,
"vulnerabilityIds": [],
"osvTruncated": false,
"osvCheckedAt": "2026-09-12T15:48:09.512Z",
"osvError": null,
"scrapedAt": "2026-09-12T15:48:10.000Z"
}

Input parameters

ParameterTypeDefaultDescription
packagesarray["react"]Packages to check, one row each
defaultRegistrystringnpmRegistry for bare names (npm, pypi, crates)
enrichGithubbooleantrueAdd GitHub stars, forks, issues, archived flag
githubTokenstring (secret)noneRaises the GitHub limit from 60 to 5,000 requests/hour
maxConcurrencyinteger5Parallel lookups (1-20)

Pricing: cost per 1,000 packages

Apify plan tierPrice per 1,000 packages
FREE$0.80
BRONZE$0.64
SILVER$0.56
GOLD, PLATINUM, DIAMOND$0.48

Only successfully checked packages are billed. Packages that fail (typo, private package, unsupported registry) go to the ERRORS record and cost nothing. Price source: the Actor's pricingInfos record (read 29 Nov 2026).

Package Health Checker uses pay-per-event pricing: $0.0008 per package row on the FREE plan ($0.80 per 1,000 packages; $0.48 on GOLD and above), plus a negligible $0.00005 actor-start fee, with platform usage included. A 500-dependency audit therefore costs about $0.40 on the FREE plan. Set Maximum cost per run to cap spend — the Actor trims the list to what the budget covers instead of overrunning it.

Package Health Checker vs. Snyk Advisor and Socket

Snyk Advisor and Socket give you one beautifully rendered page per package, in a browser, one at a time. Package Health Checker gives you 500 packages as a spreadsheet in one run, on demand or on a schedule, with the same underlying registry facts and a score you can sort and filter. It is complementary rather than competing: this Actor covers maintenance, licence and popularity risk, plus a count of known advisories from the free public OSV.dev database. It does not run malware behaviour analysis. Advisories are checked for the exact version you pin (requests==2.19.0, lodash@4.17.20), otherwise for the latest release.

Package Health Checker vs. other package checkers

Compared on 29 Nov 2026 from each Actor's public Store page and pricing record. Rival facts are "documented" (from their README or pricing record), not measured runs.

This Actorsomepineapple/package-health-checkeraccommodating_aptitude/npm-package-healthtudorlane/package-health
Price unitsuccessfully checked packagepackage checkedpackage checkedpackage version checked
Price per 1,000 (FREE / GOLD)$0.80 / $0.48$2.00 / $2.00$2.00 / $2.00$1.00 / $0.70
Registriesnpm, PyPI, crates.ionpm, PyPI and others (documented)npm only (documented)npm, PyPI, Go, Maven, Cargo, NuGet, RubyGems
Deprecation, last release, licenceyesyes (documented)yes (documented)yes (documented)
Known vulnerabilities (CVE/GHSA)yes, count and IDs for the pinned or latest release (OSV.dev, free)yes, for the checked version (documented)not documentedyes, with CVSS (documented)
OpenSSF Scorecardnonot documentednot documentedyes (documented)
GitHub stars, forks, archived flagyesnot documentednot documentedrepo stars (documented)
Download countsweekly, npm and PyPInot documentedweekly and trend (documented)not documented

Where a rival documents a feature we lack, we say so: tudorlane ($1.00 FREE to $0.70 GOLD per package version checked) reports known vulnerabilities with CVSS and OpenSSF scores. This Actor reports the advisory count, IDs and highest severity from OSV.dev for the pinned or latest release, but not CVSS scores or OpenSSF scores.

Limitations

  • Vulnerability data checks the exact version you pin with == (PyPI) or @ (npm, crates), otherwise the latest release. Version ranges such as react@^18 are not exact, so they check the latest release. Run one row per lockfile version to audit a project.
  • OSV has no CVSS number in this output: highestSeverity uses the registry label (GHSA). PYSEC and similar advisories without a label count as UNKNOWN.
  • Vulnerability fields come from OSV.dev. If OSV is slow or unreachable, they are null and osvError says why; the rest of the row is still complete.
  • No OpenSSF Scorecard or malware data.
  • Three registries only: npm, PyPI and crates.io.
  • Maintainer counts exist for npm only.
  • GitHub data depends on the anonymous rate limit (60 requests per hour) unless you add a GitHub token.

Errors and run outcome

Every run writes an OUTPUT record (results, errorCode, failedPackages, timeLimitedPackages) and, when something went wrong, an ERRORS list. Failed or skipped packages are never billed.

errorCodeRun statusMeaningWhat to do
OKSUCCEEDEDEvery package was checked—
PARTIALSUCCEEDEDSome packages are in ERRORS (not found, registry error)Check the names in ERRORS
NOT_FOUNDSUCCEEDEDNo package exists under the names givenFix typos or the registry prefix
INVALID_INPUTSUCCEEDEDThe input is empty or does not match the schemaUse npm:react, pypi:requests or crates:serde
TIME_LIMITSUCCEEDEDThe run timeout came first; unchecked packages are freeRaise the timeout or split the list
CHARGE_LIMITSUCCEEDEDMaximum cost per run covered only part of the listRaise Maximum cost per run
SOURCE_FAILEDFAILEDA registry refused or failed every lookupRetry later; nothing was billed

Run package-health-checker from JavaScript, Python and the command line

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('webdatatools/package-health-checker').call({ packages: ['npm:react', 'pypi:requests'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("webdatatools/package-health-checker").call(run_input={"packages":["npm:react","pypi:requests"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Command line (Apify CLI, npm install -g apify-cli, then apify login):

$apify call webdatatools/package-health-checker --input='{"packages":["npm:react","pypi:requests"]}'

Using Package Health Checker with AI agents and MCP

Package Health Checker runs on pay-per-event pricing with limited permissions — the two requirements for an Actor to be callable through the Apify MCP server at mcp.apify.com. An agent reviewing a package.json, requirements.txt or Cargo.toml passes the dependency names as packages and gets back a scored row per dependency, ready to summarise. It also connects through n8n, Make, Zapier and LangChain via Apify's integrations.

FAQ

How is the health score calculated? Every package starts at 100 and loses points per risk flag: deprecated -50, archived repository -40, no release in 36 months -30 (18 months -15), no licence -15, no repository -10, fewer than 100 weekly downloads -10, a single npm maintainer -5. The score floors at 0. Grades: A >= 85, B >= 70, C >= 50, D >= 30, otherwise F.

Where do the download numbers come from? npm's own api.npmjs.org last-week endpoint, pypistats.org for PyPI, and crates.io's trailing-90-day figure divided by 13 for Rust crates. pypistats.org rate-limits aggressively; when it answers 429 the row keeps weeklyDownloads: null instead of failing.

Why is maintainerCount empty for Python and Rust packages? Only npm publishes the maintainer list in its public metadata. PyPI and crates.io do not, so the field is null and the single-maintainer flag never fires for them.

Does it detect vulnerabilities or CVEs? Partly. It adds the advisory count, IDs and highest severity from OSV.dev for an exact version you pin, or for the latest release (vulnerabilityCount, vulnerabilityIds, highestSeverity). It does not score CVSS, does not evaluate version ranges and does not analyse malware. Use it alongside a full scanner for lockfile audits.

Does a package that is missing fail the whole run? No. A typo, a private package or an unsupported registry is listed in the ERRORS record of the run's key-value store with the reason, is not billed, and the other packages are checked normally.

What happens if the run hits its timeout? Packages that cannot be checked before the run's timeout are skipped and not billed. Every finished row is saved, the run ends SUCCEEDED, and OUTPUT.errorCode is TIME_LIMIT with timeLimitedPackages set. Raise the timeout or split the list.

Is this legal to run? Yes — it reads public registry metadata through official APIs and collects no personal data beyond the maintainer usernames npm already publishes.

Can I export to CSV or push results into my own tools? Yes. Download JSON, CSV, Excel or HTML from the Output tab, hit the dataset API, or wire the run into n8n, Make, Zapier, Slack or Google Sheets through Apify's integrations.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

Want a weekly digest for every package in your project instead of a one-off lookup? Package Health is in early access: a weekly summary of deprecations, release age, licence, maintainer count and GitHub activity for your npm, PyPI and crates.io packages, with a health grade. You can join the free early access list now; no card is required.

Support and feedback

Missing a registry, a risk flag or a field? Open an issue on the Issues tab.

If the Actor saved you time, a short review on its Store page helps other developers find it.