Skip to main content
All providers

npm Registry

Developer

registry.npmjs.org

Package metadata from the public npm registry: every published version, dist-tags, maintainers, dependencies and weekly download counts.

Capabilities (21)

GET /v1/data/npm/collaborators1 credit

Returns the npm usernames with publish rights on an unscoped package, each mapped to its permission level.

package
GET /v1/data/npm/collaborators-scoped1 credit

Returns the npm usernames with publish rights on a scoped package, each mapped to its permission level.

scopepackage
GET /v1/data/npm/dist-tags1 credit

Returns the tag-to-version map for an unscoped package, such as latest, next and any maintenance tags the publisher keeps.

package
GET /v1/data/npm/dist-tags-scoped1 credit

Returns the tag-to-version map for a scoped package, such as latest, next and any release-line tags.

scopepackage
GET /v1/data/npm/downloads1 credit

Returns a single total download count for the package over one period, with the resolved start and end dates.

periodname
GET /v1/data/npm/downloads-by-version1 credit

Returns last week's download count broken down by each published version of an unscoped package.

package
GET /v1/data/npm/downloads-by-version-scoped1 credit

Returns last week's download count broken down by each published version of a scoped package.

scopepackage
GET /v1/data/npm/downloads-point1 credit

Returns the total download count for an unscoped package over one period, with the exact start and end dates it covers.

periodpackage
GET /v1/data/npm/downloads-point-scoped1 credit

Returns the total download count for a scoped package over one period, with the start and end dates it covers.

periodscopepackage
GET /v1/data/npm/downloads-range1 credit

Returns a day-by-day download series for an unscoped package across the requested period.

periodpackage
GET /v1/data/npm/downloads-range-scoped1 credit

Returns a day-by-day download series for a scoped package across the requested period.

periodscopepackage
GET /v1/data/npm/downloads-registry-total1 credit

Returns the total number of package downloads served by the whole npm registry over one period.

period
GET /v1/data/npm/org-packages1 credit

Returns every package owned by an npm organisation scope, each mapped to the access level the organisation holds on it.

org
GET /v1/data/npm/package1 credit

Returns the full packument for an unscoped package: every published version with its manifest, dist-tags, maintainers, repository, time stamps and README.

package
GET /v1/data/npm/package-scoped1 credit

Returns the full packument for a scoped package (@scope/name): every published version with its manifest, dist-tags, maintainers and time stamps.

scopepackage
GET /v1/data/npm/search1 credit

Searches the registry and returns ranked packages with name, version, description, keywords, publisher, links, weekly and monthly downloads and dependent counts.

textsize?from?quality?popularity?maintenance?
GET /v1/data/npm/signing-keys1 credit

Returns the public ECDSA keys npm uses to sign package metadata and attestations, with key ids and validity windows.

No parameters
GET /v1/data/npm/user-packages1 credit

Returns every package an npm user has maintainer rights on, each mapped to that user's permission level.

user
GET /v1/data/npm/version1 credit

Returns the package.json manifest of one release of an unscoped package: dependencies, engines, bin, exports, dist integrity hash and tarball URL.

packageversion
GET /v1/data/npm/version-downloads1 credit

Returns last week's download count broken down per published version of the package.

name
GET /v1/data/npm/version-scoped1 credit

Returns the package.json manifest of one release of a scoped package, including dependencies, exports and the tarball integrity hash.

scopepackageversion

Licence

You may replicate data from the Public Registry using the Public APIs per this Agreement.

https://docs.npmjs.com/policies/open-source-terms

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: npm registry

Cache: up to 3600s