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

Response example

The shape of data from npm/collaborators (Package collaborators). A sample, not live data.

JSON
{
  "wesleytodd": "write",
  "jonchurch": "write",
  "ctcpip": "write",
  "ulisesgascon": "write",
  "sheplu": "write"
}

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Package collaborators

    Use npm Registry (npm) from fastCRW Pergamon, capability "Package collaborators" (collaborators). You want to know who can publish an unscoped package - its current owners rather than its historical authors. Example options: package=express. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "npm" and capability "collaborators". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Scoped package collaborators

    Use npm Registry (npm) from fastCRW Pergamon, capability "Scoped package collaborators" (collaborators-scoped). You want to know who can publish a scoped package like @babel/core. Example options: scope=babel, package=core. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "npm" and capability "collaborators-scoped". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Package dist-tags

    Use npm Registry (npm) from fastCRW Pergamon, capability "Package dist-tags" (dist-tags). You only need to know which version a tag like latest or next currently points at. Example options: package=express. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "npm" and capability "dist-tags". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Scoped package dist-tags

    Use npm Registry (npm) from fastCRW Pergamon, capability "Scoped package dist-tags" (dist-tags-scoped). You need the current version behind a tag for a scoped package like @babel/core. Example options: scope=babel, package=core. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "npm" and capability "dist-tags-scoped". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

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