All integrations
Get an API key
npm
Package metadata, versions and download counts from the npm registry.
Developer
How an agent reaches it
MCPREST APICLI
How you authenticate
No credential needed
API key
Connection details
- Base URL
- https://registry.npmjs.org
- Pagination
- none
Common endpoints
| package metadata | GET /{package} |
| one version | GET /{package}/{version} |
| download counts | GET https://api.npmjs.org/downloads/point/last-week/{package} |
Worth knowing
- Reads need no credential at all. Only publishing and private packages do.
- Scoped package names must be URL-encoded: `@scope%2Fname`.