npm & PyPI Package Data API: Versions, License, Downloads avatar

npm & PyPI Package Data API: Versions, License, Downloads

Pricing

from $0.20 / 1,000 package rows

Go to Apify Store
npm & PyPI Package Data API: Versions, License, Downloads

npm & PyPI Package Data API: Versions, License, Downloads

Look up npm and PyPI packages via the official public registry JSON APIs: latest version, license, repo links, publish dates and npm download counts. No author or maintainer emails.

Pricing

from $0.20 / 1,000 package rows

Rating

0.0

(0)

Developer

Lepi Data

Lepi Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Features

Limited permissions

Share

What it does. Looks up npm and PyPI packages through the official public registry JSON APIs and returns one row per package: latest version, license, description, keywords, homepage, repository and issue links, version count, dependency count, publish dates and (npm) weekly/monthly downloads.

Input

  • packages: names, one per line; prefix npm: or pypi: per name, or set ecosystem (npm, pypi, both). Scoped npm names (@types/node) work.
  • includeDownloads (default on): npm download counts from api.npmjs.org.
  • maxItems: up to 5,000.

Output fields ecosystem, name, latestVersion, description, license, keywords, homepage, repositoryUrl, bugsUrl, versionsCount, dependenciesCount, requiresPython, nodeEngine, deprecated, createdAt, latestPublishedAt, modifiedAt, downloadsLastWeek, downloadsLastMonth, packageUrl Free status rows (not charged): no-results (package not found), invalid-input, api-error, free-plan-limit, charge-limit-reached. PyPI's JSON API publishes no download counts, so download fields are empty for PyPI rows.

Example (the build's prefill): {"packages":["npm:lodash","pypi:requests"]}

Data source and compliance

  • Data from the npm public registry (registry.npmjs.org, api.npmjs.org) and the Python Package Index JSON API (pypi.org). Official JSON APIs only; no website pages are scraped.
  • Privacy: author and maintainer names and email addresses are dropped entirely. Only a fixed list of package fields is returned.
  • Independent Lepi Data tool, not affiliated with or endorsed by npm, Inc., GitHub, the Python Software Foundation or PyPI. No logos are used. npm is a trademark of npm, Inc.; "PyPI" and "Python" are trademarks of the PSF.
  • About one request per second, with back-off on errors.
  • Free-plan accounts get up to 100 results per run.

Pricing. Pay per package row, flat on every plan, no start fee. Free status rows are never charged.